aws_sdk_appsync/client/
delete_function.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 [`DeleteFunction`](crate::operation::delete_function::builders::DeleteFunctionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::delete_function::builders::DeleteFunctionFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::delete_function::builders::DeleteFunctionFluentBuilder::set_api_id):<br>required: **true**<br><p>The GraphQL API ID.</p><br>
7    ///   - [`function_id(impl Into<String>)`](crate::operation::delete_function::builders::DeleteFunctionFluentBuilder::function_id) / [`set_function_id(Option<String>)`](crate::operation::delete_function::builders::DeleteFunctionFluentBuilder::set_function_id):<br>required: **true**<br><p>The <code>Function</code> ID.</p><br>
8    /// - On success, responds with [`DeleteFunctionOutput`](crate::operation::delete_function::DeleteFunctionOutput)
9    /// - On failure, responds with [`SdkError<DeleteFunctionError>`](crate::operation::delete_function::DeleteFunctionError)
10    pub fn delete_function(&self) -> crate::operation::delete_function::builders::DeleteFunctionFluentBuilder {
11        crate::operation::delete_function::builders::DeleteFunctionFluentBuilder::new(self.handle.clone())
12    }
13}