Struct aws_sdk_opensearch::client::fluent_builders::CreateOutboundConnection [−][src]
pub struct CreateOutboundConnection<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateOutboundConnection
.
Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.
Implementations
impl<C, M, R> CreateOutboundConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateOutboundConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError>> where
R::Policy: SmithyRetryPolicy<CreateOutboundConnectionInputOperationOutputAlias, CreateOutboundConnectionOutput, CreateOutboundConnectionError, CreateOutboundConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError>> where
R::Policy: SmithyRetryPolicy<CreateOutboundConnectionInputOperationOutputAlias, CreateOutboundConnectionOutput, CreateOutboundConnectionError, CreateOutboundConnectionInputOperationRetryAlias>,
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
AWSDomainInformation
for the local OpenSearch domain.
The
AWSDomainInformation
for the local OpenSearch domain.
The
AWSDomainInformation
for the remote OpenSearch domain.
The
AWSDomainInformation
for the remote OpenSearch domain.
The connection alias used used by the customer for this cross-cluster connection.
The connection alias used used by the customer for this cross-cluster connection.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateOutboundConnection<C, M, R>
impl<C, M, R> Send for CreateOutboundConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateOutboundConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateOutboundConnection<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateOutboundConnection<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