pub struct RebootWorkspaces { /* private fields */ }
Expand description
Fluent builder constructing a request to RebootWorkspaces
.
Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE
or UNHEALTHY
.
This operation is asynchronous and returns before the WorkSpaces have rebooted.
Implementations§
source§impl RebootWorkspaces
impl RebootWorkspaces
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RebootWorkspaces, AwsResponseRetryClassifier>, SdkError<RebootWorkspacesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RebootWorkspaces, AwsResponseRetryClassifier>, SdkError<RebootWorkspacesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<RebootWorkspacesOutput, SdkError<RebootWorkspacesError>>
pub async fn send(
self
) -> Result<RebootWorkspacesOutput, SdkError<RebootWorkspacesError>>
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.
sourcepub fn reboot_workspace_requests(self, input: RebootRequest) -> Self
pub fn reboot_workspace_requests(self, input: RebootRequest) -> Self
Appends an item to RebootWorkspaceRequests
.
To override the contents of this collection use set_reboot_workspace_requests
.
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
sourcepub fn set_reboot_workspace_requests(
self,
input: Option<Vec<RebootRequest>>
) -> Self
pub fn set_reboot_workspace_requests(
self,
input: Option<Vec<RebootRequest>>
) -> Self
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
Trait Implementations§
source§impl Clone for RebootWorkspaces
impl Clone for RebootWorkspaces
source§fn clone(&self) -> RebootWorkspaces
fn clone(&self) -> RebootWorkspaces
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more