Skip to content

disable_instance_sql_ha_standby_detections

Operation

disable_instance_sql_ha_standby_detections

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
request DisableInstanceSqlHaStandbyDetectionsInput | DisableInstanceSqlHaStandbyDetectionsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DisableInstanceSqlHaStandbyDetectionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableInstanceSqlHaStandbyDetectionsOutput

An instance of DisableInstanceSqlHaStandbyDetectionsOutput.

disable_instance_sql_ha_standby_detections async

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
request DisableInstanceSqlHaStandbyDetectionsInput | DisableInstanceSqlHaStandbyDetectionsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DisableInstanceSqlHaStandbyDetectionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableInstanceSqlHaStandbyDetectionsOutput

An instance of DisableInstanceSqlHaStandbyDetectionsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DisableInstanceSqlHaStandbyDetectionsInputDict

Bases: TypedDict

Dictionary form of DisableInstanceSqlHaStandbyDetectionsInput.

Attributes

dry_run 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 instance-attribute
instance_ids: Required[Sequence[str]]

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

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.