aws_sdk_cleanrooms/client/get_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 [`GetSchema`](crate::operation::get_schema::builders::GetSchemaFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`collaboration_identifier(impl Into<String>)`](crate::operation::get_schema::builders::GetSchemaFluentBuilder::collaboration_identifier) / [`set_collaboration_identifier(Option<String>)`](crate::operation::get_schema::builders::GetSchemaFluentBuilder::set_collaboration_identifier):<br>required: **true**<br><p>A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::get_schema::builders::GetSchemaFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_schema::builders::GetSchemaFluentBuilder::set_name):<br>required: **true**<br><p>The name of the relation to retrieve the schema for.</p><br>
8 /// - On success, responds with [`GetSchemaOutput`](crate::operation::get_schema::GetSchemaOutput) with field(s):
9 /// - [`schema(Option<Schema>)`](crate::operation::get_schema::GetSchemaOutput::schema): <p>The entire schema object.</p>
10 /// - On failure, responds with [`SdkError<GetSchemaError>`](crate::operation::get_schema::GetSchemaError)
11 pub fn get_schema(&self) -> crate::operation::get_schema::builders::GetSchemaFluentBuilder {
12 crate::operation::get_schema::builders::GetSchemaFluentBuilder::new(self.handle.clone())
13 }
14}