describe_instance_sql_ha_states¶
Operation¶
describe_instance_sql_ha_states
async
¶
describe_instance_sql_ha_states(input: DescribeInstanceSqlHaStatesInput, plugins: list[Plugin] | None = None) -> DescribeInstanceSqlHaStatesOutput
Describes the SQL Server High Availability states for Amazon EC2 instances that are enabled for Amazon EC2 High Availability for SQL Server monitoring.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DescribeInstanceSqlHaStatesInput
|
An instance of |
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 |
|---|---|
DescribeInstanceSqlHaStatesOutput
|
An instance of |
Input¶
DescribeInstanceSqlHaStatesInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeInstanceSqlHaStatesInput 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.
filters
class-attribute
instance-attribute
¶
filters: list[Filter] | None = ...
One or more filters to apply to the results. Supported filters include:
-
tag:``<key>- The tag key and value pair assigned to the instance. For example, to find all instances tagged withOwner:TeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The tag key assigned to the instance. -
haStatus- The SQL Server High Availability status of the SQL Server High Availability instance (processing|active|standby|invalid). -
sqlServerLicenseUsage- The license type for the SQL Server license (full|waived).
instance_ids
class-attribute
instance-attribute
¶
The IDs of the SQL Server High Availability instances to describe. If omitted, the API returns SQL Server High Availability states for all SQL Server High Availability instances.
Output¶
DescribeInstanceSqlHaStatesOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeInstanceSqlHaStatesOutput structure.
Attributes¶
instances
class-attribute
instance-attribute
¶
instances: list[RegisteredInstance] | None = ...
Information about the SQL Server High Availability instances.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
response_metadata
class-attribute
instance-attribute
¶
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.