aws_sdk_storagegateway/client/delete_tape_pool.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 [`DeleteTapePool`](crate::operation::delete_tape_pool::builders::DeleteTapePoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`pool_arn(impl Into<String>)`](crate::operation::delete_tape_pool::builders::DeleteTapePoolFluentBuilder::pool_arn) / [`set_pool_arn(Option<String>)`](crate::operation::delete_tape_pool::builders::DeleteTapePoolFluentBuilder::set_pool_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the custom tape pool to delete.</p><br>
7 /// - On success, responds with [`DeleteTapePoolOutput`](crate::operation::delete_tape_pool::DeleteTapePoolOutput) with field(s):
8 /// - [`pool_arn(Option<String>)`](crate::operation::delete_tape_pool::DeleteTapePoolOutput::pool_arn): <p>The Amazon Resource Name (ARN) of the custom tape pool being deleted.</p>
9 /// - On failure, responds with [`SdkError<DeleteTapePoolError>`](crate::operation::delete_tape_pool::DeleteTapePoolError)
10 pub fn delete_tape_pool(&self) -> crate::operation::delete_tape_pool::builders::DeleteTapePoolFluentBuilder {
11 crate::operation::delete_tape_pool::builders::DeleteTapePoolFluentBuilder::new(self.handle.clone())
12 }
13}