aws_sdk_appconfigcloudextension/client/get_configuration.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 [`GetConfiguration`](crate::operation::get_configuration::builders::GetConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`GetConfigurationOutput`](crate::operation::get_configuration::GetConfigurationOutput) with field(s):
10 /// - [`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.
11 /// - [`content_type(String)`](crate::operation::get_configuration::GetConfigurationOutput::content_type): The content type of the deployed configuration, such as application/json.
12 /// - [`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.
13 /// - [`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.
14 /// - On failure, responds with [`SdkError<GetConfigurationError>`](crate::operation::get_configuration::GetConfigurationError)
15 pub fn get_configuration(&self) -> crate::operation::get_configuration::builders::GetConfigurationFluentBuilder {
16 crate::operation::get_configuration::builders::GetConfigurationFluentBuilder::new(self.handle.clone())
17 }
18}