aws_sdk_applicationsignals/client/
batch_update_exclusion_windows.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 [`BatchUpdateExclusionWindows`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`slo_ids(impl Into<String>)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::slo_ids) / [`set_slo_ids(Option<Vec::<String>>)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::set_slo_ids):<br>required: **true**<br><p>The list of SLO IDs to add or remove exclusion windows from.</p><br>
7    ///   - [`add_exclusion_windows(ExclusionWindow)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::add_exclusion_windows) / [`set_add_exclusion_windows(Option<Vec::<ExclusionWindow>>)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::set_add_exclusion_windows):<br>required: **false**<br><p>A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.</p><br>
8    ///   - [`remove_exclusion_windows(ExclusionWindow)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::remove_exclusion_windows) / [`set_remove_exclusion_windows(Option<Vec::<ExclusionWindow>>)`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::set_remove_exclusion_windows):<br>required: **false**<br><p>A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.</p><br>
9    /// - On success, responds with [`BatchUpdateExclusionWindowsOutput`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput) with field(s):
10    ///   - [`slo_ids(Vec::<String>)`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput::slo_ids): <p>The list of SLO IDs that were successfully processed.</p>
11    ///   - [`errors(Vec::<BatchUpdateExclusionWindowsError>)`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput::errors): <p>A list of errors that occurred while processing the request.</p>
12    /// - On failure, responds with [`SdkError<BatchUpdateExclusionWindowsError>`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsError)
13    pub fn batch_update_exclusion_windows(
14        &self,
15    ) -> crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder {
16        crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::new(self.handle.clone())
17    }
18}