aws_sdk_glue/client/
delete_user_defined_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 [`DeleteUserDefinedFunction`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the Amazon Web Services account ID is used by default.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database where the function is located.</p><br>
8    ///   - [`function_name(impl Into<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::function_name) / [`set_function_name(Option<String>)`](crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::set_function_name):<br>required: **true**<br><p>The name of the function definition to be deleted.</p><br>
9    /// - On success, responds with [`DeleteUserDefinedFunctionOutput`](crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionOutput)
10    /// - On failure, responds with [`SdkError<DeleteUserDefinedFunctionError>`](crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError)
11    pub fn delete_user_defined_function(&self) -> crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder {
12        crate::operation::delete_user_defined_function::builders::DeleteUserDefinedFunctionFluentBuilder::new(self.handle.clone())
13    }
14}