aws_sdk_ec2/client/
disable_instance_sql_ha_standby_detections.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 [`DisableInstanceSqlHaStandbyDetections`](crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DisableInstanceSqlHaStandbyDetectionsOutput`](crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsOutput) with field(s):
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<DisableInstanceSqlHaStandbyDetectionsError>`](crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError)
11    pub fn disable_instance_sql_ha_standby_detections(
12        &self,
13    ) -> crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder {
14        crate::operation::disable_instance_sql_ha_standby_detections::builders::DisableInstanceSqlHaStandbyDetectionsFluentBuilder::new(
15            self.handle.clone(),
16        )
17    }
18}