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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_route53resolver::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_route53resolver::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_route53resolver::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn associate_firewall_rule_group(&self) -> AssociateFirewallRuleGroup
pub fn associate_firewall_rule_group(&self) -> AssociateFirewallRuleGroup
Constructs a fluent builder for the AssociateFirewallRuleGroup operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group.
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The unique identifier of the VPC that you want to associate with the rule group.
priority(i32)/set_priority(Option<i32>):The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for
Priorityare between 100 and 9900.name(impl Into<String>)/set_name(Option<String>):A name that lets you identify the association, to manage and use it.
mutation_protection(MutationProtectionStatus)/set_mutation_protection(Option<MutationProtectionStatus>):If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is
DISABLED.tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the rule group association.
- On success, responds with
AssociateFirewallRuleGroupOutputwith field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>):The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.
- On failure, responds with
SdkError<AssociateFirewallRuleGroupError>
sourcepub fn associate_resolver_endpoint_ip_address(
&self
) -> AssociateResolverEndpointIpAddress
pub fn associate_resolver_endpoint_ip_address(
&self
) -> AssociateResolverEndpointIpAddress
Constructs a fluent builder for the AssociateResolverEndpointIpAddress operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to associate IP addresses with.
ip_address(IpAddressUpdate)/set_ip_address(Option<IpAddressUpdate>):Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
- On success, responds with
AssociateResolverEndpointIpAddressOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):The response to an
AssociateResolverEndpointIpAddressrequest.
- On failure, responds with
SdkError<AssociateResolverEndpointIpAddressError>
sourcepub fn associate_resolver_query_log_config(
&self
) -> AssociateResolverQueryLogConfig
pub fn associate_resolver_query_log_config(
&self
) -> AssociateResolverQueryLogConfig
Constructs a fluent builder for the AssociateResolverQueryLogConfig operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)/set_resolver_query_log_config_id(Option<String>):The ID of the query logging configuration that you want to associate a VPC with.
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
- On success, responds with
AssociateResolverQueryLogConfigOutputwith field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>):A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.
- On failure, responds with
SdkError<AssociateResolverQueryLogConfigError>
sourcepub fn associate_resolver_rule(&self) -> AssociateResolverRule
pub fn associate_resolver_rule(&self) -> AssociateResolverRule
Constructs a fluent builder for the AssociateResolverRule operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)/set_resolver_rule_id(Option<String>):The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
name(impl Into<String>)/set_name(Option<String>):A name for the association that you’re creating between a Resolver rule and a VPC.
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The ID of the VPC that you want to associate the Resolver rule with.
- On success, responds with
AssociateResolverRuleOutputwith field(s):resolver_rule_association(Option<ResolverRuleAssociation>):Information about the
AssociateResolverRulerequest, including the status of the request.
- On failure, responds with
SdkError<AssociateResolverRuleError>
sourcepub fn create_firewall_domain_list(&self) -> CreateFirewallDomainList
pub fn create_firewall_domain_list(&self) -> CreateFirewallDomainList
Constructs a fluent builder for the CreateFirewallDomainList operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.name(impl Into<String>)/set_name(Option<String>):A name that lets you identify the domain list to manage and use it.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the domain list.
- On success, responds with
CreateFirewallDomainListOutputwith field(s):firewall_domain_list(Option<FirewallDomainList>):The domain list that you just created.
- On failure, responds with
SdkError<CreateFirewallDomainListError>
sourcepub fn create_firewall_rule(&self) -> CreateFirewallRule
pub fn create_firewall_rule(&self) -> CreateFirewallRule
Constructs a fluent builder for the CreateFirewallRule operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group where you want to create the rule.
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list that you want to use in the rule.
priority(i32)/set_priority(Option<i32>):The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
action(Action)/set_action(Option<Action>):The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW- Permit the request to go through. -
ALERT- Permit the request and send metrics and logs to Cloud Watch. -
BLOCK- Disallow the request. This option requires additional details in the rule’sBlockResponse.
-
block_response(BlockResponse)/set_block_response(Option<BlockResponse>):The way that you want DNS Firewall to block the request, used with the rule action setting
BLOCK.-
NODATA- Respond indicating that the query was successful, but no response is available for it. -
NXDOMAIN- Respond indicating that the domain name that’s in the query doesn’t exist. -
OVERRIDE- Provide a custom override in the response. This option requires custom handling details in the rule’sBlockOverride*settings.
This setting is required if the rule action setting is
BLOCK.-
block_override_domain(impl Into<String>)/set_block_override_domain(Option<String>):The custom DNS record to send back in response to the query. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.This setting is required if the
BlockResponsesetting isOVERRIDE.block_override_dns_type(BlockOverrideDnsType)/set_block_override_dns_type(Option<BlockOverrideDnsType>):The DNS record’s type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.This setting is required if the
BlockResponsesetting isOVERRIDE.block_override_ttl(i32)/set_block_override_ttl(Option<i32>):The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.This setting is required if the
BlockResponsesetting isOVERRIDE.name(impl Into<String>)/set_name(Option<String>):A name that lets you identify the rule in the rule group.
- On success, responds with
CreateFirewallRuleOutputwith field(s):firewall_rule(Option<FirewallRule>):The firewall rule that you just created.
- On failure, responds with
SdkError<CreateFirewallRuleError>
sourcepub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroup
pub fn create_firewall_rule_group(&self) -> CreateFirewallRuleGroup
Constructs a fluent builder for the CreateFirewallRuleGroup operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
name(impl Into<String>)/set_name(Option<String>):A name that lets you identify the rule group, to manage and use it.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the rule group.
- On success, responds with
CreateFirewallRuleGroupOutputwith field(s):firewall_rule_group(Option<FirewallRuleGroup>):A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<CreateFirewallRuleGroupError>
sourcepub fn create_resolver_endpoint(&self) -> CreateResolverEndpoint
pub fn create_resolver_endpoint(&self) -> CreateResolverEndpoint
Constructs a fluent builder for the CreateResolverEndpoint operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.name(impl Into<String>)/set_name(Option<String>):A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
security_group_ids(Vec<String>)/set_security_group_ids(Option<Vec<String>>):The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you’re using for DNS queries on your network.
direction(ResolverEndpointDirection)/set_direction(Option<ResolverEndpointDirection>):Specify the applicable value:
-
INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network -
OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network
-
ip_addresses(Vec<IpAddressRequest>)/set_ip_addresses(Option<Vec<IpAddressRequest>>):The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the endpoint.
- On success, responds with
CreateResolverEndpointOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):Information about the
CreateResolverEndpointrequest, including the status of the request.
- On failure, responds with
SdkError<CreateResolverEndpointError>
sourcepub fn create_resolver_query_log_config(&self) -> CreateResolverQueryLogConfig
pub fn create_resolver_query_log_config(&self) -> CreateResolverQueryLogConfig
Constructs a fluent builder for the CreateResolverQueryLogConfig operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name that you want to give the query logging configuration.
destination_arn(impl Into<String>)/set_destination_arn(Option<String>):The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
-
S3 bucket:
arn:aws:s3:::examplebucketYou can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/ -
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* -
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
-
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the query logging configuration.
- On success, responds with
CreateResolverQueryLogConfigOutputwith field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>):Information about the
CreateResolverQueryLogConfigrequest, including the status of the request.
- On failure, responds with
SdkError<CreateResolverQueryLogConfigError>
sourcepub fn create_resolver_rule(&self) -> CreateResolverRule
pub fn create_resolver_rule(&self) -> CreateResolverRule
Constructs a fluent builder for the CreateResolverRule operation.
- The fluent builder is configurable:
creator_request_id(impl Into<String>)/set_creator_request_id(Option<String>):A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.name(impl Into<String>)/set_name(Option<String>):A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
rule_type(RuleTypeOption)/set_rule_type(Option<RuleTypeOption>):When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD.When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify
SYSTEM.For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARDforRuleType. To then have Resolver process queries for apex.example.com, you create a rule and specifySYSTEMforRuleType.Currently, only Resolver can create rules that have a value of
RECURSIVEforRuleType.domain_name(impl Into<String>)/set_domain_name(Option<String>):DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com).target_ips(Vec<TargetAddress>)/set_target_ips(Option<Vec<TargetAddress>>):The IPs that you want Resolver to forward DNS queries to. You can specify only IPv4 addresses. Separate IP addresses with a space.
TargetIpsis available only when the value ofRule typeisFORWARD.resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in
TargetIps.tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of the tag keys and values that you want to associate with the endpoint.
- On success, responds with
CreateResolverRuleOutputwith field(s):resolver_rule(Option<ResolverRule>):Information about the
CreateResolverRulerequest, including the status of the request.
- On failure, responds with
SdkError<CreateResolverRuleError>
sourcepub fn delete_firewall_domain_list(&self) -> DeleteFirewallDomainList
pub fn delete_firewall_domain_list(&self) -> DeleteFirewallDomainList
Constructs a fluent builder for the DeleteFirewallDomainList operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list that you want to delete.
- On success, responds with
DeleteFirewallDomainListOutputwith field(s):firewall_domain_list(Option<FirewallDomainList>):The domain list that you just deleted.
- On failure, responds with
SdkError<DeleteFirewallDomainListError>
sourcepub fn delete_firewall_rule(&self) -> DeleteFirewallRule
pub fn delete_firewall_rule(&self) -> DeleteFirewallRule
Constructs a fluent builder for the DeleteFirewallRule operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group that you want to delete the rule from.
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list that’s used in the rule.
- On success, responds with
DeleteFirewallRuleOutputwith field(s):firewall_rule(Option<FirewallRule>):The specification for the firewall rule that you just deleted.
- On failure, responds with
SdkError<DeleteFirewallRuleError>
sourcepub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroup
pub fn delete_firewall_rule_group(&self) -> DeleteFirewallRuleGroup
Constructs a fluent builder for the DeleteFirewallRuleGroup operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group that you want to delete.
- On success, responds with
DeleteFirewallRuleGroupOutputwith field(s):firewall_rule_group(Option<FirewallRuleGroup>):A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<DeleteFirewallRuleGroupError>
sourcepub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpoint
pub fn delete_resolver_endpoint(&self) -> DeleteResolverEndpoint
Constructs a fluent builder for the DeleteResolverEndpoint operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to delete.
- On success, responds with
DeleteResolverEndpointOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):Information about the
DeleteResolverEndpointrequest, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverEndpointError>
sourcepub fn delete_resolver_query_log_config(&self) -> DeleteResolverQueryLogConfig
pub fn delete_resolver_query_log_config(&self) -> DeleteResolverQueryLogConfig
Constructs a fluent builder for the DeleteResolverQueryLogConfig operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)/set_resolver_query_log_config_id(Option<String>):The ID of the query logging configuration that you want to delete.
- On success, responds with
DeleteResolverQueryLogConfigOutputwith field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>):Information about the query logging configuration that you deleted, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverQueryLogConfigError>
sourcepub fn delete_resolver_rule(&self) -> DeleteResolverRule
pub fn delete_resolver_rule(&self) -> DeleteResolverRule
Constructs a fluent builder for the DeleteResolverRule operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)/set_resolver_rule_id(Option<String>):The ID of the Resolver rule that you want to delete.
- On success, responds with
DeleteResolverRuleOutputwith field(s):resolver_rule(Option<ResolverRule>):Information about the
DeleteResolverRulerequest, including the status of the request.
- On failure, responds with
SdkError<DeleteResolverRuleError>
sourcepub fn disassociate_firewall_rule_group(&self) -> DisassociateFirewallRuleGroup
pub fn disassociate_firewall_rule_group(&self) -> DisassociateFirewallRuleGroup
Constructs a fluent builder for the DisassociateFirewallRuleGroup operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)/set_firewall_rule_group_association_id(Option<String>):The identifier of the
FirewallRuleGroupAssociation.
- On success, responds with
DisassociateFirewallRuleGroupOutputwith field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>):The firewall rule group association that you just removed.
- On failure, responds with
SdkError<DisassociateFirewallRuleGroupError>
sourcepub fn disassociate_resolver_endpoint_ip_address(
&self
) -> DisassociateResolverEndpointIpAddress
pub fn disassociate_resolver_endpoint_ip_address(
&self
) -> DisassociateResolverEndpointIpAddress
Constructs a fluent builder for the DisassociateResolverEndpointIpAddress operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to disassociate an IP address from.
ip_address(IpAddressUpdate)/set_ip_address(Option<IpAddressUpdate>):The IPv4 address that you want to remove from a Resolver endpoint.
- On success, responds with
DisassociateResolverEndpointIpAddressOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):The response to an
DisassociateResolverEndpointIpAddressrequest.
- On failure, responds with
SdkError<DisassociateResolverEndpointIpAddressError>
sourcepub fn disassociate_resolver_query_log_config(
&self
) -> DisassociateResolverQueryLogConfig
pub fn disassociate_resolver_query_log_config(
&self
) -> DisassociateResolverQueryLogConfig
Constructs a fluent builder for the DisassociateResolverQueryLogConfig operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)/set_resolver_query_log_config_id(Option<String>):The ID of the query logging configuration that you want to disassociate a specified VPC from.
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the Amazon VPC that you want to disassociate from a specified query logging configuration.
- On success, responds with
DisassociateResolverQueryLogConfigOutputwith field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>):A complex type that contains settings for the association that you deleted between an Amazon VPC and a query logging configuration.
- On failure, responds with
SdkError<DisassociateResolverQueryLogConfigError>
sourcepub fn disassociate_resolver_rule(&self) -> DisassociateResolverRule
pub fn disassociate_resolver_rule(&self) -> DisassociateResolverRule
Constructs a fluent builder for the DisassociateResolverRule operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The ID of the VPC that you want to disassociate the Resolver rule from.
resolver_rule_id(impl Into<String>)/set_resolver_rule_id(Option<String>):The ID of the Resolver rule that you want to disassociate from the specified VPC.
- On success, responds with
DisassociateResolverRuleOutputwith field(s):resolver_rule_association(Option<ResolverRuleAssociation>):Information about the
DisassociateResolverRulerequest, including the status of the request.
- On failure, responds with
SdkError<DisassociateResolverRuleError>
sourcepub fn get_firewall_config(&self) -> GetFirewallConfig
pub fn get_firewall_config(&self) -> GetFirewallConfig
Constructs a fluent builder for the GetFirewallConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the VPC from Amazon VPC that the configuration is for.
- On success, responds with
GetFirewallConfigOutputwith field(s):firewall_config(Option<FirewallConfig>):Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.
- On failure, responds with
SdkError<GetFirewallConfigError>
sourcepub fn get_firewall_domain_list(&self) -> GetFirewallDomainList
pub fn get_firewall_domain_list(&self) -> GetFirewallDomainList
Constructs a fluent builder for the GetFirewallDomainList operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list.
- On success, responds with
GetFirewallDomainListOutputwith field(s):firewall_domain_list(Option<FirewallDomainList>):The domain list that you requested.
- On failure, responds with
SdkError<GetFirewallDomainListError>
sourcepub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroup
pub fn get_firewall_rule_group(&self) -> GetFirewallRuleGroup
Constructs a fluent builder for the GetFirewallRuleGroup operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group.
- On success, responds with
GetFirewallRuleGroupOutputwith field(s):firewall_rule_group(Option<FirewallRuleGroup>):A collection of rules used to filter DNS network traffic.
- On failure, responds with
SdkError<GetFirewallRuleGroupError>
sourcepub fn get_firewall_rule_group_association(
&self
) -> GetFirewallRuleGroupAssociation
pub fn get_firewall_rule_group_association(
&self
) -> GetFirewallRuleGroupAssociation
Constructs a fluent builder for the GetFirewallRuleGroupAssociation operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)/set_firewall_rule_group_association_id(Option<String>):The identifier of the
FirewallRuleGroupAssociation.
- On success, responds with
GetFirewallRuleGroupAssociationOutputwith field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>):The association that you requested.
- On failure, responds with
SdkError<GetFirewallRuleGroupAssociationError>
sourcepub fn get_firewall_rule_group_policy(&self) -> GetFirewallRuleGroupPolicy
pub fn get_firewall_rule_group_policy(&self) -> GetFirewallRuleGroupPolicy
Constructs a fluent builder for the GetFirewallRuleGroupPolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The ARN (Amazon Resource Name) for the rule group.
- On success, responds with
GetFirewallRuleGroupPolicyOutputwith field(s):firewall_rule_group_policy(Option<String>):The Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
- On failure, responds with
SdkError<GetFirewallRuleGroupPolicyError>
sourcepub fn get_resolver_config(&self) -> GetResolverConfig
pub fn get_resolver_config(&self) -> GetResolverConfig
Constructs a fluent builder for the GetResolverConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):Resource ID of the Amazon VPC that you want to get information about.
- On success, responds with
GetResolverConfigOutputwith field(s):resolver_config(Option<ResolverConfig>):Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the
GetResolverConfigrequest.
- On failure, responds with
SdkError<GetResolverConfigError>
sourcepub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfig
pub fn get_resolver_dnssec_config(&self) -> GetResolverDnssecConfig
Constructs a fluent builder for the GetResolverDnssecConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the virtual private cloud (VPC) for the DNSSEC validation status.
- On success, responds with
GetResolverDnssecConfigOutputwith field(s):resolver_dnssec_config(Option<ResolverDnssecConfig>):The information about a configuration for DNSSEC validation.
- On failure, responds with
SdkError<GetResolverDnssecConfigError>
sourcepub fn get_resolver_endpoint(&self) -> GetResolverEndpoint
pub fn get_resolver_endpoint(&self) -> GetResolverEndpoint
Constructs a fluent builder for the GetResolverEndpoint operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to get information about.
- On success, responds with
GetResolverEndpointOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):Information about the Resolver endpoint that you specified in a
GetResolverEndpointrequest.
- On failure, responds with
SdkError<GetResolverEndpointError>
sourcepub fn get_resolver_query_log_config(&self) -> GetResolverQueryLogConfig
pub fn get_resolver_query_log_config(&self) -> GetResolverQueryLogConfig
Constructs a fluent builder for the GetResolverQueryLogConfig operation.
- The fluent builder is configurable:
resolver_query_log_config_id(impl Into<String>)/set_resolver_query_log_config_id(Option<String>):The ID of the Resolver query logging configuration that you want to get information about.
- On success, responds with
GetResolverQueryLogConfigOutputwith field(s):resolver_query_log_config(Option<ResolverQueryLogConfig>):Information about the Resolver query logging configuration that you specified in a
GetQueryLogConfigrequest.
- On failure, responds with
SdkError<GetResolverQueryLogConfigError>
sourcepub fn get_resolver_query_log_config_association(
&self
) -> GetResolverQueryLogConfigAssociation
pub fn get_resolver_query_log_config_association(
&self
) -> GetResolverQueryLogConfigAssociation
Constructs a fluent builder for the GetResolverQueryLogConfigAssociation operation.
- The fluent builder is configurable:
resolver_query_log_config_association_id(impl Into<String>)/set_resolver_query_log_config_association_id(Option<String>):The ID of the Resolver query logging configuration association that you want to get information about.
- On success, responds with
GetResolverQueryLogConfigAssociationOutputwith field(s):resolver_query_log_config_association(Option<ResolverQueryLogConfigAssociation>):Information about the Resolver query logging configuration association that you specified in a
GetQueryLogConfigAssociationrequest.
- On failure, responds with
SdkError<GetResolverQueryLogConfigAssociationError>
sourcepub fn get_resolver_query_log_config_policy(
&self
) -> GetResolverQueryLogConfigPolicy
pub fn get_resolver_query_log_config_policy(
&self
) -> GetResolverQueryLogConfigPolicy
Constructs a fluent builder for the GetResolverQueryLogConfigPolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The ARN of the query logging configuration that you want to get the query logging policy for.
- On success, responds with
GetResolverQueryLogConfigPolicyOutputwith 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
GetResolverQueryLogConfigPolicyrequest.
- On failure, responds with
SdkError<GetResolverQueryLogConfigPolicyError>
sourcepub fn get_resolver_rule(&self) -> GetResolverRule
pub fn get_resolver_rule(&self) -> GetResolverRule
Constructs a fluent builder for the GetResolverRule operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)/set_resolver_rule_id(Option<String>):The ID of the Resolver rule that you want to get information about.
- On success, responds with
GetResolverRuleOutputwith field(s):resolver_rule(Option<ResolverRule>):Information about the Resolver rule that you specified in a
GetResolverRulerequest.
- On failure, responds with
SdkError<GetResolverRuleError>
sourcepub fn get_resolver_rule_association(&self) -> GetResolverRuleAssociation
pub fn get_resolver_rule_association(&self) -> GetResolverRuleAssociation
Constructs a fluent builder for the GetResolverRuleAssociation operation.
- The fluent builder is configurable:
resolver_rule_association_id(impl Into<String>)/set_resolver_rule_association_id(Option<String>):The ID of the Resolver rule association that you want to get information about.
- On success, responds with
GetResolverRuleAssociationOutputwith field(s):resolver_rule_association(Option<ResolverRuleAssociation>):Information about the Resolver rule association that you specified in a
GetResolverRuleAssociationrequest.
- On failure, responds with
SdkError<GetResolverRuleAssociationError>
sourcepub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicy
pub fn get_resolver_rule_policy(&self) -> GetResolverRulePolicy
Constructs a fluent builder for the GetResolverRulePolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The ID of the Resolver rule that you want to get the Resolver rule policy for.
- On success, responds with
GetResolverRulePolicyOutputwith field(s):resolver_rule_policy(Option<String>):The Resolver rule policy for the rule that you specified in a
GetResolverRulePolicyrequest.
- On failure, responds with
SdkError<GetResolverRulePolicyError>
sourcepub fn import_firewall_domains(&self) -> ImportFirewallDomains
pub fn import_firewall_domains(&self) -> ImportFirewallDomains
Constructs a fluent builder for the ImportFirewallDomains operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list that you want to modify with the import operation.
operation(FirewallDomainImportOperation)/set_operation(Option<FirewallDomainImportOperation>):What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE, which updates the domain list to exactly match the list in the file.domain_file_url(impl Into<String>)/set_domain_file_url(Option<String>):The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.
The file must be in an S3 bucket that’s in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
- On success, responds with
ImportFirewallDomainsOutputwith field(s):id(Option<String>):The Id of the firewall domain list that DNS Firewall just updated.
name(Option<String>):The name of the domain list.
status(Option<FirewallDomainListStatus>):status_message(Option<String>):Additional information about the status of the list, if available.
- On failure, responds with
SdkError<ImportFirewallDomainsError>
sourcepub fn list_firewall_configs(&self) -> ListFirewallConfigs
pub fn list_firewall_configs(&self) -> ListFirewallConfigs
Constructs a fluent builder for the ListFirewallConfigs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallConfigsOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_configs(Option<Vec<FirewallConfig>>):The configurations for the firewall behavior provided by DNS Firewall for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
- On failure, responds with
SdkError<ListFirewallConfigsError>
sourcepub fn list_firewall_domain_lists(&self) -> ListFirewallDomainLists
pub fn list_firewall_domain_lists(&self) -> ListFirewallDomainLists
Constructs a fluent builder for the ListFirewallDomainLists operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallDomainListsOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_domain_lists(Option<Vec<FirewallDomainListMetadata>>):A list of the domain lists that you have defined.
This might be a partial list of the domain lists that you’ve defined. For information, see
MaxResults.
- On failure, responds with
SdkError<ListFirewallDomainListsError>
sourcepub fn list_firewall_domains(&self) -> ListFirewallDomains
pub fn list_firewall_domains(&self) -> ListFirewallDomains
Constructs a fluent builder for the ListFirewallDomains operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list whose domains you want to retrieve.
max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallDomainsOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
domains(Option<Vec<String>>):A list of the domains in the firewall domain list.
This might be a partial list of the domains that you’ve defined in the domain list. For information, see
MaxResults.
- On failure, responds with
SdkError<ListFirewallDomainsError>
sourcepub fn list_firewall_rule_group_associations(
&self
) -> ListFirewallRuleGroupAssociations
pub fn list_firewall_rule_group_associations(
&self
) -> ListFirewallRuleGroupAssociations
Constructs a fluent builder for the ListFirewallRuleGroupAssociations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
priority(i32)/set_priority(Option<i32>):The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
status(FirewallRuleGroupAssociationStatus)/set_status(Option<FirewallRuleGroupAssociationStatus>):The association
Statussetting that you want DNS Firewall to filter on for the list. If you don’t specify this, then DNS Firewall returns all associations, regardless of status.max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallRuleGroupAssociationsOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rule_group_associations(Option<Vec<FirewallRuleGroupAssociation>>):A list of your firewall rule group associations.
This might be a partial list of the associations that you have defined. For information, see
MaxResults.
- On failure, responds with
SdkError<ListFirewallRuleGroupAssociationsError>
sourcepub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroups
pub fn list_firewall_rule_groups(&self) -> ListFirewallRuleGroups
Constructs a fluent builder for the ListFirewallRuleGroups operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallRuleGroupsOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rule_groups(Option<Vec<FirewallRuleGroupMetadata>>):A list of your firewall rule groups.
This might be a partial list of the rule groups that you have defined. For information, see
MaxResults.
- On failure, responds with
SdkError<ListFirewallRuleGroupsError>
sourcepub fn list_firewall_rules(&self) -> ListFirewallRules
pub fn list_firewall_rules(&self) -> ListFirewallRules
Constructs a fluent builder for the ListFirewallRules operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group that you want to retrieve the rules for.
priority(i32)/set_priority(Option<i32>):Optional additional filter for the rules to retrieve.
The setting that determines the processing order of the rules in a rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
action(Action)/set_action(Option<Action>):Optional additional filter for the rules to retrieve.
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW- Permit the request to go through. -
ALERT- Permit the request to go through but send an alert to the logs. -
BLOCK- Disallow the request. If this is specified, additional handling details are provided in the rule’sBlockResponsesetting.
-
max_results(i32)/set_max_results(Option<i32>):The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don’t specify a value for
MaxResults, Resolver returns up to 100 objects.next_token(impl Into<String>)/set_next_token(Option<String>):For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue 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
ListFirewallRulesOutputwith field(s):next_token(Option<String>):If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
firewall_rules(Option<Vec<FirewallRule>>):A list of the rules that you have defined.
This might be a partial list of the firewall rules that you’ve defined. For information, see
MaxResults.
- On failure, responds with
SdkError<ListFirewallRulesError>
sourcepub fn list_resolver_configs(&self) -> ListResolverConfigs
pub fn list_resolver_configs(&self) -> ListResolverConfigs
Constructs a fluent builder for the ListResolverConfigs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of Resolver configurations that you want to return in the response to a
ListResolverConfigsrequest. If you don’t specify a value forMaxResults, up to 100 Resolver configurations are returned.next_token(impl Into<String>)/set_next_token(Option<String>):(Optional) If the current Amazon Web Services account has more than
MaxResultsResolver configurations, useNextTokento get the second and subsequent pages of results.For the first
ListResolverConfigsrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.
- On success, responds with
ListResolverConfigsOutputwith 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,
NextTokendoesn’t appear in the response.If a response doesn’t include the last of the configurations, you can get more configurations by submitting another
ListResolverConfigsrequest. Get the value ofNextTokenthat Amazon Route 53 returned in the previous response and include it inNextTokenin the next request.resolver_configs(Option<Vec<ResolverConfig>>):An array that contains one
ResolverConfigselement for each Resolver configuration that is associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<ListResolverConfigsError>
sourcepub fn list_resolver_dnssec_configs(&self) -> ListResolverDnssecConfigs
pub fn list_resolver_dnssec_configs(&self) -> ListResolverDnssecConfigs
Constructs a fluent builder for the ListResolverDnssecConfigs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don’t specify a value for
MaxResults, Route 53 returns up to 100 configuration per page.next_token(impl Into<String>)/set_next_token(Option<String>):(Optional) If the current Amazon Web Services account has more than
MaxResultsDNSSEC configurations, useNextTokento get the second and subsequent pages of results.For the first
ListResolverDnssecConfigsrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of objects.
- On success, responds with
ListResolverDnssecConfigsOutputwith 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,
NextTokendoesn’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
NextTokenthat Amazon Route 53 returned in the previous response and include it inNextTokenin the next request.resolver_dnssec_configs(Option<Vec<ResolverDnssecConfig>>):An array that contains one ResolverDnssecConfig element for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<ListResolverDnssecConfigsError>
sourcepub fn list_resolver_endpoint_ip_addresses(
&self
) -> ListResolverEndpointIpAddresses
pub fn list_resolver_endpoint_ip_addresses(
&self
) -> ListResolverEndpointIpAddresses
Constructs a fluent builder for the ListResolverEndpointIpAddresses operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to get IP addresses for.
max_results(i32)/set_max_results(Option<i32>):The maximum number of IP addresses that you want to return in the response to a
ListResolverEndpointIpAddressesrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 IP addresses.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverEndpointIpAddressesrequest, omit this value.If the specified Resolver endpoint has more than
MaxResultsIP addresses, you can submit anotherListResolverEndpointIpAddressesrequest to get the next group of IP addresses. In the next request, specify the value ofNextTokenfrom the previous response.
- On success, responds with
ListResolverEndpointIpAddressesOutputwith field(s):next_token(Option<String>):If the specified endpoint has more than
MaxResultsIP addresses, you can submit anotherListResolverEndpointIpAddressesrequest to get the next group of IP addresses. In the next request, specify the value ofNextTokenfrom the previous response.max_results(Option<i32>):The value that you specified for
MaxResultsin the request.ip_addresses(Option<Vec<IpAddressResponse>>):Information about the IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
- On failure, responds with
SdkError<ListResolverEndpointIpAddressesError>
sourcepub fn list_resolver_endpoints(&self) -> ListResolverEndpoints
pub fn list_resolver_endpoints(&self) -> ListResolverEndpoints
Constructs a fluent builder for the ListResolverEndpoints operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of Resolver endpoints that you want to return in the response to a
ListResolverEndpointsrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 Resolver endpoints.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverEndpointsrequest, omit this value.If you have more than
MaxResultsResolver endpoints, you can submit anotherListResolverEndpointsrequest to get the next group of Resolver endpoints. In the next request, specify the value ofNextTokenfrom the previous response.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of Resolver endpoints, such as all inbound Resolver endpoints.
If you submit a second or subsequent
ListResolverEndpointsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.
- On success, responds with
ListResolverEndpointsOutputwith field(s):next_token(Option<String>):If more than
MaxResultsIP addresses match the specified criteria, you can submit anotherListResolverEndpointrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.max_results(Option<i32>):The value that you specified for
MaxResultsin the request.resolver_endpoints(Option<Vec<ResolverEndpoint>>):The Resolver endpoints that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverEndpointsError>
sourcepub fn list_resolver_query_log_config_associations(
&self
) -> ListResolverQueryLogConfigAssociations
pub fn list_resolver_query_log_config_associations(
&self
) -> ListResolverQueryLogConfigAssociations
Constructs a fluent builder for the ListResolverQueryLogConfigAssociations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of query logging associations that you want to return in the response to a
ListResolverQueryLogConfigAssociationsrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 query logging associations.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverQueryLogConfigAssociationsrequest, omit this value.If there are more than
MaxResultsquery logging associations that match the values that you specify forFilters, you can submit anotherListResolverQueryLogConfigAssociationsrequest to get the next group of associations. In the next request, specify the value ofNextTokenfrom the previous response.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of query logging associations.
If you submit a second or subsequent
ListResolverQueryLogConfigAssociationsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.sort_by(impl Into<String>)/set_sort_by(Option<String>):The element that you want Resolver to sort query logging associations by.
If you submit a second or subsequent
ListResolverQueryLogConfigAssociationsrequest and specify theNextTokenparameter, 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 ofStatusisFAILED, the value ofErrorindicates 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
Statusis a value other thanFAILED,ERRORis null. -
-
Id: The ID of the query logging association -
ResolverQueryLogConfigId: The ID of the query logging configuration -
ResourceId: The ID of the VPC that is associated with the query logging configuration -
Status: The current status of the configuration. Valid values include the following:-
CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging association. -
FAILED: Resolver either couldn’t create or couldn’t delete the query logging association. Here are two common causes:-
The specified destination (for example, an Amazon S3 bucket) was deleted.
-
Permissions don’t allow sending logs to the destination.
-
-
-
sort_order(SortOrder)/set_sort_order(Option<SortOrder>):If you specified a value for
SortBy, the order that you want query logging associations to be listed in,ASCENDINGorDESCENDING.If you submit a second or subsequent
ListResolverQueryLogConfigAssociationsrequest and specify theNextTokenparameter, you must use the same value forSortOrder, if any, as in the previous request.
- On success, responds with
ListResolverQueryLogConfigAssociationsOutputwith field(s):next_token(Option<String>):If there are more than
MaxResultsquery logging associations, you can submit anotherListResolverQueryLogConfigAssociationsrequest to get the next group of associations. In the next request, specify the value ofNextTokenfrom 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
ListResolverQueryLogConfigAssociationsresponse, 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
ListResolverQueryLogConfigAssociationsrequest. 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
ResolverQueryLogConfigAssociationselement for each query logging association that matches the values that you specified forFilter.
- On failure, responds with
SdkError<ListResolverQueryLogConfigAssociationsError>
sourcepub fn list_resolver_query_log_configs(&self) -> ListResolverQueryLogConfigs
pub fn list_resolver_query_log_configs(&self) -> ListResolverQueryLogConfigs
Constructs a fluent builder for the ListResolverQueryLogConfigs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of query logging configurations that you want to return in the response to a
ListResolverQueryLogConfigsrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 query logging configurations.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverQueryLogConfigsrequest, omit this value.If there are more than
MaxResultsquery logging configurations that match the values that you specify forFilters, you can submit anotherListResolverQueryLogConfigsrequest to get the next group of configurations. In the next request, specify the value ofNextTokenfrom the previous response.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of query logging configurations.
If you submit a second or subsequent
ListResolverQueryLogConfigsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.sort_by(impl Into<String>)/set_sort_by(Option<String>):The element that you want Resolver to sort query logging configurations by.
If you submit a second or subsequent
ListResolverQueryLogConfigsrequest and specify theNextTokenparameter, 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 forCreatorRequestIdwhen the configuration was created -
DestinationArn: The location that logs are sent to -
Id: The ID of the configuration -
Name: The name of the configuration -
OwnerId: The Amazon Web Services account number of the account that created the configuration -
ShareStatus: Whether the configuration is shared with other Amazon Web Services accounts or shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM). -
Status: The current status of the configuration. Valid values include the following:-
CREATING: Resolver is creating the query logging configuration. -
CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging configuration. -
FAILED: Resolver either couldn’t create or couldn’t delete the query logging configuration. Here are two common causes:-
The specified destination (for example, an Amazon S3 bucket) was deleted.
-
Permissions don’t allow sending logs to the destination.
-
-
-
sort_order(SortOrder)/set_sort_order(Option<SortOrder>):If you specified a value for
SortBy, the order that you want query logging configurations to be listed in,ASCENDINGorDESCENDING.If you submit a second or subsequent
ListResolverQueryLogConfigsrequest and specify theNextTokenparameter, you must use the same value forSortOrder, if any, as in the previous request.
- On success, responds with
ListResolverQueryLogConfigsOutputwith field(s):next_token(Option<String>):If there are more than
MaxResultsquery logging configurations, you can submit anotherListResolverQueryLogConfigsrequest to get the next group of configurations. In the next request, specify the value ofNextTokenfrom 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
ListResolverQueryLogConfigsresponse, 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
ListResolverQueryLogConfigsrequest. 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
ResolverQueryLogConfigelement for each query logging configuration that matches the values that you specified forFilter.
- On failure, responds with
SdkError<ListResolverQueryLogConfigsError>
sourcepub fn list_resolver_rule_associations(&self) -> ListResolverRuleAssociations
pub fn list_resolver_rule_associations(&self) -> ListResolverRuleAssociations
Constructs a fluent builder for the ListResolverRuleAssociations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of rule associations that you want to return in the response to a
ListResolverRuleAssociationsrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 rule associations.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverRuleAssociationrequest, omit this value.If you have more than
MaxResultsrule associations, you can submit anotherListResolverRuleAssociationrequest to get the next group of rule associations. In the next request, specify the value ofNextTokenfrom the previous response.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.
- On success, responds with
ListResolverRuleAssociationsOutputwith field(s):next_token(Option<String>):If more than
MaxResultsrule associations match the specified criteria, you can submit anotherListResolverRuleAssociationrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.max_results(Option<i32>):The value that you specified for
MaxResultsin the request.resolver_rule_associations(Option<Vec<ResolverRuleAssociation>>):The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverRuleAssociationsError>
sourcepub fn list_resolver_rules(&self) -> ListResolverRules
pub fn list_resolver_rules(&self) -> ListResolverRules
Constructs a fluent builder for the ListResolverRules operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of Resolver rules that you want to return in the response to a
ListResolverRulesrequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 Resolver rules.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListResolverRulesrequest, omit this value.If you have more than
MaxResultsResolver rules, you can submit anotherListResolverRulesrequest to get the next group of Resolver rules. In the next request, specify the value ofNextTokenfrom the previous response.filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent
ListResolverRulesrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.
- On success, responds with
ListResolverRulesOutputwith field(s):next_token(Option<String>):If more than
MaxResultsResolver rules match the specified criteria, you can submit anotherListResolverRulesrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.max_results(Option<i32>):The value that you specified for
MaxResultsin the request.resolver_rules(Option<Vec<ResolverRule>>):The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.
- On failure, responds with
SdkError<ListResolverRulesError>
Constructs a fluent builder for the ListTagsForResource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) for the resource that you want to list tags for.
max_results(i32)/set_max_results(Option<i32>):The maximum number of tags that you want to return in the response to a
ListTagsForResourcerequest. If you don’t specify a value forMaxResults, Resolver returns up to 100 tags.next_token(impl Into<String>)/set_next_token(Option<String>):For the first
ListTagsForResourcerequest, omit this value.If you have more than
MaxResultstags, you can submit anotherListTagsForResourcerequest to get the next group of tags for the resource. In the next request, specify the value ofNextTokenfrom the previous response.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<Vec<Tag>>):The tags that are associated with the resource that you specified in the
ListTagsForResourcerequest.next_token(Option<String>):If more than
MaxResultstags match the specified criteria, you can submit anotherListTagsForResourcerequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_firewall_rule_group_policy(&self) -> PutFirewallRuleGroupPolicy
pub fn put_firewall_rule_group_policy(&self) -> PutFirewallRuleGroupPolicy
Constructs a fluent builder for the PutFirewallRuleGroupPolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The ARN (Amazon Resource Name) for the rule group that you want to share.
firewall_rule_group_policy(impl Into<String>)/set_firewall_rule_group_policy(Option<String>):The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group.
- On success, responds with
PutFirewallRuleGroupPolicyOutputwith field(s): - On failure, responds with
SdkError<PutFirewallRuleGroupPolicyError>
sourcepub fn put_resolver_query_log_config_policy(
&self
) -> PutResolverQueryLogConfigPolicy
pub fn put_resolver_query_log_config_policy(
&self
) -> PutResolverQueryLogConfigPolicy
Constructs a fluent builder for the PutResolverQueryLogConfigPolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The Amazon Resource Name (ARN) of the account that you want to share rules with.
resolver_query_log_config_policy(impl Into<String>)/set_resolver_query_log_config_policy(Option<String>):An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the
Actionssection of the statement:-
route53resolver:AssociateResolverQueryLogConfig -
route53resolver:DisassociateResolverQueryLogConfig -
route53resolver:ListResolverQueryLogConfigAssociations -
route53resolver:ListResolverQueryLogConfigs
In the
Resourcesection 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
PutResolverQueryLogConfigPolicyOutputwith field(s):return_value(bool):Whether the
PutResolverQueryLogConfigPolicyrequest was successful.
- On failure, responds with
SdkError<PutResolverQueryLogConfigPolicyError>
sourcepub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicy
pub fn put_resolver_rule_policy(&self) -> PutResolverRulePolicy
Constructs a fluent builder for the PutResolverRulePolicy operation.
- The fluent builder is configurable:
arn(impl Into<String>)/set_arn(Option<String>):The Amazon Resource Name (ARN) of the rule that you want to share with another account.
resolver_rule_policy(impl Into<String>)/set_resolver_rule_policy(Option<String>):An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the
Actionsection of the statement:-
route53resolver:GetResolverRule -
route53resolver:AssociateResolverRule -
route53resolver:DisassociateResolverRule -
route53resolver:ListResolverRules -
route53resolver:ListResolverRuleAssociations
In the
Resourcesection 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
PutResolverRulePolicyOutputwith field(s):return_value(bool):Whether the
PutResolverRulePolicyrequest was successful.
- On failure, responds with
SdkError<PutResolverRulePolicyError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable
GetorListcommand:tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):The tags that you want to add to the specified resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) for the resource that you want to remove tags from. To get the ARN for a resource, use the applicable
GetorListcommand:tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):The tags that you want to remove to the specified resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_firewall_config(&self) -> UpdateFirewallConfig
pub fn update_firewall_config(&self) -> UpdateFirewallConfig
Constructs a fluent builder for the UpdateFirewallConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the VPC that the configuration is for.
firewall_fail_open(FirewallFailOpenStatus)/set_firewall_fail_open(Option<FirewallFailOpenStatus>):Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
-
- On success, responds with
UpdateFirewallConfigOutputwith field(s):firewall_config(Option<FirewallConfig>):Configuration of the firewall behavior provided by DNS Firewall for a single VPC.
- On failure, responds with
SdkError<UpdateFirewallConfigError>
sourcepub fn update_firewall_domains(&self) -> UpdateFirewallDomains
pub fn update_firewall_domains(&self) -> UpdateFirewallDomains
Constructs a fluent builder for the UpdateFirewallDomains operation.
- The fluent builder is configurable:
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list whose domains you want to update.
operation(FirewallDomainUpdateOperation)/set_operation(Option<FirewallDomainUpdateOperation>):What you want DNS Firewall to do with the domains that you are providing:
-
ADD- Add the domains to the ones that are already in the domain list. -
REMOVE- Search the domain list for the domains and remove them from the list. -
REPLACE- Update the domain list to exactly match the list that you are providing.
-
domains(Vec<String>)/set_domains(Option<Vec<String>>):A list of domains to use in the update operation.
Each domain specification in your domain list must satisfy the following requirements:
-
It can optionally start with
*(asterisk). -
With the exception of the optional starting asterisk, it must only contain the following characters:
A-Z,a-z,0-9,-(hyphen). -
It must be from 1-255 characters in length.
-
- On success, responds with
UpdateFirewallDomainsOutputwith field(s):id(Option<String>):The ID of the firewall domain list that DNS Firewall just updated.
name(Option<String>):The name of the domain list.
status(Option<FirewallDomainListStatus>):status_message(Option<String>):Additional information about the status of the list, if available.
- On failure, responds with
SdkError<UpdateFirewallDomainsError>
sourcepub fn update_firewall_rule(&self) -> UpdateFirewallRule
pub fn update_firewall_rule(&self) -> UpdateFirewallRule
Constructs a fluent builder for the UpdateFirewallRule operation.
- The fluent builder is configurable:
firewall_rule_group_id(impl Into<String>)/set_firewall_rule_group_id(Option<String>):The unique identifier of the firewall rule group for the rule.
firewall_domain_list_id(impl Into<String>)/set_firewall_domain_list_id(Option<String>):The ID of the domain list to use in the rule.
priority(i32)/set_priority(Option<i32>):The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
action(Action)/set_action(Option<Action>):The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule’s domain list:
-
ALLOW- Permit the request to go through. -
ALERT- Permit the request to go through but send an alert to the logs. -
BLOCK- Disallow the request. This option requires additional details in the rule’sBlockResponse.
-
block_response(BlockResponse)/set_block_response(Option<BlockResponse>):The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK.-
NODATA- Respond indicating that the query was successful, but no response is available for it. -
NXDOMAIN- Respond indicating that the domain name that’s in the query doesn’t exist. -
OVERRIDE- Provide a custom override in the response. This option requires custom handling details in the rule’sBlockOverride*settings.
-
block_override_domain(impl Into<String>)/set_block_override_domain(Option<String>):The custom DNS record to send back in response to the query. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.block_override_dns_type(BlockOverrideDnsType)/set_block_override_dns_type(Option<BlockOverrideDnsType>):The DNS record’s type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.block_override_ttl(i32)/set_block_override_ttl(Option<i32>):The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.name(impl Into<String>)/set_name(Option<String>):The name of the rule.
- On success, responds with
UpdateFirewallRuleOutputwith field(s):firewall_rule(Option<FirewallRule>):The firewall rule that you just updated.
- On failure, responds with
SdkError<UpdateFirewallRuleError>
sourcepub fn update_firewall_rule_group_association(
&self
) -> UpdateFirewallRuleGroupAssociation
pub fn update_firewall_rule_group_association(
&self
) -> UpdateFirewallRuleGroupAssociation
Constructs a fluent builder for the UpdateFirewallRuleGroupAssociation operation.
- The fluent builder is configurable:
firewall_rule_group_association_id(impl Into<String>)/set_firewall_rule_group_association_id(Option<String>):The identifier of the
FirewallRuleGroupAssociation.priority(i32)/set_priority(Option<i32>):The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
mutation_protection(MutationProtectionStatus)/set_mutation_protection(Option<MutationProtectionStatus>):If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
name(impl Into<String>)/set_name(Option<String>):The name of the rule group association.
- On success, responds with
UpdateFirewallRuleGroupAssociationOutputwith field(s):firewall_rule_group_association(Option<FirewallRuleGroupAssociation>):The association that you just updated.
- On failure, responds with
SdkError<UpdateFirewallRuleGroupAssociationError>
sourcepub fn update_resolver_config(&self) -> UpdateResolverConfig
pub fn update_resolver_config(&self) -> UpdateResolverConfig
Constructs a fluent builder for the UpdateResolverConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
autodefined_reverse_flag(AutodefinedReverseFlag)/set_autodefined_reverse_flag(Option<AutodefinedReverseFlag>):Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide.
It can take some time for the status change to be completed.
- On success, responds with
UpdateResolverConfigOutputwith field(s):resolver_config(Option<ResolverConfig>):An array that contains settings for the specified Resolver configuration.
- On failure, responds with
SdkError<UpdateResolverConfigError>
sourcepub fn update_resolver_dnssec_config(&self) -> UpdateResolverDnssecConfig
pub fn update_resolver_dnssec_config(&self) -> UpdateResolverDnssecConfig
Constructs a fluent builder for the UpdateResolverDnssecConfig operation.
- The fluent builder is configurable:
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
validation(Validation)/set_validation(Option<Validation>):The new value that you are specifying for DNSSEC validation for the VPC. The value can be
ENABLEorDISABLE. Be aware that it can take time for a validation status change to be completed.
- On success, responds with
UpdateResolverDnssecConfigOutputwith field(s):resolver_dnssec_config(Option<ResolverDnssecConfig>):A complex type that contains settings for the specified DNSSEC configuration.
- On failure, responds with
SdkError<UpdateResolverDnssecConfigError>
sourcepub fn update_resolver_endpoint(&self) -> UpdateResolverEndpoint
pub fn update_resolver_endpoint(&self) -> UpdateResolverEndpoint
Constructs a fluent builder for the UpdateResolverEndpoint operation.
- The fluent builder is configurable:
resolver_endpoint_id(impl Into<String>)/set_resolver_endpoint_id(Option<String>):The ID of the Resolver endpoint that you want to update.
name(impl Into<String>)/set_name(Option<String>):The name of the Resolver endpoint that you want to update.
- On success, responds with
UpdateResolverEndpointOutputwith field(s):resolver_endpoint(Option<ResolverEndpoint>):The response to an
UpdateResolverEndpointrequest.
- On failure, responds with
SdkError<UpdateResolverEndpointError>
sourcepub fn update_resolver_rule(&self) -> UpdateResolverRule
pub fn update_resolver_rule(&self) -> UpdateResolverRule
Constructs a fluent builder for the UpdateResolverRule operation.
- The fluent builder is configurable:
resolver_rule_id(impl Into<String>)/set_resolver_rule_id(Option<String>):The ID of the Resolver rule that you want to update.
config(ResolverRuleConfig)/set_config(Option<ResolverRuleConfig>):The new settings for the Resolver rule.
- On success, responds with
UpdateResolverRuleOutputwith field(s):resolver_rule(Option<ResolverRule>):The response to an
UpdateResolverRulerequest.
- On failure, responds with
SdkError<UpdateResolverRuleError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more