aws_sdk_directconnect/client/describe_locations.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 [`DescribeLocations`](crate::operation::describe_locations::builders::DescribeLocationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::describe_locations::builders::DescribeLocationsFluentBuilder::send) it.
6 /// - On success, responds with [`DescribeLocationsOutput`](crate::operation::describe_locations::DescribeLocationsOutput) with field(s):
7 /// - [`locations(Option<Vec::<Location>>)`](crate::operation::describe_locations::DescribeLocationsOutput::locations): <p>The locations.</p>
8 /// - On failure, responds with [`SdkError<DescribeLocationsError>`](crate::operation::describe_locations::DescribeLocationsError)
9 pub fn describe_locations(&self) -> crate::operation::describe_locations::builders::DescribeLocationsFluentBuilder {
10 crate::operation::describe_locations::builders::DescribeLocationsFluentBuilder::new(self.handle.clone())
11 }
12}