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 [`BatchDisassociateApprovalRuleTemplateFromRepositories`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`approval_rule_template_name(impl Into<String>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder::approval_rule_template_name) / [`set_approval_rule_template_name(Option<String>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder::set_approval_rule_template_name):<br>required: **true**<br><p>The name of the template that you want to disassociate from one or more repositories.</p><br>
    ///   - [`repository_names(impl Into<String>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder::repository_names) / [`set_repository_names(Option<Vec::<String>>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder::set_repository_names):<br>required: **true**<br><p>The repository names that you want to disassociate from the approval rule 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 [`BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) with field(s):
    ///   - [`disassociated_repository_names(Vec::<String>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput::disassociated_repository_names): <p>A list of repository names that have had their association with the template removed.</p>
    ///   - [`errors(Vec::<BatchDisassociateApprovalRuleTemplateFromRepositoriesError>)`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput::errors): <p>A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.</p>
    /// - On failure, responds with [`SdkError<BatchDisassociateApprovalRuleTemplateFromRepositoriesError>`](crate::operation::batch_disassociate_approval_rule_template_from_repositories::BatchDisassociateApprovalRuleTemplateFromRepositoriesError)
    pub fn batch_disassociate_approval_rule_template_from_repositories(&self) -> crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder{
        crate::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder::new(self.handle.clone())
    }
}