aws_sdk_cloudfront/client/
delete_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 [`DeleteTrustStore`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::set_id):<br>required: **true**<br><p>The trust store's ID.</p><br>
7    ///   - [`if_match(impl Into<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::set_if_match):<br>required: **true**<br><p>The current version (<code>ETag</code> value) of the trust store you are deleting.</p><br>
8    /// - On success, responds with [`DeleteTrustStoreOutput`](crate::operation::delete_trust_store::DeleteTrustStoreOutput)
9    /// - On failure, responds with [`SdkError<DeleteTrustStoreError>`](crate::operation::delete_trust_store::DeleteTrustStoreError)
10    pub fn delete_trust_store(&self) -> crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder {
11        crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::new(self.handle.clone())
12    }
13}