// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateDataCatalog`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::set_name):<br>required: **true**<br><p>The name of the data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.</p><br>
/// - [`r#type(DataCatalogType)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::type) / [`set_type(Option<DataCatalogType>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::set_type):<br>required: **true**<br><p>Specifies the type of data catalog to update. Specify <code>LAMBDA</code> for a federated catalog, <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for an Glue Data Catalog.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::set_description):<br>required: **false**<br><p>New or modified text that describes the data catalog.</p><br>
/// - [`parameters(impl Into<String>, impl Into<String>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, String>>)`](crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::set_parameters):<br>required: **false**<br><p>Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.</p> <ul> <li> <p>For the <code>HIVE</code> data catalog type, use the following syntax. The <code>metadata-function</code> parameter is required. <code>The sdk-version</code> parameter is optional and defaults to the currently supported version.</p> <p><code>metadata-function=<i>lambda_arn</i>, sdk-version=<i>version_number</i> </code></p></li> <li> <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets of required parameters, but not both.</p> <ul> <li> <p>If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.</p> <p><code>metadata-function=<i>lambda_arn</i>, record-function=<i>lambda_arn</i> </code></p></li> <li> <p>If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.</p> <p><code>function=<i>lambda_arn</i> </code></p></li> </ul></li> </ul><br>
/// - On success, responds with [`UpdateDataCatalogOutput`](crate::operation::update_data_catalog::UpdateDataCatalogOutput)
/// - On failure, responds with [`SdkError<UpdateDataCatalogError>`](crate::operation::update_data_catalog::UpdateDataCatalogError)
pub fn update_data_catalog(&self) -> crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder {
crate::operation::update_data_catalog::builders::UpdateDataCatalogFluentBuilder::new(self.handle.clone())
}
}