aws-sdk-applicationsignals 1.82.0

AWS SDK for Amazon CloudWatch Application Signals
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchUpdateExclusionWindows`](crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`BatchUpdateExclusionWindowsOutput`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput) with field(s):
    ///   - [`slo_ids(Vec::<String>)`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput::slo_ids): <p>The list of SLO IDs that were successfully processed.</p>
    ///   - [`errors(Vec::<BatchUpdateExclusionWindowsError>)`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsOutput::errors): <p>A list of errors that occurred while processing the request.</p>
    /// - On failure, responds with [`SdkError<BatchUpdateExclusionWindowsError>`](crate::operation::batch_update_exclusion_windows::BatchUpdateExclusionWindowsError)
    pub fn batch_update_exclusion_windows(
        &self,
    ) -> crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder {
        crate::operation::batch_update_exclusion_windows::builders::BatchUpdateExclusionWindowsFluentBuilder::new(self.handle.clone())
    }
}