aws_sdk_directconnect/client/describe_lags.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 [`DescribeLags`](crate::operation::describe_lags::builders::DescribeLagsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`lag_id(impl Into<String>)`](crate::operation::describe_lags::builders::DescribeLagsFluentBuilder::lag_id) / [`set_lag_id(Option<String>)`](crate::operation::describe_lags::builders::DescribeLagsFluentBuilder::set_lag_id):<br>required: **false**<br><p>The ID of the LAG.</p><br>
7 /// - On success, responds with [`DescribeLagsOutput`](crate::operation::describe_lags::DescribeLagsOutput) with field(s):
8 /// - [`lags(Option<Vec::<Lag>>)`](crate::operation::describe_lags::DescribeLagsOutput::lags): <p>The LAGs.</p>
9 /// - On failure, responds with [`SdkError<DescribeLagsError>`](crate::operation::describe_lags::DescribeLagsError)
10 pub fn describe_lags(&self) -> crate::operation::describe_lags::builders::DescribeLagsFluentBuilder {
11 crate::operation::describe_lags::builders::DescribeLagsFluentBuilder::new(self.handle.clone())
12 }
13}