aws_sdk_schemas/client/export_schema.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 [`ExportSchema`](crate::operation::export_schema::builders::ExportSchemaFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`ExportSchemaOutput`](crate::operation::export_schema::ExportSchemaOutput) with field(s):
11 /// - [`content(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::content): (undocumented)
12 /// - [`schema_arn(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_arn): (undocumented)
13 /// - [`schema_name(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_name): (undocumented)
14 /// - [`schema_version(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::schema_version): (undocumented)
15 /// - [`r#type(Option<String>)`](crate::operation::export_schema::ExportSchemaOutput::type): (undocumented)
16 /// - On failure, responds with [`SdkError<ExportSchemaError>`](crate::operation::export_schema::ExportSchemaError)
17 pub fn export_schema(&self) -> crate::operation::export_schema::builders::ExportSchemaFluentBuilder {
18 crate::operation::export_schema::builders::ExportSchemaFluentBuilder::new(self.handle.clone())
19 }
20}