Struct aws_sdk_route53resolver::client::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.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_route53resolver::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Config
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_route53resolver::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateFirewallRuleGroup
operation has
a Client::associate_firewall_rule_group
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_firewall_rule_group()
.creator_request_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn associate_firewall_rule_group(
&self,
) -> AssociateFirewallRuleGroupFluentBuilder
pub fn associate_firewall_rule_group( &self, ) -> AssociateFirewallRuleGroupFluentBuilder
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>)
:
required: trueA 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>)
:
required: trueThe unique identifier of the firewall rule group.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe unique identifier of the VPC that you want to associate with the rule group.
priority(i32)
/set_priority(Option<i32>)
:
required: trueThe 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>)
:
required: trueA name that lets you identify the association, to manage and use it.
mutation_protection(MutationProtectionStatus)
/set_mutation_protection(Option<MutationProtectionStatus>)
:
required: falseIf 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(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA 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>
source§impl Client
impl Client
sourcepub fn associate_resolver_endpoint_ip_address(
&self,
) -> AssociateResolverEndpointIpAddressFluentBuilder
pub fn associate_resolver_endpoint_ip_address( &self, ) -> AssociateResolverEndpointIpAddressFluentBuilder
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>)
:
required: trueThe ID of the Resolver endpoint that you want to associate IP addresses with.
ip_address(IpAddressUpdate)
/set_ip_address(Option<IpAddressUpdate>)
:
required: trueEither 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>
source§impl Client
impl Client
sourcepub fn associate_resolver_query_log_config(
&self,
) -> AssociateResolverQueryLogConfigFluentBuilder
pub fn associate_resolver_query_log_config( &self, ) -> AssociateResolverQueryLogConfigFluentBuilder
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>)
:
required: trueThe ID of the query logging configuration that you want to associate a VPC with.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn associate_resolver_rule(&self) -> AssociateResolverRuleFluentBuilder
pub fn associate_resolver_rule(&self) -> AssociateResolverRuleFluentBuilder
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>)
:
required: trueThe 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>)
:
required: falseA 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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn create_firewall_domain_list(
&self,
) -> CreateFirewallDomainListFluentBuilder
pub fn create_firewall_domain_list( &self, ) -> CreateFirewallDomainListFluentBuilder
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>)
:
required: trueA 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>)
:
required: trueA name that lets you identify the domain list to manage and use it.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA 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>
source§impl Client
impl Client
sourcepub fn create_firewall_rule(&self) -> CreateFirewallRuleFluentBuilder
pub fn create_firewall_rule(&self) -> CreateFirewallRuleFluentBuilder
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>)
:
required: trueA 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>)
:
required: trueThe 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>)
:
required: trueThe ID of the domain list that you want to use in the rule.
priority(i32)
/set_priority(Option<i32>)
:
required: trueThe 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>)
:
required: trueThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: trueA name that lets you identify the rule in the rule group.
firewall_domain_redirection_action(FirewallDomainRedirectionAction)
/set_firewall_domain_redirection_action(Option<FirewallDomainRedirectionAction>)
:
required: falseHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME.
Inspect_Redirection_Domain
(Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list.Trust_Redirection_Domain
inspects only the first domain in the redirection chain. You don’t need to add the subsequent domains in the domain in the redirection list to the domain list.qtype(impl Into<String>)
/set_qtype(Option<String>)
:
required: falseThe DNS query type you want the rule to evaluate. Allowed values are;
-
A: Returns an IPv4 address.
-
AAAA: Returns an Ipv6 address.
-
CAA: Restricts CAs that can create SSL/TLS certifications for the domain.
-
CNAME: Returns another domain name.
-
DS: Record that identifies the DNSSEC signing key of a delegated zone.
-
MX: Specifies mail servers.
-
NAPTR: Regular-expression-based rewriting of domain names.
-
NS: Authoritative name servers.
-
PTR: Maps an IP address to a domain name.
-
SOA: Start of authority record for the zone.
-
SPF: Lists the servers authorized to send emails from a domain.
-
SRV: Application specific values that identify servers.
-
TXT: Verifies email senders and application-specific values.
-
A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
-
- 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>
source§impl Client
impl Client
sourcepub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroupFluentBuilder
pub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroupFluentBuilder
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>)
:
required: trueA 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>)
:
required: trueA name that lets you identify the rule group, to manage and use it.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA 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>
source§impl Client
impl Client
sourcepub fn create_outpost_resolver(&self) -> CreateOutpostResolverFluentBuilder
pub fn create_outpost_resolver(&self) -> CreateOutpostResolverFluentBuilder
Constructs a fluent builder for the CreateOutpostResolver
operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:
required: trueA 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>)
:
required: trueA friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseNumber of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
preferred_instance_type(impl Into<String>)
/set_preferred_instance_type(Option<String>)
:
required: trueThe Amazon EC2 instance type. If you specify this, you must also specify a value for the
OutpostArn
.outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
PreferredInstanceType
.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA string that helps identify the Route 53 Resolvers on Outpost.
- On success, responds with
CreateOutpostResolverOutput
with field(s):outpost_resolver(Option<OutpostResolver>)
:Information about the
CreateOutpostResolver
request, including the status of the request.
- On failure, responds with
SdkError<CreateOutpostResolverError>
source§impl Client
impl Client
sourcepub fn create_resolver_endpoint(&self) -> CreateResolverEndpointFluentBuilder
pub fn create_resolver_endpoint(&self) -> CreateResolverEndpointFluentBuilder
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>)
:
required: trueA 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>)
:
required: falseA friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: trueThe 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.
Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
direction(ResolverEndpointDirection)
/set_direction(Option<ResolverEndpointDirection>)
:
required: trueSpecify 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(IpAddressRequest)
/set_ip_addresses(Option<Vec::<IpAddressRequest>>)
:
required: trueThe 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.
Even though the minimum is 1, Route 53 requires that you create at least two.
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
PreferredInstanceType
.preferred_instance_type(impl Into<String>)
/set_preferred_instance_type(Option<String>)
:
required: falseThe instance type. If you specify this, you must also specify a value for the
OutpostArn
.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA list of the tag keys and values that you want to associate with the endpoint.
resolver_endpoint_type(ResolverEndpointType)
/set_resolver_endpoint_type(Option<ResolverEndpointType>)
:
required: falseFor the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.
protocols(Protocol)
/set_protocols(Option<Vec::<Protocol>>)
:
required: falseThe protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- 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>
source§impl Client
impl Client
sourcepub fn create_resolver_query_log_config(
&self,
) -> CreateResolverQueryLogConfigFluentBuilder
pub fn create_resolver_query_log_config( &self, ) -> CreateResolverQueryLogConfigFluentBuilder
Constructs a fluent builder for the CreateResolverQueryLogConfig
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name that you want to give the query logging configuration.
destination_arn(impl Into<String>)
/set_destination_arn(Option<String>)
:
required: trueThe 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>)
:
required: trueA 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(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA 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>
source§impl Client
impl Client
sourcepub fn create_resolver_rule(&self) -> CreateResolverRuleFluentBuilder
pub fn create_resolver_rule(&self) -> CreateResolverRuleFluentBuilder
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>)
:
required: trueA 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>)
:
required: falseA 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>)
:
required: trueWhen 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>)
:
required: falseDNS 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(TargetAddress)
/set_target_ips(Option<Vec::<TargetAddress>>)
:
required: falseThe IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. 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>)
:
required: falseThe 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(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseA 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>
source§impl Client
impl Client
sourcepub fn delete_firewall_domain_list(
&self,
) -> DeleteFirewallDomainListFluentBuilder
pub fn delete_firewall_domain_list( &self, ) -> DeleteFirewallDomainListFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn delete_firewall_rule(&self) -> DeleteFirewallRuleFluentBuilder
pub fn delete_firewall_rule(&self) -> DeleteFirewallRuleFluentBuilder
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>)
:
required: trueThe 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>)
:
required: trueThe ID of the domain list that’s used in the rule.
qtype(impl Into<String>)
/set_qtype(Option<String>)
:
required: falseThe DNS query type that the rule you are deleting evaluates. Allowed values are;
-
A: Returns an IPv4 address.
-
AAAA: Returns an Ipv6 address.
-
CAA: Restricts CAs that can create SSL/TLS certifications for the domain.
-
CNAME: Returns another domain name.
-
DS: Record that identifies the DNSSEC signing key of a delegated zone.
-
MX: Specifies mail servers.
-
NAPTR: Regular-expression-based rewriting of domain names.
-
NS: Authoritative name servers.
-
PTR: Maps an IP address to a domain name.
-
SOA: Start of authority record for the zone.
-
SPF: Lists the servers authorized to send emails from a domain.
-
SRV: Application specific values that identify servers.
-
TXT: Verifies email senders and application-specific values.
-
A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
-
- 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>
source§impl Client
impl Client
sourcepub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroupFluentBuilder
pub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroupFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn delete_outpost_resolver(&self) -> DeleteOutpostResolverFluentBuilder
pub fn delete_outpost_resolver(&self) -> DeleteOutpostResolverFluentBuilder
Constructs a fluent builder for the DeleteOutpostResolver
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueA unique string that identifies the Resolver on the Outpost.
- On success, responds with
DeleteOutpostResolverOutput
with field(s):outpost_resolver(Option<OutpostResolver>)
:Information about the
DeleteOutpostResolver
request, including the status of the request.
- On failure, responds with
SdkError<DeleteOutpostResolverError>
source§impl Client
impl Client
sourcepub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpointFluentBuilder
pub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpointFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn delete_resolver_query_log_config(
&self,
) -> DeleteResolverQueryLogConfigFluentBuilder
pub fn delete_resolver_query_log_config( &self, ) -> DeleteResolverQueryLogConfigFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn delete_resolver_rule(&self) -> DeleteResolverRuleFluentBuilder
pub fn delete_resolver_rule(&self) -> DeleteResolverRuleFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn disassociate_firewall_rule_group(
&self,
) -> DisassociateFirewallRuleGroupFluentBuilder
pub fn disassociate_firewall_rule_group( &self, ) -> DisassociateFirewallRuleGroupFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn disassociate_resolver_endpoint_ip_address(
&self,
) -> DisassociateResolverEndpointIpAddressFluentBuilder
pub fn disassociate_resolver_endpoint_ip_address( &self, ) -> DisassociateResolverEndpointIpAddressFluentBuilder
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>)
:
required: trueThe ID of the Resolver endpoint that you want to disassociate an IP address from.
ip_address(IpAddressUpdate)
/set_ip_address(Option<IpAddressUpdate>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn disassociate_resolver_query_log_config(
&self,
) -> DisassociateResolverQueryLogConfigFluentBuilder
pub fn disassociate_resolver_query_log_config( &self, ) -> DisassociateResolverQueryLogConfigFluentBuilder
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>)
:
required: trueThe 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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn disassociate_resolver_rule(
&self,
) -> DisassociateResolverRuleFluentBuilder
pub fn disassociate_resolver_rule( &self, ) -> DisassociateResolverRuleFluentBuilder
Constructs a fluent builder for the DisassociateResolverRule
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe 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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_firewall_config(&self) -> GetFirewallConfigFluentBuilder
pub fn get_firewall_config(&self) -> GetFirewallConfigFluentBuilder
Constructs a fluent builder for the GetFirewallConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_firewall_domain_list(&self) -> GetFirewallDomainListFluentBuilder
pub fn get_firewall_domain_list(&self) -> GetFirewallDomainListFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroupFluentBuilder
pub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroupFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_firewall_rule_group_association(
&self,
) -> GetFirewallRuleGroupAssociationFluentBuilder
pub fn get_firewall_rule_group_association( &self, ) -> GetFirewallRuleGroupAssociationFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_firewall_rule_group_policy(
&self,
) -> GetFirewallRuleGroupPolicyFluentBuilder
pub fn get_firewall_rule_group_policy( &self, ) -> GetFirewallRuleGroupPolicyFluentBuilder
Constructs a fluent builder for the GetFirewallRuleGroupPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_outpost_resolver(&self) -> GetOutpostResolverFluentBuilder
pub fn get_outpost_resolver(&self) -> GetOutpostResolverFluentBuilder
Constructs a fluent builder for the GetOutpostResolver
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe ID of the Resolver on the Outpost.
- On success, responds with
GetOutpostResolverOutput
with field(s):outpost_resolver(Option<OutpostResolver>)
:Information about the
GetOutpostResolver
request, including the status of the request.
- On failure, responds with
SdkError<GetOutpostResolverError>
source§impl Client
impl Client
sourcepub fn get_resolver_config(&self) -> GetResolverConfigFluentBuilder
pub fn get_resolver_config(&self) -> GetResolverConfigFluentBuilder
Constructs a fluent builder for the GetResolverConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueResource 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>
source§impl Client
impl Client
sourcepub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfigFluentBuilder
pub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfigFluentBuilder
Constructs a fluent builder for the GetResolverDnssecConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_endpoint(&self) -> GetResolverEndpointFluentBuilder
pub fn get_resolver_endpoint(&self) -> GetResolverEndpointFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_query_log_config(
&self,
) -> GetResolverQueryLogConfigFluentBuilder
pub fn get_resolver_query_log_config( &self, ) -> GetResolverQueryLogConfigFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_query_log_config_association(
&self,
) -> GetResolverQueryLogConfigAssociationFluentBuilder
pub fn get_resolver_query_log_config_association( &self, ) -> GetResolverQueryLogConfigAssociationFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_query_log_config_policy(
&self,
) -> GetResolverQueryLogConfigPolicyFluentBuilder
pub fn get_resolver_query_log_config_policy( &self, ) -> GetResolverQueryLogConfigPolicyFluentBuilder
Constructs a fluent builder for the GetResolverQueryLogConfigPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_rule(&self) -> GetResolverRuleFluentBuilder
pub fn get_resolver_rule(&self) -> GetResolverRuleFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_rule_association(
&self,
) -> GetResolverRuleAssociationFluentBuilder
pub fn get_resolver_rule_association( &self, ) -> GetResolverRuleAssociationFluentBuilder
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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicyFluentBuilder
pub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicyFluentBuilder
Constructs a fluent builder for the GetResolverRulePolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn import_firewall_domains(&self) -> ImportFirewallDomainsFluentBuilder
pub fn import_firewall_domains(&self) -> ImportFirewallDomainsFluentBuilder
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>)
:
required: trueThe ID of the domain list that you want to modify with the import operation.
operation(FirewallDomainImportOperation)
/set_operation(Option<FirewallDomainImportOperation>)
:
required: trueWhat 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>)
:
required: trueThe 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 of the import request.
status_message(Option<String>)
:Additional information about the status of the list, if available.
- On failure, responds with
SdkError<ImportFirewallDomainsError>
source§impl Client
impl Client
sourcepub fn list_firewall_configs(&self) -> ListFirewallConfigsFluentBuilder
pub fn list_firewall_configs(&self) -> ListFirewallConfigsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_firewall_domain_lists(&self) -> ListFirewallDomainListsFluentBuilder
pub fn list_firewall_domain_lists(&self) -> ListFirewallDomainListsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_firewall_domains(&self) -> ListFirewallDomainsFluentBuilder
pub fn list_firewall_domains(&self) -> ListFirewallDomainsFluentBuilder
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>)
:
required: trueThe ID of the domain list whose domains you want to retrieve.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_firewall_rule_group_associations(
&self,
) -> ListFirewallRuleGroupAssociationsFluentBuilder
pub fn list_firewall_rule_group_associations( &self, ) -> ListFirewallRuleGroupAssociationsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroupsFluentBuilder
pub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroupsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_firewall_rules(&self) -> ListFirewallRulesFluentBuilder
pub fn list_firewall_rules(&self) -> ListFirewallRulesFluentBuilder
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>)
:
required: trueThe unique identifier of the firewall rule group that you want to retrieve the rules for.
priority(i32)
/set_priority(Option<i32>)
:
required: falseOptional 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>)
:
required: falseOptional 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>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_outpost_resolvers(&self) -> ListOutpostResolversFluentBuilder
pub fn list_outpost_resolvers(&self) -> ListOutpostResolversFluentBuilder
Constructs a fluent builder for the ListOutpostResolvers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of Resolvers on the Outpost that you want to return in the response to a
ListOutpostResolver
request. If you don’t specify a value forMaxResults
, the request returns up to 100 Resolvers.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseFor the first
ListOutpostResolver
request, omit this value.
- On success, responds with
ListOutpostResolversOutput
with field(s):outpost_resolvers(Option<Vec::<OutpostResolver>>)
:The Resolvers on Outposts that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
next_token(Option<String>)
:If more than
MaxResults
Resolvers match the specified criteria, you can submit anotherListOutpostResolver
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<ListOutpostResolversError>
source§impl Client
impl Client
sourcepub fn list_resolver_configs(&self) -> ListResolverConfigsFluentBuilder
pub fn list_resolver_configs(&self) -> ListResolverConfigsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: false(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>
source§impl Client
impl Client
sourcepub fn list_resolver_dnssec_configs(
&self,
) -> ListResolverDnssecConfigsFluentBuilder
pub fn list_resolver_dnssec_configs( &self, ) -> ListResolverDnssecConfigsFluentBuilder
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>)
:
required: falseOptional: 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>)
:
required: false(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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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. It doesn’t contain disabled DNSSEC configurations for the resource.
- On failure, responds with
SdkError<ListResolverDnssecConfigsError>
source§impl Client
impl Client
sourcepub fn list_resolver_endpoint_ip_addresses(
&self,
) -> ListResolverEndpointIpAddressesFluentBuilder
pub fn list_resolver_endpoint_ip_addresses( &self, ) -> ListResolverEndpointIpAddressesFluentBuilder
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>)
:
required: trueThe ID of the Resolver endpoint that you want to get IP addresses for.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn list_resolver_endpoints(&self) -> ListResolverEndpointsFluentBuilder
pub fn list_resolver_endpoints(&self) -> ListResolverEndpointsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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>
source§impl Client
impl Client
sourcepub fn list_resolver_query_log_config_associations(
&self,
) -> ListResolverQueryLogConfigAssociationsFluentBuilder
pub fn list_resolver_query_log_config_associations( &self, ) -> ListResolverQueryLogConfigAssociationsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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>)
:
required: falseThe 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>)
:
required: falseIf 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>
source§impl Client
impl Client
sourcepub fn list_resolver_query_log_configs(
&self,
) -> ListResolverQueryLogConfigsFluentBuilder
pub fn list_resolver_query_log_configs( &self, ) -> ListResolverQueryLogConfigsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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>)
:
required: falseThe 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>)
:
required: falseIf 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>
source§impl Client
impl Client
sourcepub fn list_resolver_rule_associations(
&self,
) -> ListResolverRuleAssociationsFluentBuilder
pub fn list_resolver_rule_associations( &self, ) -> ListResolverRuleAssociationsFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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>
source§impl Client
impl Client
sourcepub fn list_resolver_rules(&self) -> ListResolverRulesFluentBuilder
pub fn list_resolver_rules(&self) -> ListResolverRulesFluentBuilder
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>)
:
required: falseThe 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>)
:
required: falseFor 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(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseAn 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>
source§impl Client
impl Client
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>)
:
required: trueThe Amazon Resource Name (ARN) for the resource that you want to list tags for.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe 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>)
:
required: falseFor 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>
source§impl Client
impl Client
sourcepub fn put_firewall_rule_group_policy(
&self,
) -> PutFirewallRuleGroupPolicyFluentBuilder
pub fn put_firewall_rule_group_policy( &self, ) -> PutFirewallRuleGroupPolicyFluentBuilder
Constructs a fluent builder for the PutFirewallRuleGroupPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn put_resolver_query_log_config_policy(
&self,
) -> PutResolverQueryLogConfigPolicyFluentBuilder
pub fn put_resolver_query_log_config_policy( &self, ) -> PutResolverQueryLogConfigPolicyFluentBuilder
Constructs a fluent builder for the PutResolverQueryLogConfigPolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>)
:
required: trueAn 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: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>
source§impl Client
impl Client
sourcepub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicyFluentBuilder
pub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicyFluentBuilder
Constructs a fluent builder for the PutResolverRulePolicy
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: trueThe 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>)
:
required: trueAn 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>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe 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(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: trueThe tags that you want to add to the specified resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe 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(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueThe tags that you want to remove to the specified resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn update_firewall_config(&self) -> UpdateFirewallConfigFluentBuilder
pub fn update_firewall_config(&self) -> UpdateFirewallConfigFluentBuilder
Constructs a fluent builder for the UpdateFirewallConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe ID of the VPC that the configuration is for.
firewall_fail_open(FirewallFailOpenStatus)
/set_firewall_fail_open(Option<FirewallFailOpenStatus>)
:
required: trueDetermines 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>
source§impl Client
impl Client
sourcepub fn update_firewall_domains(&self) -> UpdateFirewallDomainsFluentBuilder
pub fn update_firewall_domains(&self) -> UpdateFirewallDomainsFluentBuilder
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>)
:
required: trueThe ID of the domain list whose domains you want to update.
operation(FirewallDomainUpdateOperation)
/set_operation(Option<FirewallDomainUpdateOperation>)
:
required: trueWhat 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(impl Into<String>)
/set_domains(Option<Vec::<String>>)
:
required: trueA list of domains to use in the update operation.
There is a limit of 1000 domains per request.
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 of the
UpdateFirewallDomains
request.status_message(Option<String>)
:Additional information about the status of the list, if available.
- On failure, responds with
SdkError<UpdateFirewallDomainsError>
source§impl Client
impl Client
sourcepub fn update_firewall_rule(&self) -> UpdateFirewallRuleFluentBuilder
pub fn update_firewall_rule(&self) -> UpdateFirewallRuleFluentBuilder
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>)
:
required: trueThe unique identifier of the firewall rule group for the rule.
firewall_domain_list_id(impl Into<String>)
/set_firewall_domain_list_id(Option<String>)
:
required: trueThe ID of the domain list to use in the rule.
priority(i32)
/set_priority(Option<i32>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe 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>)
:
required: falseThe name of the rule.
firewall_domain_redirection_action(FirewallDomainRedirectionAction)
/set_firewall_domain_redirection_action(Option<FirewallDomainRedirectionAction>)
:
required: falseHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME.
Inspect_Redirection_Domain
(Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list.Trust_Redirection_Domain
inspects only the first domain in the redirection chain. You don’t need to add the subsequent domains in the domain in the redirection list to the domain list.qtype(impl Into<String>)
/set_qtype(Option<String>)
:
required: falseThe DNS query type you want the rule to evaluate. Allowed values are;
-
A: Returns an IPv4 address.
-
AAAA: Returns an Ipv6 address.
-
CAA: Restricts CAs that can create SSL/TLS certifications for the domain.
-
CNAME: Returns another domain name.
-
DS: Record that identifies the DNSSEC signing key of a delegated zone.
-
MX: Specifies mail servers.
-
NAPTR: Regular-expression-based rewriting of domain names.
-
NS: Authoritative name servers.
-
PTR: Maps an IP address to a domain name.
-
SOA: Start of authority record for the zone.
-
SPF: Lists the servers authorized to send emails from a domain.
-
SRV: Application specific values that identify servers.
-
TXT: Verifies email senders and application-specific values.
-
A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
-
- 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>
source§impl Client
impl Client
sourcepub fn update_firewall_rule_group_association(
&self,
) -> UpdateFirewallRuleGroupAssociationFluentBuilder
pub fn update_firewall_rule_group_association( &self, ) -> UpdateFirewallRuleGroupAssociationFluentBuilder
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>)
:
required: trueThe identifier of the
FirewallRuleGroupAssociation
.priority(i32)
/set_priority(Option<i32>)
:
required: falseThe 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>)
:
required: falseIf 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>)
:
required: falseThe 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>
source§impl Client
impl Client
sourcepub fn update_outpost_resolver(&self) -> UpdateOutpostResolverFluentBuilder
pub fn update_outpost_resolver(&self) -> UpdateOutpostResolverFluentBuilder
Constructs a fluent builder for the UpdateOutpostResolver
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueA unique string that identifies Resolver on an Outpost.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseName of the Resolver on the Outpost.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe Amazon EC2 instance count for a Resolver on the Outpost.
preferred_instance_type(impl Into<String>)
/set_preferred_instance_type(Option<String>)
:
required: falseAmazon EC2 instance type.
- On success, responds with
UpdateOutpostResolverOutput
with field(s):outpost_resolver(Option<OutpostResolver>)
:The response to an
UpdateOutpostResolver
request.
- On failure, responds with
SdkError<UpdateOutpostResolverError>
source§impl Client
impl Client
sourcepub fn update_resolver_config(&self) -> UpdateResolverConfigFluentBuilder
pub fn update_resolver_config(&self) -> UpdateResolverConfigFluentBuilder
Constructs a fluent builder for the UpdateResolverConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueResource ID of the Amazon VPC that you want to update the Resolver configuration for.
autodefined_reverse_flag(AutodefinedReverseFlag)
/set_autodefined_reverse_flag(Option<AutodefinedReverseFlag>)
:
required: trueIndicates 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.
We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic Networking is Retiring – Here’s How to Prepare.
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>
source§impl Client
impl Client
sourcepub fn update_resolver_dnssec_config(
&self,
) -> UpdateResolverDnssecConfigFluentBuilder
pub fn update_resolver_dnssec_config( &self, ) -> UpdateResolverDnssecConfigFluentBuilder
Constructs a fluent builder for the UpdateResolverDnssecConfig
operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
validation(Validation)
/set_validation(Option<Validation>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn update_resolver_endpoint(&self) -> UpdateResolverEndpointFluentBuilder
pub fn update_resolver_endpoint(&self) -> UpdateResolverEndpointFluentBuilder
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>)
:
required: trueThe ID of the Resolver endpoint that you want to update.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the Resolver endpoint that you want to update.
resolver_endpoint_type(ResolverEndpointType)
/set_resolver_endpoint_type(Option<ResolverEndpointType>)
:
required: falseSpecifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
Updating to
IPV6
type isn’t currently supported.update_ip_addresses(UpdateIpAddress)
/set_update_ip_addresses(Option<Vec::<UpdateIpAddress>>)
:
required: falseSpecifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don’t specify an IPv6 address, one will be automatically chosen from your subnet.
protocols(Protocol)
/set_protocols(Option<Vec::<Protocol>>)
:
required: falseThe protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
You can’t change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
-
- On success, responds with
UpdateResolverEndpointOutput
with field(s):resolver_endpoint(Option<ResolverEndpoint>)
:The response to an
UpdateResolverEndpoint
request.
- On failure, responds with
SdkError<UpdateResolverEndpointError>
source§impl Client
impl Client
sourcepub fn update_resolver_rule(&self) -> UpdateResolverRuleFluentBuilder
pub fn update_resolver_rule(&self) -> UpdateResolverRuleFluentBuilder
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>)
:
required: trueThe ID of the Resolver rule that you want to update.
config(ResolverRuleConfig)
/set_config(Option<ResolverRuleConfig>)
:
required: trueThe 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>
source§impl Client
impl Client
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more