aws_sdk_kafka/client/batch_associate_scram_secret.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 [`BatchAssociateScramSecret`](crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_arn(impl Into<String>)`](crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the cluster to be updated.</p><br>
7 /// - [`secret_arn_list(impl Into<String>)`](crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder::secret_arn_list) / [`set_secret_arn_list(Option<Vec::<String>>)`](crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder::set_secret_arn_list):<br>required: **true**<br><p>List of AWS Secrets Manager secret ARNs.</p><br>
8 /// - On success, responds with [`BatchAssociateScramSecretOutput`](crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretOutput) with field(s):
9 /// - [`cluster_arn(Option<String>)`](crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster.</p>
10 /// - [`unprocessed_scram_secrets(Option<Vec::<UnprocessedScramSecret>>)`](crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretOutput::unprocessed_scram_secrets): <p>List of errors when associating secrets to cluster.</p>
11 /// - On failure, responds with [`SdkError<BatchAssociateScramSecretError>`](crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError)
12 pub fn batch_associate_scram_secret(&self) -> crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder {
13 crate::operation::batch_associate_scram_secret::builders::BatchAssociateScramSecretFluentBuilder::new(self.handle.clone())
14 }
15}