aws_sdk_ssmcontacts/client/
update_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 [`UpdateRotation`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rotation_id(impl Into<String>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::rotation_id) / [`set_rotation_id(Option<String>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::set_rotation_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the rotation to update.</p><br>
7    ///   - [`contact_ids(impl Into<String>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::contact_ids) / [`set_contact_ids(Option<Vec::<String>>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::set_contact_ids):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.</p><note>  <p>Only the <code>PERSONAL</code> contact type is supported. The contact types <code>ESCALATION</code> and <code>ONCALL_SCHEDULE</code> are not supported for this operation.</p> </note> <p>The order in which you list the contacts is their shift order in the rotation schedule.</p><br>
8    ///   - [`start_time(DateTime)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::set_start_time):<br>required: **false**<br><p>The date and time the rotation goes into effect.</p><br>
9    ///   - [`time_zone_id(impl Into<String>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::time_zone_id) / [`set_time_zone_id(Option<String>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::set_time_zone_id):<br>required: **false**<br><p>The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time Zone Database</a> on the IANA website.</p><note>  <p>Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST), aren't supported.</p> </note><br>
10    ///   - [`recurrence(RecurrenceSettings)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::recurrence) / [`set_recurrence(Option<RecurrenceSettings>)`](crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::set_recurrence):<br>required: **true**<br><p>Information about how long the updated rotation lasts before restarting at the beginning of the shift order.</p><br>
11    /// - On success, responds with [`UpdateRotationOutput`](crate::operation::update_rotation::UpdateRotationOutput)
12    /// - On failure, responds with [`SdkError<UpdateRotationError>`](crate::operation::update_rotation::UpdateRotationError)
13    pub fn update_rotation(&self) -> crate::operation::update_rotation::builders::UpdateRotationFluentBuilder {
14        crate::operation::update_rotation::builders::UpdateRotationFluentBuilder::new(self.handle.clone())
15    }
16}