aws_sdk_ssmcontacts/client/get_rotation.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 [`GetRotation`](crate::operation::get_rotation::builders::GetRotationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`rotation_id(impl Into<String>)`](crate::operation::get_rotation::builders::GetRotationFluentBuilder::rotation_id) / [`set_rotation_id(Option<String>)`](crate::operation::get_rotation::builders::GetRotationFluentBuilder::set_rotation_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the on-call rotation to retrieve information about.</p><br>
7 /// - On success, responds with [`GetRotationOutput`](crate::operation::get_rotation::GetRotationOutput) with field(s):
8 /// - [`rotation_arn(String)`](crate::operation::get_rotation::GetRotationOutput::rotation_arn): <p>The Amazon Resource Name (ARN) of the on-call rotation.</p>
9 /// - [`name(String)`](crate::operation::get_rotation::GetRotationOutput::name): <p>The name of the on-call rotation.</p>
10 /// - [`contact_ids(Vec::<String>)`](crate::operation::get_rotation::GetRotationOutput::contact_ids): <p>The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.</p>
11 /// - [`start_time(DateTime)`](crate::operation::get_rotation::GetRotationOutput::start_time): <p>The specified start time for the on-call rotation.</p>
12 /// - [`time_zone_id(String)`](crate::operation::get_rotation::GetRotationOutput::time_zone_id): <p>The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.</p>
13 /// - [`recurrence(Option<RecurrenceSettings>)`](crate::operation::get_rotation::GetRotationOutput::recurrence): <p>Specifies how long a rotation lasts before restarting at the beginning of the shift order.</p>
14 /// - On failure, responds with [`SdkError<GetRotationError>`](crate::operation::get_rotation::GetRotationError)
15 pub fn get_rotation(&self) -> crate::operation::get_rotation::builders::GetRotationFluentBuilder {
16 crate::operation::get_rotation::builders::GetRotationFluentBuilder::new(self.handle.clone())
17 }
18}