Struct aws_sdk_route53resolver::input::ImportFirewallDomainsInput [−][src]
#[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
pub 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
>
Creates a new builder-style object to manufacture ImportFirewallDomainsInput
The ID of the domain list that you want to modify with the import operation.
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.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more