aws_sdk_glue/client/
update_schema.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 [`UpdateSchema`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`schema_id(SchemaId)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::schema_id) / [`set_schema_id(Option<SchemaId>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_schema_id):<br>required: **true**<br><p>This is a wrapper structure to contain schema identity fields. The structure contains:</p> <ul>  <li>   <p>SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of <code>SchemaArn</code> or <code>SchemaName</code> has to be provided.</p></li>  <li>   <p>SchemaId$SchemaName: The name of the schema. One of <code>SchemaArn</code> or <code>SchemaName</code> has to be provided.</p></li> </ul><br>
7    ///   - [`schema_version_number(SchemaVersionNumber)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::schema_version_number) / [`set_schema_version_number(Option<SchemaVersionNumber>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_schema_version_number):<br>required: **false**<br><p>Version number required for check pointing. One of <code>VersionNumber</code> or <code>Compatibility</code> has to be provided.</p><br>
8    ///   - [`compatibility(Compatibility)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::compatibility) / [`set_compatibility(Option<Compatibility>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_compatibility):<br>required: **false**<br><p>The new compatibility setting for the schema.</p><br>
9    ///   - [`description(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_description):<br>required: **false**<br><p>The new description for the schema.</p><br>
10    /// - On success, responds with [`UpdateSchemaOutput`](crate::operation::update_schema::UpdateSchemaOutput) with field(s):
11    ///   - [`schema_arn(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_arn): <p>The Amazon Resource Name (ARN) of the schema.</p>
12    ///   - [`schema_name(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_name): <p>The name of the schema.</p>
13    ///   - [`registry_name(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::registry_name): <p>The name of the registry that contains the schema.</p>
14    /// - On failure, responds with [`SdkError<UpdateSchemaError>`](crate::operation::update_schema::UpdateSchemaError)
15    pub fn update_schema(&self) -> crate::operation::update_schema::builders::UpdateSchemaFluentBuilder {
16        crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::new(self.handle.clone())
17    }
18}