aws_sdk_schemas/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    ///   - [`client_token_id(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::client_token_id) / [`set_client_token_id(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_client_token_id):<br>required: **false**<br><p>The ID of the client token.</p><br>
7    ///   - [`content(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::content) / [`set_content(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_content):<br>required: **false**<br><p>The source of the schema definition.</p><br>
8    ///   - [`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 description of the schema.</p><br>
9    ///   - [`registry_name(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::registry_name) / [`set_registry_name(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_registry_name):<br>required: **true**<br><p>The name of the registry.</p><br>
10    ///   - [`schema_name(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::schema_name) / [`set_schema_name(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_schema_name):<br>required: **true**<br><p>The name of the schema.</p><br>
11    ///   - [`r#type(Type)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::type) / [`set_type(Option<Type>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_type):<br>required: **false**<br><p>The schema type for the events schema.</p><br>
12    /// - On success, responds with [`UpdateSchemaOutput`](crate::operation::update_schema::UpdateSchemaOutput) with field(s):
13    ///   - [`description(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::description): <p>The description of the schema.</p>
14    ///   - [`last_modified(Option<DateTime>)`](crate::operation::update_schema::UpdateSchemaOutput::last_modified): <p>The date and time that schema was modified.</p>
15    ///   - [`schema_arn(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_arn): <p>The ARN of the schema.</p>
16    ///   - [`schema_name(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_name): <p>The name of the schema.</p>
17    ///   - [`schema_version(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_version): <p>The version number of the schema</p>
18    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_schema::UpdateSchemaOutput::tags): <p>Key-value pairs associated with a resource.</p>
19    ///   - [`r#type(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::type): <p>The type of the schema.</p>
20    ///   - [`version_created_date(Option<DateTime>)`](crate::operation::update_schema::UpdateSchemaOutput::version_created_date): <p>The date the schema version was created.</p>
21    /// - On failure, responds with [`SdkError<UpdateSchemaError>`](crate::operation::update_schema::UpdateSchemaError)
22    pub fn update_schema(&self) -> crate::operation::update_schema::builders::UpdateSchemaFluentBuilder {
23        crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::new(self.handle.clone())
24    }
25}