aws_sdk_redshiftserverless/client/list_managed_workgroups.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 [`ListManagedWorkgroups`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`source_arn(impl Into<String>)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::source_arn) / [`set_source_arn(Option<String>)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::set_source_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) for the managed workgroup in the Glue Data Catalog.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>If your initial ListManagedWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListManagedWorkgroups operations, which returns results in the next page.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.</p><br>
10 /// - On success, responds with [`ListManagedWorkgroupsOutput`](crate::operation::list_managed_workgroups::ListManagedWorkgroupsOutput) with field(s):
11 /// - [`next_token(Option<String>)`](crate::operation::list_managed_workgroups::ListManagedWorkgroupsOutput::next_token): <p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.</p>
12 /// - [`managed_workgroups(Option<Vec::<ManagedWorkgroupListItem>>)`](crate::operation::list_managed_workgroups::ListManagedWorkgroupsOutput::managed_workgroups): <p>The returned array of managed workgroups.</p>
13 /// - On failure, responds with [`SdkError<ListManagedWorkgroupsError>`](crate::operation::list_managed_workgroups::ListManagedWorkgroupsError)
14 pub fn list_managed_workgroups(&self) -> crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder {
15 crate::operation::list_managed_workgroups::builders::ListManagedWorkgroupsFluentBuilder::new(self.handle.clone())
16 }
17}