aws_sdk_frauddetector/client/
delete_detector_version.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteDetectorVersion`](crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`detector_id(impl Into<String>)`](crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder::set_detector_id):<br>required: **true**<br><p>The ID of the parent detector for the detector version to delete.</p><br>
7    ///   - [`detector_version_id(impl Into<String>)`](crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder::detector_version_id) / [`set_detector_version_id(Option<String>)`](crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder::set_detector_version_id):<br>required: **true**<br><p>The ID of the detector version to delete.</p><br>
8    /// - On success, responds with [`DeleteDetectorVersionOutput`](crate::operation::delete_detector_version::DeleteDetectorVersionOutput)
9    /// - On failure, responds with [`SdkError<DeleteDetectorVersionError>`](crate::operation::delete_detector_version::DeleteDetectorVersionError)
10    pub fn delete_detector_version(&self) -> crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder {
11        crate::operation::delete_detector_version::builders::DeleteDetectorVersionFluentBuilder::new(self.handle.clone())
12    }
13}