aws_sdk_vpclattice/client/
register_targets.rs

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 [`RegisterTargets`](crate::operation::register_targets::builders::RegisterTargetsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_group_identifier(impl Into<String>)`](crate::operation::register_targets::builders::RegisterTargetsFluentBuilder::target_group_identifier) / [`set_target_group_identifier(Option<String>)`](crate::operation::register_targets::builders::RegisterTargetsFluentBuilder::set_target_group_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the target group.</p><br>
    ///   - [`targets(Target)`](crate::operation::register_targets::builders::RegisterTargetsFluentBuilder::targets) / [`set_targets(Option<Vec::<Target>>)`](crate::operation::register_targets::builders::RegisterTargetsFluentBuilder::set_targets):<br>required: **true**<br><p>The targets.</p><br>
    /// - On success, responds with [`RegisterTargetsOutput`](crate::operation::register_targets::RegisterTargetsOutput) with field(s):
    ///   - [`successful(Option<Vec::<Target>>)`](crate::operation::register_targets::RegisterTargetsOutput::successful): <p>The targets that were successfully registered.</p>
    ///   - [`unsuccessful(Option<Vec::<TargetFailure>>)`](crate::operation::register_targets::RegisterTargetsOutput::unsuccessful): <p>The targets that were not registered.</p>
    /// - On failure, responds with [`SdkError<RegisterTargetsError>`](crate::operation::register_targets::RegisterTargetsError)
    pub fn register_targets(&self) -> crate::operation::register_targets::builders::RegisterTargetsFluentBuilder {
        crate::operation::register_targets::builders::RegisterTargetsFluentBuilder::new(self.handle.clone())
    }
}