Struct aws_sdk_frauddetector::operation::delete_detector::builders::DeleteDetectorFluentBuilder
source · pub struct DeleteDetectorFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteDetector
.
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
Implementations§
source§impl DeleteDetectorFluentBuilder
impl DeleteDetectorFluentBuilder
sourcepub fn as_input(&self) -> &DeleteDetectorInputBuilder
pub fn as_input(&self) -> &DeleteDetectorInputBuilder
Access the DeleteDetector as a reference.
sourcepub async fn send(
self
) -> Result<DeleteDetectorOutput, SdkError<DeleteDetectorError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteDetectorOutput, SdkError<DeleteDetectorError, 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<DeleteDetectorOutput, DeleteDetectorError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteDetectorOutput, DeleteDetectorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The ID of the detector to delete.
sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The ID of the detector to delete.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The ID of the detector to delete.
Trait Implementations§
source§impl Clone for DeleteDetectorFluentBuilder
impl Clone for DeleteDetectorFluentBuilder
source§fn clone(&self) -> DeleteDetectorFluentBuilder
fn clone(&self) -> DeleteDetectorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more