aws_sdk_qbusiness/client/
delete_data_accessor.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 [`DeleteDataAccessor`](crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application.</p><br>
7    ///   - [`data_accessor_id(impl Into<String>)`](crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder::data_accessor_id) / [`set_data_accessor_id(Option<String>)`](crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder::set_data_accessor_id):<br>required: **true**<br><p>The unique identifier of the data accessor to delete.</p><br>
8    /// - On success, responds with [`DeleteDataAccessorOutput`](crate::operation::delete_data_accessor::DeleteDataAccessorOutput)
9    /// - On failure, responds with [`SdkError<DeleteDataAccessorError>`](crate::operation::delete_data_accessor::DeleteDataAccessorError)
10    pub fn delete_data_accessor(&self) -> crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder {
11        crate::operation::delete_data_accessor::builders::DeleteDataAccessorFluentBuilder::new(self.handle.clone())
12    }
13}