1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCollection`](crate::operation::delete_collection::builders::DeleteCollectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`collection_id(impl Into<String>)`](crate::operation::delete_collection::builders::DeleteCollectionFluentBuilder::collection_id) / [`set_collection_id(Option<String>)`](crate::operation::delete_collection::builders::DeleteCollectionFluentBuilder::set_collection_id):<br>required: **true**<br><p>ID of the collection to delete.</p><br>
    /// - On success, responds with [`DeleteCollectionOutput`](crate::operation::delete_collection::DeleteCollectionOutput) with field(s):
    ///   - [`status_code(Option<i32>)`](crate::operation::delete_collection::DeleteCollectionOutput::status_code): <p>HTTP status code that indicates the result of the operation.</p>
    /// - On failure, responds with [`SdkError<DeleteCollectionError>`](crate::operation::delete_collection::DeleteCollectionError)
    pub fn delete_collection(&self) -> crate::operation::delete_collection::builders::DeleteCollectionFluentBuilder {
        crate::operation::delete_collection::builders::DeleteCollectionFluentBuilder::new(self.handle.clone())
    }
}