aws_sdk_omics/client/
get_reference.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 [`GetReference`](crate::operation::get_reference::builders::GetReferenceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::set_id):<br>required: **true**<br><p>The reference's ID.</p><br>
7    ///   - [`reference_store_id(impl Into<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::reference_store_id) / [`set_reference_store_id(Option<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::set_reference_store_id):<br>required: **true**<br><p>The reference's store ID.</p><br>
8    ///   - [`range(impl Into<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::range) / [`set_range(Option<String>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::set_range):<br>required: **false**<br><p>The range to retrieve.</p><br>
9    ///   - [`part_number(i32)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::part_number) / [`set_part_number(Option<i32>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::set_part_number):<br>required: **true**<br><p>The part number to retrieve.</p><br>
10    ///   - [`file(ReferenceFile)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::file) / [`set_file(Option<ReferenceFile>)`](crate::operation::get_reference::builders::GetReferenceFluentBuilder::set_file):<br>required: **false**<br><p>The file to retrieve.</p><br>
11    /// - On success, responds with [`GetReferenceOutput`](crate::operation::get_reference::GetReferenceOutput) with field(s):
12    ///   - [`payload(ByteStream)`](crate::operation::get_reference::GetReferenceOutput::payload): <p>The reference file payload.</p>
13    /// - On failure, responds with [`SdkError<GetReferenceError>`](crate::operation::get_reference::GetReferenceError)
14    pub fn get_reference(&self) -> crate::operation::get_reference::builders::GetReferenceFluentBuilder {
15        crate::operation::get_reference::builders::GetReferenceFluentBuilder::new(self.handle.clone())
16    }
17}