aws_sdk_appsync/client/
get_graphql_api_environment_variables.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetGraphqlApiEnvironmentVariables`](crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetGraphqlApiEnvironmentVariablesOutput`](crate::operation::get_graphql_api_environment_variables::GetGraphqlApiEnvironmentVariablesOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetGraphqlApiEnvironmentVariablesError>`](crate::operation::get_graphql_api_environment_variables::GetGraphqlApiEnvironmentVariablesError)
    pub fn get_graphql_api_environment_variables(
        &self,
    ) -> crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder {
        crate::operation::get_graphql_api_environment_variables::builders::GetGraphqlApiEnvironmentVariablesFluentBuilder::new(self.handle.clone())
    }
}