aws_sdk_appsync/client/get_graphql_api_environment_variables.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 [`GetGraphqlApiEnvironmentVariables`](crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`api_id(impl Into<String>)`](crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder::set_api_id):<br>required: **true**<br><p>The ID of the API from which the environmental variable list will be retrieved.</p><br>
7 /// - On success, responds with [`GetGraphqlApiEnvironmentVariablesOutput`](crate::operation::get_graphql_api_environment_variables::GetGraphqlApiEnvironmentVariablesOutput) with field(s):
8 /// - [`environment_variables(Option<HashMap::<String, String>>)`](crate::operation::get_graphql_api_environment_variables::GetGraphqlApiEnvironmentVariablesOutput::environment_variables): <p>The payload containing each environmental variable in the <code>"key" : "value"</code> format.</p>
9 /// - On failure, responds with [`SdkError<GetGraphqlApiEnvironmentVariablesError>`](crate::operation::get_graphql_api_environment_variables::GetGraphqlApiEnvironmentVariablesError)
10 pub fn get_graphql_api_environment_variables(
11 &self,
12 ) -> crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder {
13 crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder::new(self.handle.clone())
14 }
15}