superposition_sdk 0.106.1

Rust SDK to work with Superposition
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetExperimentConfig`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder) operation.
                            ///
                            /// - The fluent builder is configurable:
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_workspace_id):<br>required: **true**<br>(undocumented)<br>
    ///   - [`org_id(impl Into<String>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::org_id) / [`set_org_id(Option<String>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_org_id):<br>required: **true**<br>(undocumented)<br>
    ///   - [`if_modified_since(DateTime)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::if_modified_since) / [`set_if_modified_since(Option<DateTime>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_if_modified_since):<br>required: **false**<br>While using this, 304 response is treated as error, which needs to be handled separately by checking the response code of the http response. This is required to make sure that clients can cache the response and avoid unnecessary calls when there are no updates.<br>
    ///   - [`prefix(impl Into<String>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::prefix) / [`set_prefix(Option<Vec::<String>>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_prefix):<br>required: **false**<br>(undocumented)<br>
    ///   - [`context(impl Into<String>, Document)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::context) / [`set_context(Option<HashMap::<String, Document>>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_context):<br>required: **false**<br>Map representing the context. Keys correspond to the names of the dimensions.<br>
    ///   - [`dimension_match_strategy(DimensionMatchStrategy)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::dimension_match_strategy) / [`set_dimension_match_strategy(Option<DimensionMatchStrategy>)`](crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::set_dimension_match_strategy):<br>required: **false**<br>Strategy to follow while filter items based on the context<br>
                            /// - On success, responds with [`GetExperimentConfigOutput`](crate::operation::get_experiment_config::GetExperimentConfigOutput) with field(s):
    ///   - [`last_modified(DateTime)`](crate::operation::get_experiment_config::GetExperimentConfigOutput::last_modified): (undocumented)
    ///   - [`experiments(Vec::<ExperimentResponse>)`](crate::operation::get_experiment_config::GetExperimentConfigOutput::experiments): (undocumented)
    ///   - [`experiment_groups(Vec::<ExperimentGroupResponse>)`](crate::operation::get_experiment_config::GetExperimentConfigOutput::experiment_groups): A list of experiment group responses.
                            /// - On failure, responds with [`SdkError<GetExperimentConfigError>`](crate::operation::get_experiment_config::GetExperimentConfigError)
    pub fn get_experiment_config(&self) -> crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder {
                                crate::operation::get_experiment_config::builders::GetExperimentConfigFluentBuilder::new(self.handle.clone())
                            }
}