aws-sdk-appconfigcloudextension 1.0.0

AWS SDK for AWS AppConfig Cloud Extension
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetConfiguration`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application(impl Into<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::application) / [`set_application(Option<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::set_application):<br>required: **true**<br>The name or ID of the AWS AppConfig application.<br>
    ///   - [`environment(impl Into<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::environment) / [`set_environment(Option<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::set_environment):<br>required: **true**<br>The name or ID of the AWS AppConfig environment the configuration is deployed to.<br>
    ///   - [`configuration(impl Into<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::configuration) / [`set_configuration(Option<String>)`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::set_configuration):<br>required: **true**<br>The name or ID of the AWS AppConfig configuration profile.<br>
    /// - On success, responds with [`GetConfigurationOutput`](crate::operation::get_configuration::GetConfigurationOutput) with field(s):
    ///   - [`content(Blob)`](crate::operation::get_configuration::GetConfigurationOutput::content): The deployed configuration's content. For a feature flag profile, the flags rendered as JSON without request context.
    ///   - [`content_type(String)`](crate::operation::get_configuration::GetConfigurationOutput::content_type): The content type of the deployed configuration, such as application/json.
    ///   - [`revision(String)`](crate::operation::get_configuration::GetConfigurationOutput::revision): A value that changes whenever the served content changes. Compare it with an earlier value to detect a change.
    ///   - [`version_label(Option<String>)`](crate::operation::get_configuration::GetConfigurationOutput::version_label): The label of the deployed configuration version, present only when the version has a label.
    /// - On failure, responds with [`SdkError<GetConfigurationError>`](crate::operation::get_configuration::GetConfigurationError)
    pub fn get_configuration(&self) -> crate::operation::get_configuration::builders::GetConfigurationFluentBuilder {
        crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::new(self.handle.clone())
    }
}