aws_sdk_gamelift/client/list_scripts.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 [`ListScripts`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`limit(i32)`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_scripts::builders::ListScriptsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.</p><br>
9 /// - On success, responds with [`ListScriptsOutput`](crate::operation::list_scripts::ListScriptsOutput) with field(s):
10 /// - [`scripts(Option<Vec::<Script>>)`](crate::operation::list_scripts::ListScriptsOutput::scripts): <p>A set of properties describing the requested script.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_scripts::ListScriptsOutput::next_token): <p>A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.</p>
12 /// - On failure, responds with [`SdkError<ListScriptsError>`](crate::operation::list_scripts::ListScriptsError)
13 pub fn list_scripts(&self) -> crate::operation::list_scripts::builders::ListScriptsFluentBuilder {
14 crate::operation::list_scripts::builders::ListScriptsFluentBuilder::new(self.handle.clone())
15 }
16}