Struct aws_sdk_inspector::operation::delete_assessment_template::builders::DeleteAssessmentTemplateFluentBuilder
source · pub struct DeleteAssessmentTemplateFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteAssessmentTemplate.
Deletes the assessment template that is specified by the ARN of the assessment template.
Implementations§
source§impl DeleteAssessmentTemplateFluentBuilder
impl DeleteAssessmentTemplateFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAssessmentTemplateInputBuilder
pub fn as_input(&self) -> &DeleteAssessmentTemplateInputBuilder
Access the DeleteAssessmentTemplate as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAssessmentTemplateOutput, SdkError<DeleteAssessmentTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAssessmentTemplateOutput, SdkError<DeleteAssessmentTemplateError, 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<DeleteAssessmentTemplateOutput, DeleteAssessmentTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAssessmentTemplateOutput, DeleteAssessmentTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn assessment_template_arn(self, input: impl Into<String>) -> Self
pub fn assessment_template_arn(self, input: impl Into<String>) -> Self
The ARN that specifies the assessment template that you want to delete.
sourcepub fn set_assessment_template_arn(self, input: Option<String>) -> Self
pub fn set_assessment_template_arn(self, input: Option<String>) -> Self
The ARN that specifies the assessment template that you want to delete.
sourcepub fn get_assessment_template_arn(&self) -> &Option<String>
pub fn get_assessment_template_arn(&self) -> &Option<String>
The ARN that specifies the assessment template that you want to delete.
Trait Implementations§
source§impl Clone for DeleteAssessmentTemplateFluentBuilder
impl Clone for DeleteAssessmentTemplateFluentBuilder
source§fn clone(&self) -> DeleteAssessmentTemplateFluentBuilder
fn clone(&self) -> DeleteAssessmentTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more