aws_sdk_omics/client/delete_share.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 [`DeleteShare`](crate::operation::delete_share::builders::DeleteShareFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`share_id(impl Into<String>)`](crate::operation::delete_share::builders::DeleteShareFluentBuilder::share_id) / [`set_share_id(Option<String>)`](crate::operation::delete_share::builders::DeleteShareFluentBuilder::set_share_id):<br>required: **true**<br><p>The ID for the resource share to be deleted.</p><br>
7 /// - On success, responds with [`DeleteShareOutput`](crate::operation::delete_share::DeleteShareOutput) with field(s):
8 /// - [`status(Option<ShareStatus>)`](crate::operation::delete_share::DeleteShareOutput::status): <p>The status of the share being deleted.</p>
9 /// - On failure, responds with [`SdkError<DeleteShareError>`](crate::operation::delete_share::DeleteShareError)
10 pub fn delete_share(&self) -> crate::operation::delete_share::builders::DeleteShareFluentBuilder {
11 crate::operation::delete_share::builders::DeleteShareFluentBuilder::new(self.handle.clone())
12 }
13}