aws_sdk_lightsail/client/get_active_names.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 [`GetActiveNames`](crate::operation::get_active_names::builders::GetActiveNamesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`page_token(impl Into<String>)`](crate::operation::get_active_names::builders::GetActiveNamesFluentBuilder::page_token) / [`set_page_token(Option<String>)`](crate::operation::get_active_names::builders::GetActiveNamesFluentBuilder::set_page_token):<br>required: **false**<br><p>The token to advance to the next page of results from your request.</p> <p>To get a page token, perform an initial <code>GetActiveNames</code> request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.</p><br>
7 /// - On success, responds with [`GetActiveNamesOutput`](crate::operation::get_active_names::GetActiveNamesOutput) with field(s):
8 /// - [`active_names(Option<Vec::<String>>)`](crate::operation::get_active_names::GetActiveNamesOutput::active_names): <p>The list of active names returned by the get active names request.</p>
9 /// - [`next_page_token(Option<String>)`](crate::operation::get_active_names::GetActiveNamesOutput::next_page_token): <p>The token to advance to the next page of results from your request.</p> <p>A next page token is not returned if there are no more results to display.</p> <p>To get the next page of results, perform another <code>GetActiveNames</code> request and specify the next page token using the <code>pageToken</code> parameter.</p>
10 /// - On failure, responds with [`SdkError<GetActiveNamesError>`](crate::operation::get_active_names::GetActiveNamesError)
11 pub fn get_active_names(&self) -> crate::operation::get_active_names::builders::GetActiveNamesFluentBuilder {
12 crate::operation::get_active_names::builders::GetActiveNamesFluentBuilder::new(self.handle.clone())
13 }
14}