Struct aws_sdk_personalize::operation::delete_solution::builders::DeleteSolutionFluentBuilder
source · pub struct DeleteSolutionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteSolution
.
Deletes all versions of a solution and the Solution
object itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call ListCampaigns and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associated SolutionVersion
is in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see CreateSolution.
Implementations§
source§impl DeleteSolutionFluentBuilder
impl DeleteSolutionFluentBuilder
sourcepub fn as_input(&self) -> &DeleteSolutionInputBuilder
pub fn as_input(&self) -> &DeleteSolutionInputBuilder
Access the DeleteSolution as a reference.
sourcepub async fn send(
self
) -> Result<DeleteSolutionOutput, SdkError<DeleteSolutionError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteSolutionOutput, SdkError<DeleteSolutionError, 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<DeleteSolutionOutput, DeleteSolutionError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteSolutionOutput, DeleteSolutionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn solution_arn(self, input: impl Into<String>) -> Self
pub fn solution_arn(self, input: impl Into<String>) -> Self
The ARN of the solution to delete.
sourcepub fn set_solution_arn(self, input: Option<String>) -> Self
pub fn set_solution_arn(self, input: Option<String>) -> Self
The ARN of the solution to delete.
sourcepub fn get_solution_arn(&self) -> &Option<String>
pub fn get_solution_arn(&self) -> &Option<String>
The ARN of the solution to delete.
Trait Implementations§
source§impl Clone for DeleteSolutionFluentBuilder
impl Clone for DeleteSolutionFluentBuilder
source§fn clone(&self) -> DeleteSolutionFluentBuilder
fn clone(&self) -> DeleteSolutionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more