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 [`GetSchemaVersionsDiff`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`schema_id(SchemaId)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::schema_id) / [`set_schema_id(Option<SchemaId>)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::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>
    ///   - [`first_schema_version_number(SchemaVersionNumber)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::first_schema_version_number) / [`set_first_schema_version_number(Option<SchemaVersionNumber>)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::set_first_schema_version_number):<br>required: **true**<br><p>The first of the two schema versions to be compared.</p><br>
    ///   - [`second_schema_version_number(SchemaVersionNumber)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::second_schema_version_number) / [`set_second_schema_version_number(Option<SchemaVersionNumber>)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::set_second_schema_version_number):<br>required: **true**<br><p>The second of the two schema versions to be compared.</p><br>
    ///   - [`schema_diff_type(SchemaDiffType)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::schema_diff_type) / [`set_schema_diff_type(Option<SchemaDiffType>)`](crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::set_schema_diff_type):<br>required: **true**<br><p>Refers to <code>SYNTAX_DIFF</code>, which is the currently supported diff type.</p><br>
    /// - On success, responds with [`GetSchemaVersionsDiffOutput`](crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffOutput) with field(s):
    ///   - [`diff(Option<String>)`](crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffOutput::diff): <p>The difference between schemas as a string in JsonPatch format.</p>
    /// - On failure, responds with [`SdkError<GetSchemaVersionsDiffError>`](crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError)
    pub fn get_schema_versions_diff(&self) -> crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder {
        crate::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder::new(self.handle.clone())
    }
}