aws_sdk_vpclattice/client/
update_target_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTargetGroup`](crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_group_identifier(impl Into<String>)`](crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder::target_group_identifier) / [`set_target_group_identifier(Option<String>)`](crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder::set_target_group_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the target group.</p><br>
    ///   - [`health_check(HealthCheckConfig)`](crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder::health_check) / [`set_health_check(Option<HealthCheckConfig>)`](crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder::set_health_check):<br>required: **true**<br><p>The health check configuration.</p><br>
    /// - On success, responds with [`UpdateTargetGroupOutput`](crate::operation::update_target_group::UpdateTargetGroupOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::id): <p>The ID of the target group.</p>
    ///   - [`arn(Option<String>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::arn): <p>The Amazon Resource Name (ARN) of the target group.</p>
    ///   - [`name(Option<String>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::name): <p>The name of the target group.</p>
    ///   - [`r#type(Option<TargetGroupType>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::type): <p>The target group type.</p>
    ///   - [`config(Option<TargetGroupConfig>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::config): <p>The target group configuration.</p>
    ///   - [`status(Option<TargetGroupStatus>)`](crate::operation::update_target_group::UpdateTargetGroupOutput::status): <p>The status.</p>
    /// - On failure, responds with [`SdkError<UpdateTargetGroupError>`](crate::operation::update_target_group::UpdateTargetGroupError)
    pub fn update_target_group(&self) -> crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder {
        crate::operation::update_target_group::builders::UpdateTargetGroupFluentBuilder::new(self.handle.clone())
    }
}