aws_sdk_appsync/client/get_graphql_api.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 [`GetGraphqlApi`](crate::operation::get_graphql_api::builders::GetGraphqlApiFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`api_id(impl Into<String>)`](crate::operation::get_graphql_api::builders::GetGraphqlApiFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_graphql_api::builders::GetGraphqlApiFluentBuilder::set_api_id):<br>required: **true**<br><p>The API ID for the GraphQL API.</p><br>
7 /// - On success, responds with [`GetGraphqlApiOutput`](crate::operation::get_graphql_api::GetGraphqlApiOutput) with field(s):
8 /// - [`graphql_api(Option<GraphqlApi>)`](crate::operation::get_graphql_api::GetGraphqlApiOutput::graphql_api): <p>The <code>GraphqlApi</code> object.</p>
9 /// - On failure, responds with [`SdkError<GetGraphqlApiError>`](crate::operation::get_graphql_api::GetGraphqlApiError)
10 pub fn get_graphql_api(&self) -> crate::operation::get_graphql_api::builders::GetGraphqlApiFluentBuilder {
11 crate::operation::get_graphql_api::builders::GetGraphqlApiFluentBuilder::new(self.handle.clone())
12 }
13}