Struct aws_sdk_iot::operation::delete_audit_suppression::builders::DeleteAuditSuppressionFluentBuilder
source · pub struct DeleteAuditSuppressionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAuditSuppression
.
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
Implementations§
source§impl DeleteAuditSuppressionFluentBuilder
impl DeleteAuditSuppressionFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAuditSuppressionInputBuilder
pub fn as_input(&self) -> &DeleteAuditSuppressionInputBuilder
Access the DeleteAuditSuppression as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAuditSuppressionOutput, SdkError<DeleteAuditSuppressionError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAuditSuppressionOutput, SdkError<DeleteAuditSuppressionError, 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<DeleteAuditSuppressionOutput, DeleteAuditSuppressionError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAuditSuppressionOutput, DeleteAuditSuppressionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn check_name(self, input: impl Into<String>) -> Self
pub fn check_name(self, input: impl Into<String>) -> Self
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn set_check_name(self, input: Option<String>) -> Self
pub fn set_check_name(self, input: Option<String>) -> Self
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn get_check_name(&self) -> &Option<String>
pub fn get_check_name(&self) -> &Option<String>
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn resource_identifier(self, input: ResourceIdentifier) -> Self
pub fn resource_identifier(self, input: ResourceIdentifier) -> Self
Information that identifies the noncompliant resource.
sourcepub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
pub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
Information that identifies the noncompliant resource.
sourcepub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
pub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
Information that identifies the noncompliant resource.
Trait Implementations§
source§impl Clone for DeleteAuditSuppressionFluentBuilder
impl Clone for DeleteAuditSuppressionFluentBuilder
source§fn clone(&self) -> DeleteAuditSuppressionFluentBuilder
fn clone(&self) -> DeleteAuditSuppressionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more