aws_sdk_appsync/client/get_api.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetApi`](crate::operation::get_api::builders::GetApiFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`api_id(impl Into<String>)`](crate::operation::get_api::builders::GetApiFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_api::builders::GetApiFluentBuilder::set_api_id):<br>required: **true**<br><p>The <code>Api</code> ID.</p><br>
/// - On success, responds with [`GetApiOutput`](crate::operation::get_api::GetApiOutput) with field(s):
/// - [`api(Option<Api>)`](crate::operation::get_api::GetApiOutput::api): <p>The <code>Api</code> object.</p>
/// - On failure, responds with [`SdkError<GetApiError>`](crate::operation::get_api::GetApiError)
pub fn get_api(&self) -> crate::operation::get_api::builders::GetApiFluentBuilder {
crate::operation::get_api::builders::GetApiFluentBuilder::new(self.handle.clone())
}
}