aws_sdk_omics/client/
get_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 [`GetShare`](crate::operation::get_share::builders::GetShareFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`share_id(impl Into<String>)`](crate::operation::get_share::builders::GetShareFluentBuilder::share_id) / [`set_share_id(Option<String>)`](crate::operation::get_share::builders::GetShareFluentBuilder::set_share_id):<br>required: **true**<br><p>The ID of the share.</p><br>
7    /// - On success, responds with [`GetShareOutput`](crate::operation::get_share::GetShareOutput) with field(s):
8    ///   - [`share(Option<ShareDetails>)`](crate::operation::get_share::GetShareOutput::share): <p>A resource share details object. The object includes the status, the resourceArn, and ownerId.</p>
9    /// - On failure, responds with [`SdkError<GetShareError>`](crate::operation::get_share::GetShareError)
10    pub fn get_share(&self) -> crate::operation::get_share::builders::GetShareFluentBuilder {
11        crate::operation::get_share::builders::GetShareFluentBuilder::new(self.handle.clone())
12    }
13}