aws_sdk_medicalimaging/client/get_datastore.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 [`GetDatastore`](crate::operation::get_datastore::builders::GetDatastoreFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`datastore_id(impl Into<String>)`](crate::operation::get_datastore::builders::GetDatastoreFluentBuilder::datastore_id) / [`set_datastore_id(Option<String>)`](crate::operation::get_datastore::builders::GetDatastoreFluentBuilder::set_datastore_id):<br>required: **true**<br><p>The data store identifier.</p><br>
7 /// - On success, responds with [`GetDatastoreOutput`](crate::operation::get_datastore::GetDatastoreOutput) with field(s):
8 /// - [`datastore_properties(Option<DatastoreProperties>)`](crate::operation::get_datastore::GetDatastoreOutput::datastore_properties): <p>The data store properties.</p>
9 /// - On failure, responds with [`SdkError<GetDatastoreError>`](crate::operation::get_datastore::GetDatastoreError)
10 pub fn get_datastore(&self) -> crate::operation::get_datastore::builders::GetDatastoreFluentBuilder {
11 crate::operation::get_datastore::builders::GetDatastoreFluentBuilder::new(self.handle.clone())
12 }
13}