aws-sdk-codecommit 1.99.0

AWS SDK for AWS CodeCommit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchAssociateApprovalRuleTemplateWithRepositories`](crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`approval_rule_template_name(impl Into<String>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder::approval_rule_template_name) / [`set_approval_rule_template_name(Option<String>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder::set_approval_rule_template_name):<br>required: **true**<br><p>The name of the template you want to associate with one or more repositories.</p><br>
    ///   - [`repository_names(impl Into<String>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder::repository_names) / [`set_repository_names(Option<Vec::<String>>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder::set_repository_names):<br>required: **true**<br><p>The names of the repositories you want to associate with the template.</p><note>  <p>The length constraint limit is for each string in the array. The array itself can be empty.</p> </note><br>
    /// - On success, responds with [`BatchAssociateApprovalRuleTemplateWithRepositoriesOutput`](crate::operation::batch_associate_approval_rule_template_with_repositories::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) with field(s):
    ///   - [`associated_repository_names(Vec::<String>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput::associated_repository_names): <p>A list of names of the repositories that have been associated with the template.</p>
    ///   - [`errors(Vec::<BatchAssociateApprovalRuleTemplateWithRepositoriesError>)`](crate::operation::batch_associate_approval_rule_template_with_repositories::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput::errors): <p>A list of any errors that might have occurred while attempting to create the association between the template and the repositories.</p>
    /// - On failure, responds with [`SdkError<BatchAssociateApprovalRuleTemplateWithRepositoriesError>`](crate::operation::batch_associate_approval_rule_template_with_repositories::BatchAssociateApprovalRuleTemplateWithRepositoriesError)
    pub fn batch_associate_approval_rule_template_with_repositories(&self) -> crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder{
        crate::operation::batch_associate_approval_rule_template_with_repositories::builders::BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder::new(self.handle.clone())
    }
}