aws_sdk_codecommit/client/associate_approval_rule_template_with_repository.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 [`AssociateApprovalRuleTemplateWithRepository`](crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`approval_rule_template_name(impl Into<String>)`](crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder::approval_rule_template_name) / [`set_approval_rule_template_name(Option<String>)`](crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder::set_approval_rule_template_name):<br>required: **true**<br><p>The name for the approval rule template.</p><br>
7 /// - [`repository_name(impl Into<String>)`](crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository that you want to associate with the template.</p><br>
8 /// - On success, responds with [`AssociateApprovalRuleTemplateWithRepositoryOutput`](crate::operation::associate_approval_rule_template_with_repository::AssociateApprovalRuleTemplateWithRepositoryOutput)
9 /// - On failure, responds with [`SdkError<AssociateApprovalRuleTemplateWithRepositoryError>`](crate::operation::associate_approval_rule_template_with_repository::AssociateApprovalRuleTemplateWithRepositoryError)
10 pub fn associate_approval_rule_template_with_repository(
11 &self,
12 ) -> crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder {
13 crate::operation::associate_approval_rule_template_with_repository::builders::AssociateApprovalRuleTemplateWithRepositoryFluentBuilder::new(
14 self.handle.clone(),
15 )
16 }
17}