Skip to main content

aws_sdk_qapps/client/
delete_library_item.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 [`DeleteLibraryItem`](crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
7    ///   - [`library_item_id(impl Into<String>)`](crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder::library_item_id) / [`set_library_item_id(Option<String>)`](crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder::set_library_item_id):<br>required: **true**<br><p>The unique identifier of the library item to delete.</p><br>
8    /// - On success, responds with [`DeleteLibraryItemOutput`](crate::operation::delete_library_item::DeleteLibraryItemOutput)
9    /// - On failure, responds with [`SdkError<DeleteLibraryItemError>`](crate::operation::delete_library_item::DeleteLibraryItemError)
10    pub fn delete_library_item(&self) -> crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder {
11        crate::operation::delete_library_item::builders::DeleteLibraryItemFluentBuilder::new(self.handle.clone())
12    }
13}