aws_sdk_ec2/client/enable_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 [`EnableInstanceSqlHaStandbyDetections`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_ids(impl Into<String>)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::instance_ids) / [`set_instance_ids(Option<Vec::<String>>)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::set_instance_ids):<br>required: **true**<br><p>The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.</p><br>
7 /// - [`sql_server_credentials(impl Into<String>)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::sql_server_credentials) / [`set_sql_server_credentials(Option<String>)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::set_sql_server_credentials):<br>required: **false**<br><p>The ARN of the Secrets Manager secret containing the SQL Server access credentials. The specified secret must contain valid SQL Server credentials for the specified instances. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent. To enable instances with different credentials, you must make separate requests.</p><br>
8 /// - [`dry_run(bool)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::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>
9 /// - On success, responds with [`EnableInstanceSqlHaStandbyDetectionsOutput`](crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsOutput) with field(s):
10 /// - [`instances(Option<Vec::<RegisteredInstance>>)`](crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsOutput::instances): <p>Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.</p>
11 /// - On failure, responds with [`SdkError<EnableInstanceSqlHaStandbyDetectionsError>`](crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError)
12 pub fn enable_instance_sql_ha_standby_detections(
13 &self,
14 ) -> crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder {
15 crate::operation::enable_instance_sql_ha_standby_detections::builders::EnableInstanceSqlHaStandbyDetectionsFluentBuilder::new(
16 self.handle.clone(),
17 )
18 }
19}