aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
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 [`DisableInstanceSqlHaStandbyDetections`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_ids(impl Into<String>)`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::instance_ids) / [`set_instance_ids(Option<Vec::<String>>)`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::set_instance_ids):<br>required: **true**<br><p>The IDs of the instances to disable from SQL Server High Availability standby detection monitoring.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`DisableInstanceSqlHaStandbyDetectionsOutput`](crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsOutput) with field(s):
    ///   - [`instances(Option<Vec::<RegisteredInstance>>)`](crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsOutput::instances): <p>Information about the instances that were disabled from SQL Server High Availability standby detection monitoring.</p>
    /// - On failure, responds with [`SdkError<DisableInstanceSqlHaStandbyDetectionsError>`](crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError)
    pub fn disable_instance_sql_ha_standby_detections(
        &self,
    ) -> crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder {
        crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}