aws_sdk_cleanrooms/client/
batch_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 [`BatchGetSchema`](crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`collaboration_identifier(impl Into<String>)`](crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder::collaboration_identifier) / [`set_collaboration_identifier(Option<String>)`](crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder::set_collaboration_identifier):<br>required: **true**<br><p>A unique identifier for the collaboration that the schemas belong to. Currently accepts collaboration ID.</p><br>
7    ///   - [`names(impl Into<String>)`](crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder::set_names):<br>required: **true**<br><p>The names for the schema objects to retrieve.</p><br>
8    /// - On success, responds with [`BatchGetSchemaOutput`](crate::operation::batch_get_schema::BatchGetSchemaOutput) with field(s):
9    ///   - [`schemas(Vec::<Schema>)`](crate::operation::batch_get_schema::BatchGetSchemaOutput::schemas): <p>The retrieved list of schemas.</p>
10    ///   - [`errors(Vec::<BatchGetSchemaError>)`](crate::operation::batch_get_schema::BatchGetSchemaOutput::errors): <p>Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.</p>
11    /// - On failure, responds with [`SdkError<BatchGetSchemaError>`](crate::operation::batch_get_schema::BatchGetSchemaError)
12    pub fn batch_get_schema(&self) -> crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder {
13        crate::operation::batch_get_schema::builders::BatchGetSchemaFluentBuilder::new(self.handle.clone())
14    }
15}