Skip to main content

aws_sdk_evidently/client/
get_feature.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 [`GetFeature`](crate::operation::get_feature::builders::GetFeatureFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`project(impl Into<String>)`](crate::operation::get_feature::builders::GetFeatureFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::get_feature::builders::GetFeatureFluentBuilder::set_project):<br>required: **true**<br><p>The name or ARN of the project that contains the feature.</p><br>
7    ///   - [`feature(impl Into<String>)`](crate::operation::get_feature::builders::GetFeatureFluentBuilder::feature) / [`set_feature(Option<String>)`](crate::operation::get_feature::builders::GetFeatureFluentBuilder::set_feature):<br>required: **true**<br><p>The name of the feature that you want to retrieve information for.</p><br>
8    /// - On success, responds with [`GetFeatureOutput`](crate::operation::get_feature::GetFeatureOutput) with field(s):
9    ///   - [`feature(Option<Feature>)`](crate::operation::get_feature::GetFeatureOutput::feature): <p>A structure containing the configuration details of the feature.</p>
10    /// - On failure, responds with [`SdkError<GetFeatureError>`](crate::operation::get_feature::GetFeatureError)
11    #[deprecated(note = "AWS CloudWatch Evidently has been deprecated since 11/17/2025.", since = "11/17/2025")]
12    pub fn get_feature(&self) -> crate::operation::get_feature::builders::GetFeatureFluentBuilder {
13        crate::operation::get_feature::builders::GetFeatureFluentBuilder::new(self.handle.clone())
14    }
15}