Struct aws_sdk_ssm::client::fluent_builders::ResumeSession [−][src]
pub struct ResumeSession<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ResumeSession
.
Reconnects a session to an instance after it has been disconnected. Connections can be resumed for disconnected sessions, but not terminated sessions.
This command is primarily for use by client machines to automatically reconnect during intermittent network issues. It isn't intended for any other use.
Implementations
impl<C, M, R> ResumeSession<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ResumeSession<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ResumeSessionOutput, SdkError<ResumeSessionError>> where
R::Policy: SmithyRetryPolicy<ResumeSessionInputOperationOutputAlias, ResumeSessionOutput, ResumeSessionError, ResumeSessionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ResumeSessionOutput, SdkError<ResumeSessionError>> where
R::Policy: SmithyRetryPolicy<ResumeSessionInputOperationOutputAlias, ResumeSessionOutput, ResumeSessionError, ResumeSessionInputOperationRetryAlias>,
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 disconnected session to resume.
The ID of the disconnected session to resume.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ResumeSession<C, M, R>
impl<C, M, R> Unpin for ResumeSession<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ResumeSession<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