Struct aws_sdk_route53resolver::client::fluent_builders::ImportFirewallDomains [−][src]
pub struct ImportFirewallDomains<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ImportFirewallDomains
.
Imports domain names from a file into a domain list, for use in a DNS firewall rule group.
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
impl<C, M, R> ImportFirewallDomains<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ImportFirewallDomains<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ImportFirewallDomainsOutput, SdkError<ImportFirewallDomainsError>> where
R::Policy: SmithyRetryPolicy<ImportFirewallDomainsInputOperationOutputAlias, ImportFirewallDomainsOutput, ImportFirewallDomainsError, ImportFirewallDomainsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ImportFirewallDomainsOutput, SdkError<ImportFirewallDomainsError>> where
R::Policy: SmithyRetryPolicy<ImportFirewallDomainsInputOperationOutputAlias, ImportFirewallDomainsOutput, ImportFirewallDomainsError, ImportFirewallDomainsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the domain list that you want to modify with the import operation.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ImportFirewallDomains<C, M, R>
impl<C, M, R> Send for ImportFirewallDomains<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ImportFirewallDomains<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ImportFirewallDomains<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ImportFirewallDomains<C, M, R>
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