aws_sdk_resiliencehub/client/list_app_versions.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 [`ListAppVersions`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`app_arn(impl Into<String>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::set_app_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>Null, or the token from a previous call to get the next set of results.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>Maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p><br>
10 /// - [`start_time(DateTime)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::set_start_time):<br>required: **false**<br><p>Lower limit of the time range to filter the application versions.</p><br>
11 /// - [`end_time(DateTime)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::set_end_time):<br>required: **false**<br><p>Upper limit of the time range to filter the application versions.</p><br>
12 /// - On success, responds with [`ListAppVersionsOutput`](crate::operation::list_app_versions::ListAppVersionsOutput) with field(s):
13 /// - [`app_versions(Vec::<AppVersionSummary>)`](crate::operation::list_app_versions::ListAppVersionsOutput::app_versions): <p>The version of the application.</p>
14 /// - [`next_token(Option<String>)`](crate::operation::list_app_versions::ListAppVersionsOutput::next_token): <p>Token for the next set of results, or null if there are no more results.</p>
15 /// - On failure, responds with [`SdkError<ListAppVersionsError>`](crate::operation::list_app_versions::ListAppVersionsError)
16 pub fn list_app_versions(&self) -> crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder {
17 crate::operation::list_app_versions::builders::ListAppVersionsFluentBuilder::new(self.handle.clone())
18 }
19}