Struct aws_sdk_sagemaker::operation::delete_compilation_job::builders::DeleteCompilationJobFluentBuilder
source · pub struct DeleteCompilationJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteCompilationJob
.
Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.
You can delete a compilation job only if its current status is COMPLETED
, FAILED
, or STOPPED
. If the job status is STARTING
or INPROGRESS
, stop the job, and then delete it after its status becomes STOPPED
.
Implementations§
source§impl DeleteCompilationJobFluentBuilder
impl DeleteCompilationJobFluentBuilder
sourcepub fn as_input(&self) -> &DeleteCompilationJobInputBuilder
pub fn as_input(&self) -> &DeleteCompilationJobInputBuilder
Access the DeleteCompilationJob as a reference.
sourcepub async fn send(
self
) -> Result<DeleteCompilationJobOutput, SdkError<DeleteCompilationJobError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteCompilationJobOutput, SdkError<DeleteCompilationJobError, 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<DeleteCompilationJobOutput, DeleteCompilationJobError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteCompilationJobOutput, DeleteCompilationJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn compilation_job_name(self, input: impl Into<String>) -> Self
pub fn compilation_job_name(self, input: impl Into<String>) -> Self
The name of the compilation job to delete.
sourcepub fn set_compilation_job_name(self, input: Option<String>) -> Self
pub fn set_compilation_job_name(self, input: Option<String>) -> Self
The name of the compilation job to delete.
sourcepub fn get_compilation_job_name(&self) -> &Option<String>
pub fn get_compilation_job_name(&self) -> &Option<String>
The name of the compilation job to delete.
Trait Implementations§
source§impl Clone for DeleteCompilationJobFluentBuilder
impl Clone for DeleteCompilationJobFluentBuilder
source§fn clone(&self) -> DeleteCompilationJobFluentBuilder
fn clone(&self) -> DeleteCompilationJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more