1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDiscoveredSchema`](crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`events(impl Into<String>)`](crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder::events) / [`set_events(Option<Vec::<String>>)`](crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder::set_events):<br>required: **true**<br><p>An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.</p><br>
    ///   - [`r#type(Type)`](crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder::type) / [`set_type(Option<Type>)`](crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder::set_type):<br>required: **true**<br><p>The type of event.</p><br>
    /// - On success, responds with [`GetDiscoveredSchemaOutput`](crate::operation::get_discovered_schema::GetDiscoveredSchemaOutput) with field(s):
    ///   - [`content(Option<String>)`](crate::operation::get_discovered_schema::GetDiscoveredSchemaOutput::content): <p>The source of the schema definition.</p>
    /// - On failure, responds with [`SdkError<GetDiscoveredSchemaError>`](crate::operation::get_discovered_schema::GetDiscoveredSchemaError)
    pub fn get_discovered_schema(&self) -> crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder {
        crate::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder::new(self.handle.clone())
    }
}