Struct aws_sdk_workspaces::client::fluent_builders::CreateWorkspaces
source · [−]pub struct CreateWorkspaces { /* private fields */ }Expand description
Fluent builder constructing a request to CreateWorkspaces.
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
Implementations
sourceimpl CreateWorkspaces
impl CreateWorkspaces
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkspaces, AwsResponseRetryClassifier>, SdkError<CreateWorkspacesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkspaces, AwsResponseRetryClassifier>, SdkError<CreateWorkspacesError>>
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<CreateWorkspacesOutput, SdkError<CreateWorkspacesError>>
pub async fn send(
self
) -> Result<CreateWorkspacesOutput, SdkError<CreateWorkspacesError>>
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 workspaces(self, input: WorkspaceRequest) -> Self
pub fn workspaces(self, input: WorkspaceRequest) -> Self
Appends an item to Workspaces.
To override the contents of this collection use set_workspaces.
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
sourcepub fn set_workspaces(self, input: Option<Vec<WorkspaceRequest>>) -> Self
pub fn set_workspaces(self, input: Option<Vec<WorkspaceRequest>>) -> Self
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
Trait Implementations
sourceimpl Clone for CreateWorkspaces
impl Clone for CreateWorkspaces
sourcefn clone(&self) -> CreateWorkspaces
fn clone(&self) -> CreateWorkspaces
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more