1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListReplays`](crate::operation::list_replays::builders::ListReplaysFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name_prefix(impl Into<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::set_name_prefix):<br>required: **false**<br><p>A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.</p><br>
    ///   - [`state(ReplayState)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::state) / [`set_state(Option<ReplayState>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::set_state):<br>required: **false**<br><p>The state of the replay.</p><br>
    ///   - [`event_source_arn(impl Into<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::event_source_arn) / [`set_event_source_arn(Option<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::set_event_source_arn):<br>required: **false**<br><p>The ARN of the archive from which the events are replayed.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned by a previous call to retrieve the next set of results.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_replays::builders::ListReplaysFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of replays to retrieve.</p><br>
    /// - On success, responds with [`ListReplaysOutput`](crate::operation::list_replays::ListReplaysOutput) with field(s):
    ///   - [`replays(Option<Vec::<Replay>>)`](crate::operation::list_replays::ListReplaysOutput::replays): <p>An array of <code>Replay</code> objects that contain information about the replay.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_replays::ListReplaysOutput::next_token): <p>The token returned by a previous call to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListReplaysError>`](crate::operation::list_replays::ListReplaysError)
    pub fn list_replays(&self) -> crate::operation::list_replays::builders::ListReplaysFluentBuilder {
        crate::operation::list_replays::builders::ListReplaysFluentBuilder::new(self.handle.clone())
    }
}