aws_sdk_clouddirectory/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_arn(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::schema_arn) / [`set_schema_arn(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_schema_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the development schema. For more information, see <code>arns</code>.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::set_name):<br>required: **true**<br><p>The name of the schema.</p><br>
8    /// - On success, responds with [`UpdateSchemaOutput`](crate::operation::update_schema::UpdateSchemaOutput) with field(s):
9    ///   - [`schema_arn(Option<String>)`](crate::operation::update_schema::UpdateSchemaOutput::schema_arn): <p>The ARN that is associated with the updated schema. For more information, see <code>arns</code>.</p>
10    /// - On failure, responds with [`SdkError<UpdateSchemaError>`](crate::operation::update_schema::UpdateSchemaError)
11    pub fn update_schema(&self) -> crate::operation::update_schema::builders::UpdateSchemaFluentBuilder {
12        crate::operation::update_schema::builders::UpdateSchemaFluentBuilder::new(self.handle.clone())
13    }
14}