// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpgradeAppliedSchema`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`published_schema_arn(impl Into<String>)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::published_schema_arn) / [`set_published_schema_arn(Option<String>)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::set_published_schema_arn):<br>required: **true**<br><p>The revision of the published schema to upgrade the directory to.</p><br>
/// - [`directory_arn(impl Into<String>)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::set_directory_arn):<br>required: **true**<br><p>The ARN for the directory to which the upgraded schema will be applied.</p><br>
/// - [`dry_run(bool)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::set_dry_run):<br>required: **false**<br><p>Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.</p><br>
/// - On success, responds with [`UpgradeAppliedSchemaOutput`](crate::operation::upgrade_applied_schema::UpgradeAppliedSchemaOutput) with field(s):
/// - [`upgraded_schema_arn(Option<String>)`](crate::operation::upgrade_applied_schema::UpgradeAppliedSchemaOutput::upgraded_schema_arn): <p>The ARN of the upgraded schema that is returned as part of the response.</p>
/// - [`directory_arn(Option<String>)`](crate::operation::upgrade_applied_schema::UpgradeAppliedSchemaOutput::directory_arn): <p>The ARN of the directory that is returned as part of the response.</p>
/// - On failure, responds with [`SdkError<UpgradeAppliedSchemaError>`](crate::operation::upgrade_applied_schema::UpgradeAppliedSchemaError)
pub fn upgrade_applied_schema(&self) -> crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder {
crate::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder::new(self.handle.clone())
}
}