pub struct RebuildWorkspaces { /* private fields */ }
Expand description
Fluent builder constructing a request to RebuildWorkspaces
.
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE
, ERROR
, UNHEALTHY
, STOPPED
, or REBOOTING
.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
Implementations§
source§impl RebuildWorkspaces
impl RebuildWorkspaces
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RebuildWorkspaces, AwsResponseRetryClassifier>, SdkError<RebuildWorkspacesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RebuildWorkspaces, AwsResponseRetryClassifier>, SdkError<RebuildWorkspacesError>>
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<RebuildWorkspacesOutput, SdkError<RebuildWorkspacesError>>
pub async fn send(
self
) -> Result<RebuildWorkspacesOutput, SdkError<RebuildWorkspacesError>>
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 rebuild_workspace_requests(self, input: RebuildRequest) -> Self
pub fn rebuild_workspace_requests(self, input: RebuildRequest) -> Self
Appends an item to RebuildWorkspaceRequests
.
To override the contents of this collection use set_rebuild_workspace_requests
.
The WorkSpace to rebuild. You can specify a single WorkSpace.
sourcepub fn set_rebuild_workspace_requests(
self,
input: Option<Vec<RebuildRequest>>
) -> Self
pub fn set_rebuild_workspace_requests(
self,
input: Option<Vec<RebuildRequest>>
) -> Self
The WorkSpace to rebuild. You can specify a single WorkSpace.
Trait Implementations§
source§impl Clone for RebuildWorkspaces
impl Clone for RebuildWorkspaces
source§fn clone(&self) -> RebuildWorkspaces
fn clone(&self) -> RebuildWorkspaces
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more