aws_sdk_cloudfront/client/
get_trust_store.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 [`GetTrustStore`](crate::operation::get_trust_store::builders::GetTrustStoreFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_trust_store::builders::GetTrustStoreFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_trust_store::builders::GetTrustStoreFluentBuilder::set_identifier):<br>required: **true**<br><p>The trust store's identifier.</p><br>
7    /// - On success, responds with [`GetTrustStoreOutput`](crate::operation::get_trust_store::GetTrustStoreOutput) with field(s):
8    ///   - [`trust_store(Option<TrustStore>)`](crate::operation::get_trust_store::GetTrustStoreOutput::trust_store): <p>The trust store.</p>
9    ///   - [`e_tag(Option<String>)`](crate::operation::get_trust_store::GetTrustStoreOutput::e_tag): <p>The version identifier for the current version of the trust store.</p>
10    /// - On failure, responds with [`SdkError<GetTrustStoreError>`](crate::operation::get_trust_store::GetTrustStoreError)
11    pub fn get_trust_store(&self) -> crate::operation::get_trust_store::builders::GetTrustStoreFluentBuilder {
12        crate::operation::get_trust_store::builders::GetTrustStoreFluentBuilder::new(self.handle.clone())
13    }
14}