Skip to content

EC2  >  Operations  >  disable_instance_sql_ha_standby_detections

disable_instance_sql_ha_standby_detections

Operation

disable_instance_sql_ha_standby_detections async

disable_instance_sql_ha_standby_detections(input: DisableInstanceSqlHaStandbyDetectionsInput, plugins: list[Plugin] | None = None) -> DisableInstanceSqlHaStandbyDetectionsOutput

Disable Amazon EC2 instances running in an SQL Server High Availability cluster from SQL Server High Availability instance standby detection monitoring. Once disabled, Amazon Web Services no longer monitors the metadata for the instances to determine whether they are active or standby nodes in the SQL Server High Availability cluster.

Parameters:

Name Type Description Default
input DisableInstanceSqlHaStandbyDetectionsInput

An instance of DisableInstanceSqlHaStandbyDetectionsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisableInstanceSqlHaStandbyDetectionsOutput

An instance of DisableInstanceSqlHaStandbyDetectionsOutput.

Input

DisableInstanceSqlHaStandbyDetectionsInput dataclass

Bases: _SerdeShape

Dataclass for DisableInstanceSqlHaStandbyDetectionsInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

instance_ids class-attribute instance-attribute
instance_ids: list[str] | None = ...

The IDs of the instances to disable from SQL Server High Availability standby detection monitoring.

Output

DisableInstanceSqlHaStandbyDetectionsOutput dataclass

Bases: _SerdeShape

Dataclass for DisableInstanceSqlHaStandbyDetectionsOutput structure.

Attributes

instances class-attribute instance-attribute
instances: list[RegisteredInstance] | None = ...

Information about the instances that were disabled from SQL Server High Availability standby detection monitoring.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.