1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSchema`](crate::operation::create_schema::builders::CreateSchemaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_schema::builders::CreateSchemaFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_schema::builders::CreateSchemaFluentBuilder::set_name):<br>required: **true**<br><p>The name that is associated with the schema. This is unique to each account and in each region.</p><br>
    /// - On success, responds with [`CreateSchemaOutput`](crate::operation::create_schema::CreateSchemaOutput) with field(s):
    ///   - [`schema_arn(Option<String>)`](crate::operation::create_schema::CreateSchemaOutput::schema_arn): <p>The Amazon Resource Name (ARN) that is associated with the schema. For more information, see <code>arns</code>.</p>
    /// - On failure, responds with [`SdkError<CreateSchemaError>`](crate::operation::create_schema::CreateSchemaError)
    pub fn create_schema(&self) -> crate::operation::create_schema::builders::CreateSchemaFluentBuilder {
        crate::operation::create_schema::builders::CreateSchemaFluentBuilder::new(self.handle.clone())
    }
}