#[non_exhaustive]pub struct ImportFirewallDomainsInput {
pub firewall_domain_list_id: Option<String>,
pub operation: Option<FirewallDomainImportOperation>,
pub domain_file_url: Option<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 that you want to modify with the import operation.
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: 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.
Implementations
sourceimpl ImportFirewallDomainsInput
impl ImportFirewallDomainsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportFirewallDomains, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportFirewallDomains, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ImportFirewallDomains
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportFirewallDomainsInput
sourceimpl ImportFirewallDomainsInput
impl ImportFirewallDomainsInput
sourcepub fn firewall_domain_list_id(&self) -> Option<&str>
pub fn firewall_domain_list_id(&self) -> Option<&str>
The ID of the domain list that you want to modify with the import operation.
sourcepub fn operation(&self) -> Option<&FirewallDomainImportOperation>
pub fn operation(&self) -> 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.
sourcepub fn domain_file_url(&self) -> Option<&str>
pub fn domain_file_url(&self) -> Option<&str>
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.
Trait Implementations
sourceimpl Clone for ImportFirewallDomainsInput
impl Clone for ImportFirewallDomainsInput
sourcefn clone(&self) -> ImportFirewallDomainsInput
fn clone(&self) -> ImportFirewallDomainsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImportFirewallDomainsInput
impl Debug for ImportFirewallDomainsInput
sourceimpl PartialEq<ImportFirewallDomainsInput> for ImportFirewallDomainsInput
impl PartialEq<ImportFirewallDomainsInput> for ImportFirewallDomainsInput
sourcefn eq(&self, other: &ImportFirewallDomainsInput) -> bool
fn eq(&self, other: &ImportFirewallDomainsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportFirewallDomainsInput) -> bool
fn ne(&self, other: &ImportFirewallDomainsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImportFirewallDomainsInput
Auto Trait Implementations
impl RefUnwindSafe for ImportFirewallDomainsInput
impl Send for ImportFirewallDomainsInput
impl Sync for ImportFirewallDomainsInput
impl Unpin for ImportFirewallDomainsInput
impl UnwindSafe for ImportFirewallDomainsInput
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