1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpgradePublishedSchema`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`development_schema_arn(impl Into<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::development_schema_arn) / [`set_development_schema_arn(Option<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::set_development_schema_arn):<br>required: **true**<br><p>The ARN of the development schema with the changes used for the upgrade.</p><br>
    ///   - [`published_schema_arn(impl Into<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::published_schema_arn) / [`set_published_schema_arn(Option<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::set_published_schema_arn):<br>required: **true**<br><p>The ARN of the published schema to be upgraded.</p><br>
    ///   - [`minor_version(impl Into<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::minor_version) / [`set_minor_version(Option<String>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::set_minor_version):<br>required: **true**<br><p>Identifies the minor version of the published schema that will be created. This parameter is NOT optional.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::set_dry_run):<br>required: **false**<br><p>Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.</p><br>
    /// - On success, responds with [`UpgradePublishedSchemaOutput`](crate::operation::upgrade_published_schema::UpgradePublishedSchemaOutput) with field(s):
    ///   - [`upgraded_schema_arn(Option<String>)`](crate::operation::upgrade_published_schema::UpgradePublishedSchemaOutput::upgraded_schema_arn): <p>The ARN of the upgraded schema that is returned as part of the response.</p>
    /// - On failure, responds with [`SdkError<UpgradePublishedSchemaError>`](crate::operation::upgrade_published_schema::UpgradePublishedSchemaError)
    pub fn upgrade_published_schema(&self) -> crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder {
        crate::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder::new(self.handle.clone())
    }
}