Struct aws_sdk_route53resolver::operation::update_firewall_domains::UpdateFirewallDomainsInput
source · #[non_exhaustive]pub struct UpdateFirewallDomainsInput {
pub firewall_domain_list_id: Option<String>,
pub operation: Option<FirewallDomainUpdateOperation>,
pub domains: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.firewall_domain_list_id: Option<String>
The ID of the domain list whose domains you want to update.
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: Option<Vec<String>>
A 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.
Implementations§
source§impl UpdateFirewallDomainsInput
impl UpdateFirewallDomainsInput
sourcepub fn firewall_domain_list_id(&self) -> Option<&str>
pub fn firewall_domain_list_id(&self) -> Option<&str>
The ID of the domain list whose domains you want to update.
sourcepub fn operation(&self) -> Option<&FirewallDomainUpdateOperation>
pub fn operation(&self) -> 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.
sourcepub fn domains(&self) -> &[String]
pub fn domains(&self) -> &[String]
A 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .domains.is_none()
.
source§impl UpdateFirewallDomainsInput
impl UpdateFirewallDomainsInput
sourcepub fn builder() -> UpdateFirewallDomainsInputBuilder
pub fn builder() -> UpdateFirewallDomainsInputBuilder
Creates a new builder-style object to manufacture UpdateFirewallDomainsInput
.
Trait Implementations§
source§impl Clone for UpdateFirewallDomainsInput
impl Clone for UpdateFirewallDomainsInput
source§fn clone(&self) -> UpdateFirewallDomainsInput
fn clone(&self) -> UpdateFirewallDomainsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFirewallDomainsInput
impl Debug for UpdateFirewallDomainsInput
source§impl PartialEq for UpdateFirewallDomainsInput
impl PartialEq for UpdateFirewallDomainsInput
source§fn eq(&self, other: &UpdateFirewallDomainsInput) -> bool
fn eq(&self, other: &UpdateFirewallDomainsInput) -> bool
self
and other
values to be equal, and is used
by ==
.