aws_sdk_glue/client/
update_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 [`UpdateUserDefinedFunction`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the function to be updated is located. If none is provided, the Amazon Web Services account ID is used by default.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database where the function to be updated is located.</p><br>
8    ///   - [`function_name(impl Into<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::function_name) / [`set_function_name(Option<String>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::set_function_name):<br>required: **true**<br><p>The name of the function.</p><br>
9    ///   - [`function_input(UserDefinedFunctionInput)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::function_input) / [`set_function_input(Option<UserDefinedFunctionInput>)`](crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::set_function_input):<br>required: **true**<br><p>A <code>FunctionInput</code> object that redefines the function in the Data Catalog.</p><br>
10    /// - On success, responds with [`UpdateUserDefinedFunctionOutput`](crate::operation::update_user_defined_function::UpdateUserDefinedFunctionOutput)
11    /// - On failure, responds with [`SdkError<UpdateUserDefinedFunctionError>`](crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError)
12    pub fn update_user_defined_function(&self) -> crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder {
13        crate::operation::update_user_defined_function::builders::UpdateUserDefinedFunctionFluentBuilder::new(self.handle.clone())
14    }
15}