// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetInstances`](crate::operation::get_instances::builders::GetInstancesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`page_token(impl Into<String>)`](crate::operation::get_instances::builders::GetInstancesFluentBuilder::page_token) / [`set_page_token(Option<String>)`](crate::operation::get_instances::builders::GetInstancesFluentBuilder::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>GetInstances</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>
/// - On success, responds with [`GetInstancesOutput`](crate::operation::get_instances::GetInstancesOutput) with field(s):
/// - [`instances(Option<Vec::<Instance>>)`](crate::operation::get_instances::GetInstancesOutput::instances): <p>An array of key-value pairs containing information about your instances.</p>
/// - [`next_page_token(Option<String>)`](crate::operation::get_instances::GetInstancesOutput::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>GetInstances</code> request and specify the next page token using the <code>pageToken</code> parameter.</p>
/// - On failure, responds with [`SdkError<GetInstancesError>`](crate::operation::get_instances::GetInstancesError)
pub fn get_instances(&self) -> crate::operation::get_instances::builders::GetInstancesFluentBuilder {
crate::operation::get_instances::builders::GetInstancesFluentBuilder::new(self.handle.clone())
}
}