Struct aws_sdk_route53resolver::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for Amazon Route 53 Resolver
Client for invoking operations on Amazon Route 53 Resolver. Each operation on Amazon Route 53 Resolver is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_route53resolver::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_route53resolver::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_route53resolver::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn associate_firewall_rule_group(&self) -> AssociateFirewallRuleGroup
pub fn associate_firewall_rule_group(&self) -> AssociateFirewallRuleGroup
Constructs a fluent builder for the AssociateFirewallRuleGroup
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:The unique identifier of the VPC that you want to associate with the rule group.
priority(i32)
/set_priority(Option<i32>)
:The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for
Priority
are between 100 and 9900.name(impl Into<String>)
/set_name(Option<String>)
:A name that lets you identify the association, to manage and use it.
mutation_protection(MutationProtectionStatus)
/set_mutation_protection(Option<MutationProtectionStatus>)
:If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is
DISABLED
.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the rule group association.
- On success, responds with
AssociateFirewallRuleGroupOutput
with field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>)
:The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.
- On failure, responds with
SdkError<AssociateFirewallRuleGroupError>
sourcepub fn associate_resolver_endpoint_ip_address(
&self
) -> AssociateResolverEndpointIpAddress
pub fn associate_resolver_endpoint_ip_address(
&self
) -> AssociateResolverEndpointIpAddress
Constructs a fluent builder for the AssociateResolverEndpointIpAddress
operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to associate IP addresses with.
ip_address(IpAddressUpdate)
/set_ip_address(Option<IpAddressUpdate>)
:Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
- On success, responds with
AssociateResolverEndpointIpAddressOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:The response to an
AssociateResolverEndpointIpAddress
request.
- On failure, responds with
SdkError<AssociateResolverEndpointIpAddressError>
sourcepub fn associate_resolver_query_log_config(
&self
) -> AssociateResolverQueryLogConfig
pub fn associate_resolver_query_log_config(
&self
) -> AssociateResolverQueryLogConfig
Constructs a fluent builder for the AssociateResolverQueryLogConfig
operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)
/set_resolver_query_log_config_id(Option<String>)
:The ID of the query logging configuration that you want to associate a VPC with.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
- On success, responds with
AssociateResolverQueryLogConfigOutput
with field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>)
:A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.
- On failure, responds with
SdkError<AssociateResolverQueryLogConfigError>
sourcepub fn associate_resolver_rule(&self) -> AssociateResolverRule
pub fn associate_resolver_rule(&self) -> AssociateResolverRule
Constructs a fluent builder for the AssociateResolverRule
operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)
/set_resolver_rule_id(Option<String>)
:The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
name(impl Into<String>)
/set_name(Option<String>)
:A name for the association that you’re creating between a Resolver rule and a VPC.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:The ID of the VPC that you want to associate the Resolver rule with.
- On success, responds with
AssociateResolverRuleOutput
with field(s):resolver_rule_association(Option<ResolverRuleAssociation>)
:Information about the
AssociateResolverRule
request, including the status of the request.
- On failure, responds with
SdkError<AssociateResolverRuleError>
sourcepub fn create_firewall_domain_list(&self) -> CreateFirewallDomainList
pub fn create_firewall_domain_list(&self) -> CreateFirewallDomainList
Constructs a fluent builder for the CreateFirewallDomainList
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.name(impl Into<String>)
/set_name(Option<String>)
:A name that lets you identify the domain list to manage and use it.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the domain list.
- On success, responds with
CreateFirewallDomainListOutput
with field(s):firewall_domain_list(Option<FirewallDomainList>)
:The domain list that you just created.
- On failure, responds with
SdkError<CreateFirewallDomainListError>
sourcepub fn create_firewall_rule(&self) -> CreateFirewallRule
pub fn create_firewall_rule(&self) -> CreateFirewallRule
Constructs a fluent builder for the CreateFirewallRule
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group where you want to create the rule.
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list that you want to use in the rule.
priority(i32)
/set_priority(Option<i32>)
:The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
action(Action)
/set_action(Option<Action>)
:The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW
- Permit the request to go through. -
ALERT
- Permit the request and send metrics and logs to Cloud Watch. -
BLOCK
- Disallow the request. This option requires additional details in the rule’sBlockResponse
.
-
block_response(BlockResponse)
/set_block_response(Option<BlockResponse>)
:The way that you want DNS Firewall to block the request, used with the rule action setting
BLOCK
.-
NODATA
- Respond indicating that the query was successful, but no response is available for it. -
NXDOMAIN
- Respond indicating that the domain name that’s in the query doesn’t exist. -
OVERRIDE
- Provide a custom override in the response. This option requires custom handling details in the rule’sBlockOverride*
settings.
This setting is required if the rule action setting is
BLOCK
.-
block_override_domain(impl Into<String>)
/set_block_override_domain(Option<String>)
:The custom DNS record to send back in response to the query. Used for the rule action
BLOCK
with aBlockResponse
setting ofOVERRIDE
.This setting is required if the
BlockResponse
setting isOVERRIDE
.block_override_dns_type(BlockOverrideDnsType)
/set_block_override_dns_type(Option<BlockOverrideDnsType>)
:The DNS record’s type. This determines the format of the record value that you provided in
BlockOverrideDomain
. Used for the rule actionBLOCK
with aBlockResponse
setting ofOVERRIDE
.This setting is required if the
BlockResponse
setting isOVERRIDE
.block_override_ttl(i32)
/set_block_override_ttl(Option<i32>)
:The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action
BLOCK
with aBlockResponse
setting ofOVERRIDE
.This setting is required if the
BlockResponse
setting isOVERRIDE
.name(impl Into<String>)
/set_name(Option<String>)
:A name that lets you identify the rule in the rule group.
- On success, responds with
CreateFirewallRuleOutput
with field(s):firewall_rule(Option<FirewallRule>)
:The firewall rule that you just created.
- On failure, responds with
SdkError<CreateFirewallRuleError>
sourcepub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroup
pub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroup
Constructs a fluent builder for the CreateFirewallRuleGroup
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
name(impl Into<String>)
/set_name(Option<String>)
:A name that lets you identify the rule group, to manage and use it.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the rule group.
- On success, responds with
CreateFirewallRuleGroupOutput
with field(s):firewall_rule_group(Option<FirewallRuleGroup>)
:A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<CreateFirewallRuleGroupError>
sourcepub fn create_resolver_endpoint(&self) -> CreateResolverEndpoint
pub fn create_resolver_endpoint(&self) -> CreateResolverEndpoint
Constructs a fluent builder for the CreateResolverEndpoint
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.name(impl Into<String>)
/set_name(Option<String>)
:A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
security_group_ids(Vec<String>)
/set_security_group_ids(Option<Vec<String>>)
:The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you’re using for DNS queries on your network.
direction(ResolverEndpointDirection)
/set_direction(Option<ResolverEndpointDirection>)
:Specify the applicable value:
-
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your network -
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your network
-
ip_addresses(Vec<IpAddressRequest>)
/set_ip_addresses(Option<Vec<IpAddressRequest>>)
:The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the endpoint.
- On success, responds with
CreateResolverEndpointOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:Information about the
CreateResolverEndpoint
request, including the status of the request.
- On failure, responds with
SdkError<CreateResolverEndpointError>
sourcepub fn create_resolver_query_log_config(&self) -> CreateResolverQueryLogConfig
pub fn create_resolver_query_log_config(&self) -> CreateResolverQueryLogConfig
Constructs a fluent builder for the CreateResolverQueryLogConfig
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:The name that you want to give the query logging configuration.
destination_arn(impl Into<String>)
/set_destination_arn(Option<String>)
:The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
-
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
-
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
-
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
-
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the query logging configuration.
- On success, responds with
CreateResolverQueryLogConfigOutput
with field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>)
:Information about the
CreateResolverQueryLogConfig
request, including the status of the request.
- On failure, responds with
SdkError<CreateResolverQueryLogConfigError>
sourcepub fn create_resolver_rule(&self) -> CreateResolverRule
pub fn create_resolver_rule(&self) -> CreateResolverRule
Constructs a fluent builder for the CreateResolverRule
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.name(impl Into<String>)
/set_name(Option<String>)
:A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
rule_type(RuleTypeOption)
/set_rule_type(Option<RuleTypeOption>)
:When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify
SYSTEM
.For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARD
forRuleType
. To then have Resolver process queries for apex.example.com, you create a rule and specifySYSTEM
forRuleType
.Currently, only Resolver can create rules that have a value of
RECURSIVE
forRuleType
.domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps
. If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com).target_ips(Vec<TargetAddress>)
/set_target_ips(Option<Vec<TargetAddress>>)
:The IPs that you want Resolver to forward DNS queries to. You can specify only IPv4 addresses. Separate IP addresses with a space.
TargetIps
is available only when the value ofRule type
isFORWARD
.resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in
TargetIps
.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A list of the tag keys and values that you want to associate with the endpoint.
- On success, responds with
CreateResolverRuleOutput
with field(s):resolver_rule(Option<ResolverRule>)
:Information about the
CreateResolverRule
request, including the status of the request.
- On failure, responds with
SdkError<CreateResolverRuleError>
sourcepub fn delete_firewall_domain_list(&self) -> DeleteFirewallDomainList
pub fn delete_firewall_domain_list(&self) -> DeleteFirewallDomainList
Constructs a fluent builder for the DeleteFirewallDomainList
operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list that you want to delete.
- On success, responds with
DeleteFirewallDomainListOutput
with field(s):firewall_domain_list(Option<FirewallDomainList>)
:The domain list that you just deleted.
- On failure, responds with
SdkError<DeleteFirewallDomainListError>
sourcepub fn delete_firewall_rule(&self) -> DeleteFirewallRule
pub fn delete_firewall_rule(&self) -> DeleteFirewallRule
Constructs a fluent builder for the DeleteFirewallRule
operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group that you want to delete the rule from.
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list that’s used in the rule.
- On success, responds with
DeleteFirewallRuleOutput
with field(s):firewall_rule(Option<FirewallRule>)
:The specification for the firewall rule that you just deleted.
- On failure, responds with
SdkError<DeleteFirewallRuleError>
sourcepub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroup
pub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroup
Constructs a fluent builder for the DeleteFirewallRuleGroup
operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group that you want to delete.
- On success, responds with
DeleteFirewallRuleGroupOutput
with field(s):firewall_rule_group(Option<FirewallRuleGroup>)
:A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<DeleteFirewallRuleGroupError>
sourcepub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpoint
pub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpoint
Constructs a fluent builder for the DeleteResolverEndpoint
operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to delete.
- On success, responds with
DeleteResolverEndpointOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:Information about the
DeleteResolverEndpoint
request, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverEndpointError>
sourcepub fn delete_resolver_query_log_config(&self) -> DeleteResolverQueryLogConfig
pub fn delete_resolver_query_log_config(&self) -> DeleteResolverQueryLogConfig
Constructs a fluent builder for the DeleteResolverQueryLogConfig
operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)
/set_resolver_query_log_config_id(Option<String>)
:The ID of the query logging configuration that you want to delete.
- On success, responds with
DeleteResolverQueryLogConfigOutput
with field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>)
:Information about the query logging configuration that you deleted, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverQueryLogConfigError>
sourcepub fn delete_resolver_rule(&self) -> DeleteResolverRule
pub fn delete_resolver_rule(&self) -> DeleteResolverRule
Constructs a fluent builder for the DeleteResolverRule
operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)
/set_resolver_rule_id(Option<String>)
:The ID of the Resolver rule that you want to delete.
- On success, responds with
DeleteResolverRuleOutput
with field(s):resolver_rule(Option<ResolverRule>)
:Information about the
DeleteResolverRule
request, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverRuleError>
sourcepub fn disassociate_firewall_rule_group(&self) -> DisassociateFirewallRuleGroup
pub fn disassociate_firewall_rule_group(&self) -> DisassociateFirewallRuleGroup
Constructs a fluent builder for the DisassociateFirewallRuleGroup
operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)
/set_firewall_rule_group_association_id(Option<String>)
:The identifier of the
FirewallRuleGroupAssociation
.
- On success, responds with
DisassociateFirewallRuleGroupOutput
with field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>)
:The firewall rule group association that you just removed.
- On failure, responds with
SdkError<DisassociateFirewallRuleGroupError>
sourcepub fn disassociate_resolver_endpoint_ip_address(
&self
) -> DisassociateResolverEndpointIpAddress
pub fn disassociate_resolver_endpoint_ip_address(
&self
) -> DisassociateResolverEndpointIpAddress
Constructs a fluent builder for the DisassociateResolverEndpointIpAddress
operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to disassociate an IP address from.
ip_address(IpAddressUpdate)
/set_ip_address(Option<IpAddressUpdate>)
:The IPv4 address that you want to remove from a Resolver endpoint.
- On success, responds with
DisassociateResolverEndpointIpAddressOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:The response to an
DisassociateResolverEndpointIpAddress
request.
- On failure, responds with
SdkError<DisassociateResolverEndpointIpAddressError>
sourcepub fn disassociate_resolver_query_log_config(
&self
) -> DisassociateResolverQueryLogConfig
pub fn disassociate_resolver_query_log_config(
&self
) -> DisassociateResolverQueryLogConfig
Constructs a fluent builder for the DisassociateResolverQueryLogConfig
operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)
/set_resolver_query_log_config_id(Option<String>)
:The ID of the query logging configuration that you want to disassociate a specified VPC from.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of the Amazon VPC that you want to disassociate from a specified query logging configuration.
- On success, responds with
DisassociateResolverQueryLogConfigOutput
with field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>)
:A complex type that contains settings for the association that you deleted between an Amazon VPC and a query logging configuration.
- On failure, responds with
SdkError<DisassociateResolverQueryLogConfigError>
sourcepub fn disassociate_resolver_rule(&self) -> DisassociateResolverRule
pub fn disassociate_resolver_rule(&self) -> DisassociateResolverRule
Constructs a fluent builder for the DisassociateResolverRule
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:The ID of the VPC that you want to disassociate the Resolver rule from.
resolver_rule_id(impl Into<String>)
/set_resolver_rule_id(Option<String>)
:The ID of the Resolver rule that you want to disassociate from the specified VPC.
- On success, responds with
DisassociateResolverRuleOutput
with field(s):resolver_rule_association(Option<ResolverRuleAssociation>)
:Information about the
DisassociateResolverRule
request, including the status of the request.
- On failure, responds with
SdkError<DisassociateResolverRuleError>
sourcepub fn get_firewall_config(&self) -> GetFirewallConfig
pub fn get_firewall_config(&self) -> GetFirewallConfig
Constructs a fluent builder for the GetFirewallConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of the VPC from Amazon VPC that the configuration is for.
- On success, responds with
GetFirewallConfigOutput
with field(s):firewall_config(Option<FirewallConfig>)
:Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.
- On failure, responds with
SdkError<GetFirewallConfigError>
sourcepub fn get_firewall_domain_list(&self) -> GetFirewallDomainList
pub fn get_firewall_domain_list(&self) -> GetFirewallDomainList
Constructs a fluent builder for the GetFirewallDomainList
operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list.
- On success, responds with
GetFirewallDomainListOutput
with field(s):firewall_domain_list(Option<FirewallDomainList>)
:The domain list that you requested.
- On failure, responds with
SdkError<GetFirewallDomainListError>
sourcepub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroup
pub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroup
Constructs a fluent builder for the GetFirewallRuleGroup
operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group.
- On success, responds with
GetFirewallRuleGroupOutput
with field(s):firewall_rule_group(Option<FirewallRuleGroup>)
:A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<GetFirewallRuleGroupError>
sourcepub fn get_firewall_rule_group_association(
&self
) -> GetFirewallRuleGroupAssociation
pub fn get_firewall_rule_group_association(
&self
) -> GetFirewallRuleGroupAssociation
Constructs a fluent builder for the GetFirewallRuleGroupAssociation
operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)
/set_firewall_rule_group_association_id(Option<String>)
:The identifier of the
FirewallRuleGroupAssociation
.
- On success, responds with
GetFirewallRuleGroupAssociationOutput
with field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>)
:The association that you requested.
- On failure, responds with
SdkError<GetFirewallRuleGroupAssociationError>
sourcepub fn get_firewall_rule_group_policy(&self) -> GetFirewallRuleGroupPolicy
pub fn get_firewall_rule_group_policy(&self) -> GetFirewallRuleGroupPolicy
Constructs a fluent builder for the GetFirewallRuleGroupPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The ARN (Amazon Resource Name) for the rule group.
- On success, responds with
GetFirewallRuleGroupPolicyOutput
with field(s):firewall_rule_group_policy(Option<String>)
: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).
- On failure, responds with
SdkError<GetFirewallRuleGroupPolicyError>
sourcepub fn get_resolver_config(&self) -> GetResolverConfig
pub fn get_resolver_config(&self) -> GetResolverConfig
Constructs a fluent builder for the GetResolverConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:Resource ID of the Amazon VPC that you want to get information about.
- On success, responds with
GetResolverConfigOutput
with field(s):resolver_config(Option<ResolverConfig>)
:Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the
GetResolverConfig
request.
- On failure, responds with
SdkError<GetResolverConfigError>
sourcepub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfig
pub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfig
Constructs a fluent builder for the GetResolverDnssecConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of the virtual private cloud (VPC) for the DNSSEC validation status.
- On success, responds with
GetResolverDnssecConfigOutput
with field(s):resolver_dnssec_config(Option<ResolverDnssecConfig>)
:The information about a configuration for DNSSEC validation.
- On failure, responds with
SdkError<GetResolverDnssecConfigError>
sourcepub fn get_resolver_endpoint(&self) -> GetResolverEndpoint
pub fn get_resolver_endpoint(&self) -> GetResolverEndpoint
Constructs a fluent builder for the GetResolverEndpoint
operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to get information about.
- On success, responds with
GetResolverEndpointOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:Information about the Resolver endpoint that you specified in a
GetResolverEndpoint
request.
- On failure, responds with
SdkError<GetResolverEndpointError>
sourcepub fn get_resolver_query_log_config(&self) -> GetResolverQueryLogConfig
pub fn get_resolver_query_log_config(&self) -> GetResolverQueryLogConfig
Constructs a fluent builder for the GetResolverQueryLogConfig
operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)
/set_resolver_query_log_config_id(Option<String>)
:The ID of the Resolver query logging configuration that you want to get information about.
- On success, responds with
GetResolverQueryLogConfigOutput
with field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>)
:Information about the Resolver query logging configuration that you specified in a
GetQueryLogConfig
request.
- On failure, responds with
SdkError<GetResolverQueryLogConfigError>
sourcepub fn get_resolver_query_log_config_association(
&self
) -> GetResolverQueryLogConfigAssociation
pub fn get_resolver_query_log_config_association(
&self
) -> GetResolverQueryLogConfigAssociation
Constructs a fluent builder for the GetResolverQueryLogConfigAssociation
operation.
- The fluent builder is configurable:
resolver_query_log_config_association_id(impl Into<String>)
/set_resolver_query_log_config_association_id(Option<String>)
:The ID of the Resolver query logging configuration association that you want to get information about.
- On success, responds with
GetResolverQueryLogConfigAssociationOutput
with field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>)
:Information about the Resolver query logging configuration association that you specified in a
GetQueryLogConfigAssociation
request.
- On failure, responds with
SdkError<GetResolverQueryLogConfigAssociationError>
sourcepub fn get_resolver_query_log_config_policy(
&self
) -> GetResolverQueryLogConfigPolicy
pub fn get_resolver_query_log_config_policy(
&self
) -> GetResolverQueryLogConfigPolicy
Constructs a fluent builder for the GetResolverQueryLogConfigPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The ARN of the query logging configuration that you want to get the query logging policy for.
- On success, responds with
GetResolverQueryLogConfigPolicyOutput
with field(s):resolver_query_log_config_policy(Option<String>)
:Information about the query logging policy for the query logging configuration that you specified in a
GetResolverQueryLogConfigPolicy
request.
- On failure, responds with
SdkError<GetResolverQueryLogConfigPolicyError>
sourcepub fn get_resolver_rule(&self) -> GetResolverRule
pub fn get_resolver_rule(&self) -> GetResolverRule
Constructs a fluent builder for the GetResolverRule
operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)
/set_resolver_rule_id(Option<String>)
:The ID of the Resolver rule that you want to get information about.
- On success, responds with
GetResolverRuleOutput
with field(s):resolver_rule(Option<ResolverRule>)
:Information about the Resolver rule that you specified in a
GetResolverRule
request.
- On failure, responds with
SdkError<GetResolverRuleError>
sourcepub fn get_resolver_rule_association(&self) -> GetResolverRuleAssociation
pub fn get_resolver_rule_association(&self) -> GetResolverRuleAssociation
Constructs a fluent builder for the GetResolverRuleAssociation
operation.
- The fluent builder is configurable:
resolver_rule_association_id(impl Into<String>)
/set_resolver_rule_association_id(Option<String>)
:The ID of the Resolver rule association that you want to get information about.
- On success, responds with
GetResolverRuleAssociationOutput
with field(s):resolver_rule_association(Option<ResolverRuleAssociation>)
:Information about the Resolver rule association that you specified in a
GetResolverRuleAssociation
request.
- On failure, responds with
SdkError<GetResolverRuleAssociationError>
sourcepub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicy
pub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicy
Constructs a fluent builder for the GetResolverRulePolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The ID of the Resolver rule that you want to get the Resolver rule policy for.
- On success, responds with
GetResolverRulePolicyOutput
with field(s):resolver_rule_policy(Option<String>)
:The Resolver rule policy for the rule that you specified in a
GetResolverRulePolicy
request.
- On failure, responds with
SdkError<GetResolverRulePolicyError>
sourcepub fn import_firewall_domains(&self) -> ImportFirewallDomains
pub fn import_firewall_domains(&self) -> ImportFirewallDomains
Constructs a fluent builder for the ImportFirewallDomains
operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list that you want to modify with the import operation.
operation(FirewallDomainImportOperation)
/set_operation(Option<FirewallDomainImportOperation>)
:What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE
, which updates the domain list to exactly match the list in the file.domain_file_url(impl Into<String>)
/set_domain_file_url(Option<String>)
:The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.
The file must be in an S3 bucket that’s in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
- On success, responds with
ImportFirewallDomainsOutput
with field(s):id(Option<String>)
:The Id of the firewall domain list that DNS Firewall just updated.
name(Option<String>)
:The name of the domain list.
status(Option<FirewallDomainListStatus>)
:status_message(Option<String>)
:Additional information about the status of the list, if available.
- On failure, responds with
SdkError<ImportFirewallDomainsError>
sourcepub fn list_firewall_configs(&self) -> ListFirewallConfigs
pub fn list_firewall_configs(&self) -> ListFirewallConfigs
Constructs a fluent builder for the ListFirewallConfigs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallConfigsOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_configs(Option<Vec<FirewallConfig>>)
:The configurations for the firewall behavior provided by DNS Firewall for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
- On failure, responds with
SdkError<ListFirewallConfigsError>
sourcepub fn list_firewall_domain_lists(&self) -> ListFirewallDomainLists
pub fn list_firewall_domain_lists(&self) -> ListFirewallDomainLists
Constructs a fluent builder for the ListFirewallDomainLists
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallDomainListsOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_domain_lists(Option<Vec<FirewallDomainListMetadata>>)
:A list of the domain lists that you have defined.
This might be a partial list of the domain lists that you’ve defined. For information, see
MaxResults
.
- On failure, responds with
SdkError<ListFirewallDomainListsError>
sourcepub fn list_firewall_domains(&self) -> ListFirewallDomains
pub fn list_firewall_domains(&self) -> ListFirewallDomains
Constructs a fluent builder for the ListFirewallDomains
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list whose domains you want to retrieve.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallDomainsOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
domains(Option<Vec<String>>)
:A list of the domains in the firewall domain list.
This might be a partial list of the domains that you’ve defined in the domain list. For information, see
MaxResults
.
- On failure, responds with
SdkError<ListFirewallDomainsError>
sourcepub fn list_firewall_rule_group_associations(
&self
) -> ListFirewallRuleGroupAssociations
pub fn list_firewall_rule_group_associations(
&self
) -> ListFirewallRuleGroupAssociations
Constructs a fluent builder for the ListFirewallRuleGroupAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
priority(i32)
/set_priority(Option<i32>)
:The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
status(FirewallRuleGroupAssociationStatus)
/set_status(Option<FirewallRuleGroupAssociationStatus>)
:The association
Status
setting that you want DNS Firewall to filter on for the list. If you don’t specify this, then DNS Firewall returns all associations, regardless of status.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallRuleGroupAssociationsOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rule_group_associations(Option<Vec<FirewallRuleGroupAssociation>>)
:A list of your firewall rule group associations.
This might be a partial list of the associations that you have defined. For information, see
MaxResults
.
- On failure, responds with
SdkError<ListFirewallRuleGroupAssociationsError>
sourcepub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroups
pub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroups
Constructs a fluent builder for the ListFirewallRuleGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallRuleGroupsOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rule_groups(Option<Vec<FirewallRuleGroupMetadata>>)
:A list of your firewall rule groups.
This might be a partial list of the rule groups that you have defined. For information, see
MaxResults
.
- On failure, responds with
SdkError<ListFirewallRuleGroupsError>
sourcepub fn list_firewall_rules(&self) -> ListFirewallRules
pub fn list_firewall_rules(&self) -> ListFirewallRules
Constructs a fluent builder for the ListFirewallRules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group that you want to retrieve the rules for.
priority(i32)
/set_priority(Option<i32>)
:Optional additional filter for the rules to retrieve.
The setting that determines the processing order of the rules in a rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
action(Action)
/set_action(Option<Action>)
:Optional additional filter for the rules to retrieve.
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW
- Permit the request to go through. -
ALERT
- Permit the request to go through but send an alert to the logs. -
BLOCK
- Disallow the request. If this is specified, additional handling details are provided in the rule’sBlockResponse
setting.
-
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults
, Resolver returns up to 100 objects.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults
. If more objects are available for retrieval, Resolver returns aNextToken
value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
- On success, responds with
ListFirewallRulesOutput
with field(s):next_token(Option<String>)
:If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rules(Option<Vec<FirewallRule>>)
:A list of the rules that you have defined.
This might be a partial list of the firewall rules that you’ve defined. For information, see
MaxResults
.
- On failure, responds with
SdkError<ListFirewallRulesError>
sourcepub fn list_resolver_configs(&self) -> ListResolverConfigs
pub fn list_resolver_configs(&self) -> ListResolverConfigs
Constructs a fluent builder for the ListResolverConfigs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of Resolver configurations that you want to return in the response to a
ListResolverConfigs
request. If you don’t specify a value forMaxResults
, up to 100 Resolver configurations are returned.next_token(impl Into<String>)
/set_next_token(Option<String>)
:(Optional) If the current Amazon Web Services account has more than
MaxResults
Resolver configurations, useNextToken
to get the second and subsequent pages of results.For the first
ListResolverConfigs
request, omit this value.For the second and subsequent requests, get the value of
NextToken
from the previous response and specify that value forNextToken
in the request.
- On success, responds with
ListResolverConfigsOutput
with field(s):next_token(Option<String>)
:If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account,
NextToken
doesn’t appear in the response.If a response doesn’t include the last of the configurations, you can get more configurations by submitting another
ListResolverConfigs
request. Get the value ofNextToken
that Amazon Route 53 returned in the previous response and include it inNextToken
in the next request.resolver_configs(Option<Vec<ResolverConfig>>)
:An array that contains one
ResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<ListResolverConfigsError>
sourcepub fn list_resolver_dnssec_configs(&self) -> ListResolverDnssecConfigs
pub fn list_resolver_dnssec_configs(&self) -> ListResolverDnssecConfigs
Constructs a fluent builder for the ListResolverDnssecConfigs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don’t specify a value for
MaxResults
, Route 53 returns up to 100 configuration per page.next_token(impl Into<String>)
/set_next_token(Option<String>)
:(Optional) If the current Amazon Web Services account has more than
MaxResults
DNSSEC configurations, useNextToken
to get the second and subsequent pages of results.For the first
ListResolverDnssecConfigs
request, omit this value.For the second and subsequent requests, get the value of
NextToken
from the previous response and specify that value forNextToken
in the request.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of objects.
- On success, responds with
ListResolverDnssecConfigsOutput
with field(s):next_token(Option<String>)
:If a response includes the last of the DNSSEC configurations that are associated with the current Amazon Web Services account,
NextToken
doesn’t appear in the response.If a response doesn’t include the last of the configurations, you can get more configurations by submitting another ListResolverDnssecConfigs request. Get the value of
NextToken
that Amazon Route 53 returned in the previous response and include it inNextToken
in the next request.resolver_dnssec_configs(Option<Vec<ResolverDnssecConfig>>)
:An array that contains one ResolverDnssecConfig element for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<ListResolverDnssecConfigsError>
sourcepub fn list_resolver_endpoint_ip_addresses(
&self
) -> ListResolverEndpointIpAddresses
pub fn list_resolver_endpoint_ip_addresses(
&self
) -> ListResolverEndpointIpAddresses
Constructs a fluent builder for the ListResolverEndpointIpAddresses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to get IP addresses for.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of IP addresses that you want to return in the response to a
ListResolverEndpointIpAddresses
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 IP addresses.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverEndpointIpAddresses
request, omit this value.If the specified Resolver endpoint has more than
MaxResults
IP addresses, you can submit anotherListResolverEndpointIpAddresses
request to get the next group of IP addresses. In the next request, specify the value ofNextToken
from the previous response.
- On success, responds with
ListResolverEndpointIpAddressesOutput
with field(s):next_token(Option<String>)
:If the specified endpoint has more than
MaxResults
IP addresses, you can submit anotherListResolverEndpointIpAddresses
request to get the next group of IP addresses. In the next request, specify the value ofNextToken
from the previous response.max_results(Option<i32>)
:The value that you specified for
MaxResults
in the request.ip_addresses(Option<Vec<IpAddressResponse>>)
:Information about the IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
- On failure, responds with
SdkError<ListResolverEndpointIpAddressesError>
sourcepub fn list_resolver_endpoints(&self) -> ListResolverEndpoints
pub fn list_resolver_endpoints(&self) -> ListResolverEndpoints
Constructs a fluent builder for the ListResolverEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of Resolver endpoints that you want to return in the response to a
ListResolverEndpoints
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 Resolver endpoints.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverEndpoints
request, omit this value.If you have more than
MaxResults
Resolver endpoints, you can submit anotherListResolverEndpoints
request to get the next group of Resolver endpoints. In the next request, specify the value ofNextToken
from the previous response.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of Resolver endpoints, such as all inbound Resolver endpoints.
If you submit a second or subsequent
ListResolverEndpoints
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.
- On success, responds with
ListResolverEndpointsOutput
with field(s):next_token(Option<String>)
:If more than
MaxResults
IP addresses match the specified criteria, you can submit anotherListResolverEndpoint
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.max_results(Option<i32>)
:The value that you specified for
MaxResults
in the request.resolver_endpoints(Option<Vec<ResolverEndpoint>>)
:The Resolver endpoints that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverEndpointsError>
sourcepub fn list_resolver_query_log_config_associations(
&self
) -> ListResolverQueryLogConfigAssociations
pub fn list_resolver_query_log_config_associations(
&self
) -> ListResolverQueryLogConfigAssociations
Constructs a fluent builder for the ListResolverQueryLogConfigAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of query logging associations that you want to return in the response to a
ListResolverQueryLogConfigAssociations
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 query logging associations.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverQueryLogConfigAssociations
request, omit this value.If there are more than
MaxResults
query logging associations that match the values that you specify forFilters
, you can submit anotherListResolverQueryLogConfigAssociations
request to get the next group of associations. In the next request, specify the value ofNextToken
from the previous response.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of query logging associations.
If you submit a second or subsequent
ListResolverQueryLogConfigAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.sort_by(impl Into<String>)
/set_sort_by(Option<String>)
:The element that you want Resolver to sort query logging associations by.
If you submit a second or subsequent
ListResolverQueryLogConfigAssociations
request and specify theNextToken
parameter, you must use the same value forSortBy
, if any, as in the previous request.Valid values include the following elements:
-
CreationTime
: The ID of the query logging association. -
Error
: If the value ofStatus
isFAILED
, the value ofError
indicates the cause:-
DESTINATION_NOT_FOUND
: The specified destination (for example, an Amazon S3 bucket) was deleted. -
ACCESS_DENIED
: Permissions don’t allow sending logs to the destination.
If
Status
is a value other thanFAILED
,ERROR
is null. -
-
Id
: The ID of the query logging association -
ResolverQueryLogConfigId
: The ID of the query logging configuration -
ResourceId
: The ID of the VPC that is associated with the query logging configuration -
Status
: The current status of the configuration. Valid values include the following:-
CREATING
: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
CREATED
: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING
: Resolver is deleting this query logging association. -
FAILED
: Resolver either couldn’t create or couldn’t delete the query logging association. Here are two common causes:-
The specified destination (for example, an Amazon S3 bucket) was deleted.
-
Permissions don’t allow sending logs to the destination.
-
-
-
sort_order(SortOrder)
/set_sort_order(Option<SortOrder>)
:If you specified a value for
SortBy
, the order that you want query logging associations to be listed in,ASCENDING
orDESCENDING
.If you submit a second or subsequent
ListResolverQueryLogConfigAssociations
request and specify theNextToken
parameter, you must use the same value forSortOrder
, if any, as in the previous request.
- On success, responds with
ListResolverQueryLogConfigAssociationsOutput
with field(s):next_token(Option<String>)
:If there are more than
MaxResults
query logging associations, you can submit anotherListResolverQueryLogConfigAssociations
request to get the next group of associations. In the next request, specify the value ofNextToken
from the previous response.total_count(i32)
:The total number of query logging associations that were created by the current account in the specified Region. This count can differ from the number of associations that are returned in a
ListResolverQueryLogConfigAssociations
response, depending on the values that you specify in the request.total_filtered_count(i32)
:The total number of query logging associations that were created by the current account in the specified Region and that match the filters that were specified in the
ListResolverQueryLogConfigAssociations
request. For the total number of associations that were created by the current account in the specified Region, seeTotalCount
.resolver_query_log_config_associations(Option<Vec<ResolverQueryLogConfigAssociation>>)
:A list that contains one
ResolverQueryLogConfigAssociations
element for each query logging association that matches the values that you specified forFilter
.
- On failure, responds with
SdkError<ListResolverQueryLogConfigAssociationsError>
sourcepub fn list_resolver_query_log_configs(&self) -> ListResolverQueryLogConfigs
pub fn list_resolver_query_log_configs(&self) -> ListResolverQueryLogConfigs
Constructs a fluent builder for the ListResolverQueryLogConfigs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of query logging configurations that you want to return in the response to a
ListResolverQueryLogConfigs
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 query logging configurations.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverQueryLogConfigs
request, omit this value.If there are more than
MaxResults
query logging configurations that match the values that you specify forFilters
, you can submit anotherListResolverQueryLogConfigs
request to get the next group of configurations. In the next request, specify the value ofNextToken
from the previous response.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of query logging configurations.
If you submit a second or subsequent
ListResolverQueryLogConfigs
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.sort_by(impl Into<String>)
/set_sort_by(Option<String>)
:The element that you want Resolver to sort query logging configurations by.
If you submit a second or subsequent
ListResolverQueryLogConfigs
request and specify theNextToken
parameter, you must use the same value forSortBy
, if any, as in the previous request.Valid values include the following elements:
-
Arn
: The ARN of the query logging configuration -
AssociationCount
: The number of VPCs that are associated with the specified configuration -
CreationTime
: The date and time that Resolver returned when the configuration was created -
CreatorRequestId
: The value that was specified forCreatorRequestId
when the configuration was created -
DestinationArn
: The location that logs are sent to -
Id
: The ID of the configuration -
Name
: The name of the configuration -
OwnerId
: The Amazon Web Services account number of the account that created the configuration -
ShareStatus
: Whether the configuration is shared with other Amazon Web Services accounts or shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM). -
Status
: The current status of the configuration. Valid values include the following:-
CREATING
: Resolver is creating the query logging configuration. -
CREATED
: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING
: Resolver is deleting this query logging configuration. -
FAILED
: Resolver either couldn’t create or couldn’t delete the query logging configuration. Here are two common causes:-
The specified destination (for example, an Amazon S3 bucket) was deleted.
-
Permissions don’t allow sending logs to the destination.
-
-
-
sort_order(SortOrder)
/set_sort_order(Option<SortOrder>)
:If you specified a value for
SortBy
, the order that you want query logging configurations to be listed in,ASCENDING
orDESCENDING
.If you submit a second or subsequent
ListResolverQueryLogConfigs
request and specify theNextToken
parameter, you must use the same value forSortOrder
, if any, as in the previous request.
- On success, responds with
ListResolverQueryLogConfigsOutput
with field(s):next_token(Option<String>)
:If there are more than
MaxResults
query logging configurations, you can submit anotherListResolverQueryLogConfigs
request to get the next group of configurations. In the next request, specify the value ofNextToken
from the previous response.total_count(i32)
:The total number of query logging configurations that were created by the current account in the specified Region. This count can differ from the number of query logging configurations that are returned in a
ListResolverQueryLogConfigs
response, depending on the values that you specify in the request.total_filtered_count(i32)
:The total number of query logging configurations that were created by the current account in the specified Region and that match the filters that were specified in the
ListResolverQueryLogConfigs
request. For the total number of query logging configurations that were created by the current account in the specified Region, seeTotalCount
.resolver_query_log_configs(Option<Vec<ResolverQueryLogConfig>>)
:A list that contains one
ResolverQueryLogConfig
element for each query logging configuration that matches the values that you specified forFilter
.
- On failure, responds with
SdkError<ListResolverQueryLogConfigsError>
sourcepub fn list_resolver_rule_associations(&self) -> ListResolverRuleAssociations
pub fn list_resolver_rule_associations(&self) -> ListResolverRuleAssociations
Constructs a fluent builder for the ListResolverRuleAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of rule associations that you want to return in the response to a
ListResolverRuleAssociations
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 rule associations.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverRuleAssociation
request, omit this value.If you have more than
MaxResults
rule associations, you can submit anotherListResolverRuleAssociation
request to get the next group of rule associations. In the next request, specify the value ofNextToken
from the previous response.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.
- On success, responds with
ListResolverRuleAssociationsOutput
with field(s):next_token(Option<String>)
:If more than
MaxResults
rule associations match the specified criteria, you can submit anotherListResolverRuleAssociation
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.max_results(Option<i32>)
:The value that you specified for
MaxResults
in the request.resolver_rule_associations(Option<Vec<ResolverRuleAssociation>>)
:The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverRuleAssociationsError>
sourcepub fn list_resolver_rules(&self) -> ListResolverRules
pub fn list_resolver_rules(&self) -> ListResolverRules
Constructs a fluent builder for the ListResolverRules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of Resolver rules that you want to return in the response to a
ListResolverRules
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 Resolver rules.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListResolverRules
request, omit this value.If you have more than
MaxResults
Resolver rules, you can submit anotherListResolverRules
request to get the next group of Resolver rules. In the next request, specify the value ofNextToken
from the previous response.filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent
ListResolverRules
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.
- On success, responds with
ListResolverRulesOutput
with field(s):next_token(Option<String>)
:If more than
MaxResults
Resolver rules match the specified criteria, you can submit anotherListResolverRules
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.max_results(Option<i32>)
:The value that you specified for
MaxResults
in the request.resolver_rules(Option<Vec<ResolverRule>>)
:The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverRulesError>
Constructs a fluent builder for the ListTagsForResource
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) for the resource that you want to list tags for.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of tags that you want to return in the response to a
ListTagsForResource
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 tags.next_token(impl Into<String>)
/set_next_token(Option<String>)
:For the first
ListTagsForResource
request, omit this value.If you have more than
MaxResults
tags, you can submit anotherListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value ofNextToken
from the previous response.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<Vec<Tag>>)
:The tags that are associated with the resource that you specified in the
ListTagsForResource
request.next_token(Option<String>)
:If more than
MaxResults
tags match the specified criteria, you can submit anotherListTagsForResource
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_firewall_rule_group_policy(&self) -> PutFirewallRuleGroupPolicy
pub fn put_firewall_rule_group_policy(&self) -> PutFirewallRuleGroupPolicy
Constructs a fluent builder for the PutFirewallRuleGroupPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The ARN (Amazon Resource Name) for the rule group that you want to share.
firewall_rule_group_policy(impl Into<String>)
/set_firewall_rule_group_policy(Option<String>)
:The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group.
- On success, responds with
PutFirewallRuleGroupPolicyOutput
with field(s): - On failure, responds with
SdkError<PutFirewallRuleGroupPolicyError>
sourcepub fn put_resolver_query_log_config_policy(
&self
) -> PutResolverQueryLogConfigPolicy
pub fn put_resolver_query_log_config_policy(
&self
) -> PutResolverQueryLogConfigPolicy
Constructs a fluent builder for the PutResolverQueryLogConfigPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the account that you want to share rules with.
resolver_query_log_config_policy(impl Into<String>)
/set_resolver_query_log_config_policy(Option<String>)
:An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the
Actions
section of the statement:-
route53resolver:AssociateResolverQueryLogConfig
-
route53resolver:DisassociateResolverQueryLogConfig
-
route53resolver:ListResolverQueryLogConfigAssociations
-
route53resolver:ListResolverQueryLogConfigs
In the
Resource
section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified inArn
.-
- On success, responds with
PutResolverQueryLogConfigPolicyOutput
with field(s):return_value(bool)
:Whether the
PutResolverQueryLogConfigPolicy
request was successful.
- On failure, responds with
SdkError<PutResolverQueryLogConfigPolicyError>
sourcepub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicy
pub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicy
Constructs a fluent builder for the PutResolverRulePolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the rule that you want to share with another account.
resolver_rule_policy(impl Into<String>)
/set_resolver_rule_policy(Option<String>)
:An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the
Action
section of the statement:-
route53resolver:GetResolverRule
-
route53resolver:AssociateResolverRule
-
route53resolver:DisassociateResolverRule
-
route53resolver:ListResolverRules
-
route53resolver:ListResolverRuleAssociations
In the
Resource
section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified inArn
.-
- On success, responds with
PutResolverRulePolicyOutput
with field(s):return_value(bool)
:Whether the
PutResolverRulePolicy
request was successful.
- On failure, responds with
SdkError<PutResolverRulePolicyError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable
Get
orList
command:tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags that you want to add to the specified resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) for the resource that you want to remove tags from. To get the ARN for a resource, use the applicable
Get
orList
command:tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The tags that you want to remove to the specified resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_firewall_config(&self) -> UpdateFirewallConfig
pub fn update_firewall_config(&self) -> UpdateFirewallConfig
Constructs a fluent builder for the UpdateFirewallConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of the VPC that the configuration is for.
firewall_fail_open(FirewallFailOpenStatus)
/set_firewall_fail_open(Option<FirewallFailOpenStatus>)
:Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
-
- On success, responds with
UpdateFirewallConfigOutput
with field(s):firewall_config(Option<FirewallConfig>)
:Configuration of the firewall behavior provided by DNS Firewall for a single VPC.
- On failure, responds with
SdkError<UpdateFirewallConfigError>
sourcepub fn update_firewall_domains(&self) -> UpdateFirewallDomains
pub fn update_firewall_domains(&self) -> UpdateFirewallDomains
Constructs a fluent builder for the UpdateFirewallDomains
operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list whose domains you want to update.
operation(FirewallDomainUpdateOperation)
/set_operation(Option<FirewallDomainUpdateOperation>)
:What you want DNS Firewall to do with the domains that you are providing:
-
ADD
- Add the domains to the ones that are already in the domain list. -
REMOVE
- Search the domain list for the domains and remove them from the list. -
REPLACE
- Update the domain list to exactly match the list that you are providing.
-
domains(Vec<String>)
/set_domains(Option<Vec<String>>)
:A list of domains to use in the update operation.
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.
-
- On success, responds with
UpdateFirewallDomainsOutput
with field(s):id(Option<String>)
:The ID of the firewall domain list that DNS Firewall just updated.
name(Option<String>)
:The name of the domain list.
status(Option<FirewallDomainListStatus>)
:status_message(Option<String>)
:Additional information about the status of the list, if available.
- On failure, responds with
SdkError<UpdateFirewallDomainsError>
sourcepub fn update_firewall_rule(&self) -> UpdateFirewallRule
pub fn update_firewall_rule(&self) -> UpdateFirewallRule
Constructs a fluent builder for the UpdateFirewallRule
operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)
/set_firewall_rule_group_id(Option<String>)
:The unique identifier of the firewall rule group for the rule.
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:The ID of the domain list to use in the rule.
priority(i32)
/set_priority(Option<i32>)
:The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
action(Action)
/set_action(Option<Action>)
:The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW
- Permit the request to go through. -
ALERT
- Permit the request to go through but send an alert to the logs. -
BLOCK
- Disallow the request. This option requires additional details in the rule’sBlockResponse
.
-
block_response(BlockResponse)
/set_block_response(Option<BlockResponse>)
:The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK
.-
NODATA
- Respond indicating that the query was successful, but no response is available for it. -
NXDOMAIN
- Respond indicating that the domain name that’s in the query doesn’t exist. -
OVERRIDE
- Provide a custom override in the response. This option requires custom handling details in the rule’sBlockOverride*
settings.
-
block_override_domain(impl Into<String>)
/set_block_override_domain(Option<String>)
:The custom DNS record to send back in response to the query. Used for the rule action
BLOCK
with aBlockResponse
setting ofOVERRIDE
.block_override_dns_type(BlockOverrideDnsType)
/set_block_override_dns_type(Option<BlockOverrideDnsType>)
:The DNS record’s type. This determines the format of the record value that you provided in
BlockOverrideDomain
. Used for the rule actionBLOCK
with aBlockResponse
setting ofOVERRIDE
.block_override_ttl(i32)
/set_block_override_ttl(Option<i32>)
:The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action
BLOCK
with aBlockResponse
setting ofOVERRIDE
.name(impl Into<String>)
/set_name(Option<String>)
:The name of the rule.
- On success, responds with
UpdateFirewallRuleOutput
with field(s):firewall_rule(Option<FirewallRule>)
:The firewall rule that you just updated.
- On failure, responds with
SdkError<UpdateFirewallRuleError>
sourcepub fn update_firewall_rule_group_association(
&self
) -> UpdateFirewallRuleGroupAssociation
pub fn update_firewall_rule_group_association(
&self
) -> UpdateFirewallRuleGroupAssociation
Constructs a fluent builder for the UpdateFirewallRuleGroupAssociation
operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)
/set_firewall_rule_group_association_id(Option<String>)
:The identifier of the
FirewallRuleGroupAssociation
.priority(i32)
/set_priority(Option<i32>)
:The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
mutation_protection(MutationProtectionStatus)
/set_mutation_protection(Option<MutationProtectionStatus>)
:If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the rule group association.
- On success, responds with
UpdateFirewallRuleGroupAssociationOutput
with field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>)
:The association that you just updated.
- On failure, responds with
SdkError<UpdateFirewallRuleGroupAssociationError>
sourcepub fn update_resolver_config(&self) -> UpdateResolverConfig
pub fn update_resolver_config(&self) -> UpdateResolverConfig
Constructs a fluent builder for the UpdateResolverConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
autodefined_reverse_flag(AutodefinedReverseFlag)
/set_autodefined_reverse_flag(Option<AutodefinedReverseFlag>)
:Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide.
It can take some time for the status change to be completed.
- On success, responds with
UpdateResolverConfigOutput
with field(s):resolver_config(Option<ResolverConfig>)
:An array that contains settings for the specified Resolver configuration.
- On failure, responds with
SdkError<UpdateResolverConfigError>
sourcepub fn update_resolver_dnssec_config(&self) -> UpdateResolverDnssecConfig
pub fn update_resolver_dnssec_config(&self) -> UpdateResolverDnssecConfig
Constructs a fluent builder for the UpdateResolverDnssecConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
validation(Validation)
/set_validation(Option<Validation>)
:The new value that you are specifying for DNSSEC validation for the VPC. The value can be
ENABLE
orDISABLE
. Be aware that it can take time for a validation status change to be completed.
- On success, responds with
UpdateResolverDnssecConfigOutput
with field(s):resolver_dnssec_config(Option<ResolverDnssecConfig>)
:A complex type that contains settings for the specified DNSSEC configuration.
- On failure, responds with
SdkError<UpdateResolverDnssecConfigError>
sourcepub fn update_resolver_endpoint(&self) -> UpdateResolverEndpoint
pub fn update_resolver_endpoint(&self) -> UpdateResolverEndpoint
Constructs a fluent builder for the UpdateResolverEndpoint
operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)
/set_resolver_endpoint_id(Option<String>)
:The ID of the Resolver endpoint that you want to update.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Resolver endpoint that you want to update.
- On success, responds with
UpdateResolverEndpointOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:The response to an
UpdateResolverEndpoint
request.
- On failure, responds with
SdkError<UpdateResolverEndpointError>
sourcepub fn update_resolver_rule(&self) -> UpdateResolverRule
pub fn update_resolver_rule(&self) -> UpdateResolverRule
Constructs a fluent builder for the UpdateResolverRule
operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)
/set_resolver_rule_id(Option<String>)
:The ID of the Resolver rule that you want to update.
config(ResolverRuleConfig)
/set_config(Option<ResolverRuleConfig>)
:The new settings for the Resolver rule.
- On success, responds with
UpdateResolverRuleOutput
with field(s):resolver_rule(Option<ResolverRule>)
:The response to an
UpdateResolverRule
request.
- On failure, responds with
SdkError<UpdateResolverRuleError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more