aws_sdk_iotmanagedintegrations/client/
get_schema_version.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 [`GetSchemaVersion`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`r#type(SchemaVersionType)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::type) / [`set_type(Option<SchemaVersionType>)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::set_type):<br>required: **true**<br><p>The type of schema version.</p><br>
7    ///   - [`schema_versioned_id(impl Into<String>)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::schema_versioned_id) / [`set_schema_versioned_id(Option<String>)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::set_schema_versioned_id):<br>required: **true**<br><p>Schema id with a version specified. If the version is missing, it defaults to latest version.</p><br>
8    ///   - [`format(SchemaVersionFormat)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::format) / [`set_format(Option<SchemaVersionFormat>)`](crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::set_format):<br>required: **false**<br><p>The format of the schema version.</p><br>
9    /// - On success, responds with [`GetSchemaVersionOutput`](crate::operation::get_schema_version::GetSchemaVersionOutput) with field(s):
10    ///   - [`schema_id(Option<String>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::schema_id): <p>The id of the schema version.</p>
11    ///   - [`r#type(Option<SchemaVersionType>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::type): <p>The type of schema version.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::description): <p>The description of the schema version.</p>
13    ///   - [`namespace(Option<String>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::namespace): <p>The name of the schema version.</p>
14    ///   - [`semantic_version(Option<String>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::semantic_version): <p>The schema version. If this is left blank, it defaults to the latest version.</p>
15    ///   - [`visibility(Option<SchemaVersionVisibility>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::visibility): <p>The visibility of the schema version.</p>
16    ///   - [`schema(Option<Document>)`](crate::operation::get_schema_version::GetSchemaVersionOutput::schema): <p>The schema of the schema version.</p>
17    /// - On failure, responds with [`SdkError<GetSchemaVersionError>`](crate::operation::get_schema_version::GetSchemaVersionError)
18    pub fn get_schema_version(&self) -> crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder {
19        crate::operation::get_schema_version::builders::GetSchemaVersionFluentBuilder::new(self.handle.clone())
20    }
21}