Struct aws_sdk_lightsail::client::fluent_builders::CreateDomainEntry [−][src]
pub struct CreateDomainEntry<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDomainEntry
.
Creates one of the following domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The create domain entry
operation supports tag-based access control via resource tags applied to the resource identified by domain name
. For more information, see the Amazon Lightsail Developer Guide.
Implementations
impl<C, M, R> CreateDomainEntry<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDomainEntry<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDomainEntryOutput, SdkError<CreateDomainEntryError>> where
R::Policy: SmithyRetryPolicy<CreateDomainEntryInputOperationOutputAlias, CreateDomainEntryOutput, CreateDomainEntryError, CreateDomainEntryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDomainEntryOutput, SdkError<CreateDomainEntryError>> where
R::Policy: SmithyRetryPolicy<CreateDomainEntryInputOperationOutputAlias, CreateDomainEntryOutput, CreateDomainEntryError, CreateDomainEntryInputOperationRetryAlias>,
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 domain name (e.g., example.com
) for which you want to create the domain entry.
The domain name (e.g., example.com
) for which you want to create the domain entry.
An array of key-value pairs containing information about the domain entry request.
An array of key-value pairs containing information about the domain entry request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateDomainEntry<C, M, R>
impl<C, M, R> Send for CreateDomainEntry<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDomainEntry<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDomainEntry<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDomainEntry<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