aws_sdk_ssmcontacts/client/list_rotation_overrides.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 [`ListRotationOverrides`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`rotation_id(impl Into<String>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::rotation_id) / [`set_rotation_id(Option<String>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::set_rotation_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the rotation to retrieve information about.</p><br>
8 /// - [`start_time(DateTime)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::set_start_time):<br>required: **true**<br><p>The date and time for the beginning of a time range for listing overrides.</p><br>
9 /// - [`end_time(DateTime)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::set_end_time):<br>required: **true**<br><p>The date and time for the end of a time range for listing overrides.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token to start the list. Use this token to get the next set of results.</p><br>
11 /// - [`max_results(i32)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p><br>
12 /// - On success, responds with [`ListRotationOverridesOutput`](crate::operation::list_rotation_overrides::ListRotationOverridesOutput) with field(s):
13 /// - [`rotation_overrides(Option<Vec::<RotationOverride>>)`](crate::operation::list_rotation_overrides::ListRotationOverridesOutput::rotation_overrides): <p>A list of rotation overrides in the specified time range.</p>
14 /// - [`next_token(Option<String>)`](crate::operation::list_rotation_overrides::ListRotationOverridesOutput::next_token): <p>The token for the next set of items to return. Use this token to get the next set of results.</p>
15 /// - On failure, responds with [`SdkError<ListRotationOverridesError>`](crate::operation::list_rotation_overrides::ListRotationOverridesError)
16 pub fn list_rotation_overrides(&self) -> crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder {
17 crate::operation::list_rotation_overrides::builders::ListRotationOverridesFluentBuilder::new(self.handle.clone())
18 }
19}