aws_sdk_cleanroomsml/client/
create_configured_model_algorithm_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 [`CreateConfiguredModelAlgorithmAssociation`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The membership ID of the member who is associating this configured model algorithm.</p><br>
7    ///   - [`configured_model_algorithm_arn(impl Into<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::configured_model_algorithm_arn) / [`set_configured_model_algorithm_arn(Option<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_configured_model_algorithm_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the configured model algorithm that you want to associate.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the configured model algorithm association.</p><br>
9    ///   - [`description(impl Into<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_description):<br>required: **false**<br><p>The description of the configured model algorithm association.</p><br>
10    ///   - [`privacy_configuration(PrivacyConfiguration)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::privacy_configuration) / [`set_privacy_configuration(Option<PrivacyConfiguration>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_privacy_configuration):<br>required: **false**<br><p>Specifies the privacy configuration information for the configured model algorithm association. This information includes the maximum data size that can be exported.</p><br>
11    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::set_tags):<br>required: **false**<br><p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul>  <li>   <p>Maximum number of tags per resource - 50.</p></li>  <li>   <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>  <li>   <p>Maximum key length - 128 Unicode characters in UTF-8.</p></li>  <li>   <p>Maximum value length - 256 Unicode characters in UTF-8.</p></li>  <li>   <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>  <li>   <p>Tag keys and values are case sensitive.</p></li>  <li>   <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p></li> </ul><br>
12    /// - On success, responds with [`CreateConfiguredModelAlgorithmAssociationOutput`](crate::operation::create_configured_model_algorithm_association::CreateConfiguredModelAlgorithmAssociationOutput) with field(s):
13    ///   - [`configured_model_algorithm_association_arn(String)`](crate::operation::create_configured_model_algorithm_association::CreateConfiguredModelAlgorithmAssociationOutput::configured_model_algorithm_association_arn): <p>The Amazon Resource Name (ARN) of the configured model algorithm association.</p>
14    /// - On failure, responds with [`SdkError<CreateConfiguredModelAlgorithmAssociationError>`](crate::operation::create_configured_model_algorithm_association::CreateConfiguredModelAlgorithmAssociationError)
15    pub fn create_configured_model_algorithm_association(
16        &self,
17    ) -> crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder {
18        crate::operation::create_configured_model_algorithm_association::builders::CreateConfiguredModelAlgorithmAssociationFluentBuilder::new(
19            self.handle.clone(),
20        )
21    }
22}