1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExportSchema`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_name(impl Into<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::registry_name) / [`set_registry_name(Option<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::set_registry_name):<br>required: **true**<br><p>The name of the registry.</p><br>
    ///   - [`schema_name(impl Into<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::schema_name) / [`set_schema_name(Option<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::set_schema_name):<br>required: **true**<br><p>The name of the schema.</p><br>
    ///   - [`schema_version(impl Into<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::schema_version) / [`set_schema_version(Option<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::set_schema_version):<br>required: **false**<br><p>Specifying this limits the results to only this schema version.</p><br>
    ///   - [`r#type(impl Into<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder::set_type):<br>required: **true**<br>(undocumented)<br>
    /// - On success, responds with [`ExportSchemaOutput`](crate::operation::export_schema::ExportSchemaOutput) with field(s):
    ///   - [`content(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::content): (undocumented)
    ///   - [`schema_arn(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_arn): (undocumented)
    ///   - [`schema_name(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_name): (undocumented)
    ///   - [`schema_version(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_version): (undocumented)
    ///   - [`r#type(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::type): (undocumented)
    /// - On failure, responds with [`SdkError<ExportSchemaError>`](crate::operation::export_schema::ExportSchemaError)
    pub fn export_schema(&self) -> crate::operation::export_schema::builders::ExportSchemaFluentBuilder {
        crate::operation::export_schema::builders::ExportSchemaFluentBuilder::new(self.handle.clone())
    }
}