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 [`GetContext`](crate::operation::get_context::builders::GetContextFluentBuilder) operation.
                            ///
                            /// - The fluent builder is configurable:
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::set_workspace_id):<br>required: **true**<br>(undocumented)<br>
    ///   - [`org_id(impl Into<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::org_id) / [`set_org_id(Option<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::set_org_id):<br>required: **true**<br>(undocumented)<br>
    ///   - [`id(impl Into<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_context::builders::GetContextFluentBuilder::set_id):<br>required: **true**<br>(undocumented)<br>
                            /// - On success, responds with [`GetContextOutput`](crate::operation::get_context::GetContextOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_context::GetContextOutput::id): (undocumented)
    ///   - [`value(HashMap::<String, Document>)`](crate::operation::get_context::GetContextOutput::value): Represents conditional criteria used for context matching. Keys define dimension names and values specify the criteria that must be met.
    ///   - [`r#override(HashMap::<String, Document>)`](crate::operation::get_context::GetContextOutput::override): Configuration overrides that replace default values when context conditions are met. Keys represent configuration keys and values are the override data.
    ///   - [`override_id(String)`](crate::operation::get_context::GetContextOutput::override_id): (undocumented)
    ///   - [`weight(String)`](crate::operation::get_context::GetContextOutput::weight): Priority weight used to determine the order of context evaluation. Higher weights take precedence during configuration resolution.
    ///   - [`description(String)`](crate::operation::get_context::GetContextOutput::description): (undocumented)
    ///   - [`change_reason(String)`](crate::operation::get_context::GetContextOutput::change_reason): (undocumented)
    ///   - [`created_at(DateTime)`](crate::operation::get_context::GetContextOutput::created_at): (undocumented)
    ///   - [`created_by(String)`](crate::operation::get_context::GetContextOutput::created_by): (undocumented)
    ///   - [`last_modified_at(DateTime)`](crate::operation::get_context::GetContextOutput::last_modified_at): (undocumented)
    ///   - [`last_modified_by(String)`](crate::operation::get_context::GetContextOutput::last_modified_by): (undocumented)
                            /// - On failure, responds with [`SdkError<GetContextError>`](crate::operation::get_context::GetContextError)
    pub fn get_context(&self) -> crate::operation::get_context::builders::GetContextFluentBuilder {
                                crate::operation::get_context::builders::GetContextFluentBuilder::new(self.handle.clone())
                            }
}