Struct aws_sdk_frauddetector::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder
source · pub struct DeleteDetectorVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteDetectorVersion
.
Deletes the detector version. You cannot delete detector versions that are in ACTIVE
status.
When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
Implementations§
source§impl DeleteDetectorVersionFluentBuilder
impl DeleteDetectorVersionFluentBuilder
sourcepub fn as_input(&self) -> &DeleteDetectorVersionInputBuilder
pub fn as_input(&self) -> &DeleteDetectorVersionInputBuilder
Access the DeleteDetectorVersion as a reference.
sourcepub async fn send(
self
) -> Result<DeleteDetectorVersionOutput, SdkError<DeleteDetectorVersionError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteDetectorVersionOutput, SdkError<DeleteDetectorVersionError, 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<DeleteDetectorVersionOutput, DeleteDetectorVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteDetectorVersionOutput, DeleteDetectorVersionError, 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 parent detector for the detector version 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 parent detector for the detector version to delete.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The ID of the parent detector for the detector version to delete.
sourcepub fn detector_version_id(self, input: impl Into<String>) -> Self
pub fn detector_version_id(self, input: impl Into<String>) -> Self
The ID of the detector version to delete.
sourcepub fn set_detector_version_id(self, input: Option<String>) -> Self
pub fn set_detector_version_id(self, input: Option<String>) -> Self
The ID of the detector version to delete.
sourcepub fn get_detector_version_id(&self) -> &Option<String>
pub fn get_detector_version_id(&self) -> &Option<String>
The ID of the detector version to delete.
Trait Implementations§
source§impl Clone for DeleteDetectorVersionFluentBuilder
impl Clone for DeleteDetectorVersionFluentBuilder
source§fn clone(&self) -> DeleteDetectorVersionFluentBuilder
fn clone(&self) -> DeleteDetectorVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more