Struct aws_sdk_personalize::operation::stop_solution_version_creation::builders::StopSolutionVersionCreationFluentBuilder
source · pub struct StopSolutionVersionCreationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopSolutionVersionCreation
.
Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
Depending on the current state of the solution version, the solution version state changes as follows:
-
CREATE_PENDING > CREATE_STOPPED
or
-
CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED
You are billed for all of the training completed up until you stop the solution version creation. You cannot resume creating a solution version once it has been stopped.
Implementations§
source§impl StopSolutionVersionCreationFluentBuilder
impl StopSolutionVersionCreationFluentBuilder
sourcepub fn as_input(&self) -> &StopSolutionVersionCreationInputBuilder
pub fn as_input(&self) -> &StopSolutionVersionCreationInputBuilder
Access the StopSolutionVersionCreation as a reference.
sourcepub async fn send(
self
) -> Result<StopSolutionVersionCreationOutput, SdkError<StopSolutionVersionCreationError, HttpResponse>>
pub async fn send( self ) -> Result<StopSolutionVersionCreationOutput, SdkError<StopSolutionVersionCreationError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<StopSolutionVersionCreationOutput, StopSolutionVersionCreationError, Self>
pub fn customize( self ) -> CustomizableOperation<StopSolutionVersionCreationOutput, StopSolutionVersionCreationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn solution_version_arn(self, input: impl Into<String>) -> Self
pub fn solution_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the solution version you want to stop creating.
sourcepub fn set_solution_version_arn(self, input: Option<String>) -> Self
pub fn set_solution_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the solution version you want to stop creating.
sourcepub fn get_solution_version_arn(&self) -> &Option<String>
pub fn get_solution_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the solution version you want to stop creating.
Trait Implementations§
source§impl Clone for StopSolutionVersionCreationFluentBuilder
impl Clone for StopSolutionVersionCreationFluentBuilder
source§fn clone(&self) -> StopSolutionVersionCreationFluentBuilder
fn clone(&self) -> StopSolutionVersionCreationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more