aws_sdk_cleanrooms/client/
create_configured_table_association.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 [`CreateConfiguredTableAssociation`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the configured table association. This name is used to query the underlying configured table.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_description):<br>required: **false**<br><p>A description for the configured table association.</p><br>
8    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>A unique identifier for one of your memberships for a collaboration. The configured table is associated to the collaboration that this membership belongs to. Currently accepts a membership ID.</p><br>
9    ///   - [`configured_table_identifier(impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::configured_table_identifier) / [`set_configured_table_identifier(Option<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_configured_table_identifier):<br>required: **true**<br><p>A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.</p><br>
10    ///   - [`role_arn(impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_role_arn):<br>required: **true**<br><p>The service will assume this role to access catalog metadata and query the table.</p><br>
11    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::set_tags):<br>required: **false**<br><p>An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.</p><br>
12    /// - On success, responds with [`CreateConfiguredTableAssociationOutput`](crate::operation::create_configured_table_association::CreateConfiguredTableAssociationOutput) with field(s):
13    ///   - [`configured_table_association(Option<ConfiguredTableAssociation>)`](crate::operation::create_configured_table_association::CreateConfiguredTableAssociationOutput::configured_table_association): <p>The configured table association.</p>
14    /// - On failure, responds with [`SdkError<CreateConfiguredTableAssociationError>`](crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError)
15    pub fn create_configured_table_association(
16        &self,
17    ) -> crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder {
18        crate::operation::create_configured_table_association::builders::CreateConfiguredTableAssociationFluentBuilder::new(self.handle.clone())
19    }
20}