aws_sdk_appsync/client/
delete_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 [`DeleteApi`](crate::operation::delete_api::builders::DeleteApiFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::delete_api::builders::DeleteApiFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::delete_api::builders::DeleteApiFluentBuilder::set_api_id):<br>required: **true**<br><p>The <code>Api</code> ID.</p><br>
7    /// - On success, responds with [`DeleteApiOutput`](crate::operation::delete_api::DeleteApiOutput)
8    /// - On failure, responds with [`SdkError<DeleteApiError>`](crate::operation::delete_api::DeleteApiError)
9    pub fn delete_api(&self) -> crate::operation::delete_api::builders::DeleteApiFluentBuilder {
10        crate::operation::delete_api::builders::DeleteApiFluentBuilder::new(self.handle.clone())
11    }
12}