aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSetupHistory`](crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_name(impl Into<String>)`](crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder::resource_name) / [`set_resource_name(Option<String>)`](crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder::set_resource_name):<br>required: **true**<br><p>The name of the resource for which you are requesting information.</p><br>
    ///   - [`page_token(impl Into<String>)`](crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder::page_token) / [`set_page_token(Option<String>)`](crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder::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>GetSetupHistory</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 [`GetSetupHistoryOutput`](crate::operation::get_setup_history::GetSetupHistoryOutput) with field(s):
    ///   - [`setup_history(Option<Vec::<SetupHistory>>)`](crate::operation::get_setup_history::GetSetupHistoryOutput::setup_history): <p>The historical information that's returned.</p>
    ///   - [`next_page_token(Option<String>)`](crate::operation::get_setup_history::GetSetupHistoryOutput::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>GetSetupHistory</code> request and specify the next page token using the pageToken parameter.</p>
    /// - On failure, responds with [`SdkError<GetSetupHistoryError>`](crate::operation::get_setup_history::GetSetupHistoryError)
    pub fn get_setup_history(&self) -> crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder {
        crate::operation::get_setup_history::builders::GetSetupHistoryFluentBuilder::new(self.handle.clone())
    }
}