1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListStateMachineVersions`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`state_machine_arn(impl Into<String>)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::state_machine_arn) / [`set_state_machine_arn(Option<String>)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::set_state_machine_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the state machine.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p> <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p><br>
    /// - On success, responds with [`ListStateMachineVersionsOutput`](crate::operation::list_state_machine_versions::ListStateMachineVersionsOutput) with field(s):
    ///   - [`state_machine_versions(Vec::<StateMachineVersionListItem>)`](crate::operation::list_state_machine_versions::ListStateMachineVersionsOutput::state_machine_versions): <p>Versions for the state machine.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_state_machine_versions::ListStateMachineVersionsOutput::next_token): <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
    /// - On failure, responds with [`SdkError<ListStateMachineVersionsError>`](crate::operation::list_state_machine_versions::ListStateMachineVersionsError)
    pub fn list_state_machine_versions(&self) -> crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder {
        crate::operation::list_state_machine_versions::builders::ListStateMachineVersionsFluentBuilder::new(self.handle.clone())
    }
}