pub struct EnableDomainTransferLock<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to EnableDomainTransferLock
.
This operation sets the transfer lock on the domain (specifically the clientTransferProhibited
status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
Implementations
impl<C, M, R> EnableDomainTransferLock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> EnableDomainTransferLock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<EnableDomainTransferLockOutput, SdkError<EnableDomainTransferLockError>> where
R::Policy: SmithyRetryPolicy<EnableDomainTransferLockInputOperationOutputAlias, EnableDomainTransferLockOutput, EnableDomainTransferLockError, EnableDomainTransferLockInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<EnableDomainTransferLockOutput, SdkError<EnableDomainTransferLockError>> where
R::Policy: SmithyRetryPolicy<EnableDomainTransferLockInputOperationOutputAlias, EnableDomainTransferLockOutput, EnableDomainTransferLockError, EnableDomainTransferLockInputOperationRetryAlias>,
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 name of the domain that you want to set the transfer lock for.
The name of the domain that you want to set the transfer lock for.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for EnableDomainTransferLock<C, M, R>
impl<C, M, R> Send for EnableDomainTransferLock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for EnableDomainTransferLock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for EnableDomainTransferLock<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for EnableDomainTransferLock<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