aws_sdk_elasticloadbalancingv2/client/modify_target_group_attributes.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 [`ModifyTargetGroupAttributes`](crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`target_group_arn(impl Into<String>)`](crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder::target_group_arn) / [`set_target_group_arn(Option<String>)`](crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder::set_target_group_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the target group.</p><br>
7 /// - [`attributes(TargetGroupAttribute)`](crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder::attributes) / [`set_attributes(Option<Vec::<TargetGroupAttribute>>)`](crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder::set_attributes):<br>required: **true**<br><p>The target group attributes.</p><br>
8 /// - On success, responds with [`ModifyTargetGroupAttributesOutput`](crate::operation::modify_target_group_attributes::ModifyTargetGroupAttributesOutput) with field(s):
9 /// - [`attributes(Option<Vec::<TargetGroupAttribute>>)`](crate::operation::modify_target_group_attributes::ModifyTargetGroupAttributesOutput::attributes): <p>Information about the target group attributes.</p>
10 /// - On failure, responds with [`SdkError<ModifyTargetGroupAttributesError>`](crate::operation::modify_target_group_attributes::ModifyTargetGroupAttributesError)
11 pub fn modify_target_group_attributes(
12 &self,
13 ) -> crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder {
14 crate::operation::modify_target_group_attributes::builders::ModifyTargetGroupAttributesFluentBuilder::new(self.handle.clone())
15 }
16}