Skip to main content

aws_sdk_bedrockagentcore/client/
delete_ab_test.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 [`DeleteABTest`](crate::operation::delete_ab_test::builders::DeleteABTestFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ab_test_id(impl Into<String>)`](crate::operation::delete_ab_test::builders::DeleteABTestFluentBuilder::ab_test_id) / [`set_ab_test_id(Option<String>)`](crate::operation::delete_ab_test::builders::DeleteABTestFluentBuilder::set_ab_test_id):<br>required: **true**<br><p>The unique identifier of the A/B test to delete.</p><br>
7    /// - On success, responds with [`DeleteAbTestOutput`](crate::operation::delete_ab_test::DeleteAbTestOutput) with field(s):
8    ///   - [`ab_test_id(String)`](crate::operation::delete_ab_test::DeleteAbTestOutput::ab_test_id): <p>The unique identifier of the deleted A/B test.</p>
9    ///   - [`ab_test_arn(String)`](crate::operation::delete_ab_test::DeleteAbTestOutput::ab_test_arn): <p>The Amazon Resource Name (ARN) of the deleted A/B test.</p>
10    ///   - [`status(AbTestStatus)`](crate::operation::delete_ab_test::DeleteAbTestOutput::status): <p>The status of the A/B test deletion operation.</p>
11    /// - On failure, responds with [`SdkError<DeleteABTestError>`](crate::operation::delete_ab_test::DeleteABTestError)
12    pub fn delete_ab_test(&self) -> crate::operation::delete_ab_test::builders::DeleteABTestFluentBuilder {
13        crate::operation::delete_ab_test::builders::DeleteABTestFluentBuilder::new(self.handle.clone())
14    }
15}