Skip to content

EC2  >  Operations  >  enable_application_status_check_suppression

enable_application_status_check_suppression

Operation

enable_application_status_check_suppression async

enable_application_status_check_suppression(input: EnableApplicationStatusCheckSuppressionInput, plugins: list[Plugin] | None = None) -> EnableApplicationStatusCheckSuppressionOutput

Suppresses application status checks for the specified instances. While suppressed, health checks continue to run but do not affect the instance-level application status. The following rules apply:

  • You can specify a maximum of 100 instance IDs for each request.

  • Use DisableApplicationStatusCheckSuppression to resume normal health check reporting.

  • If you do not specify DurationSeconds, suppression continues indefinitely until you call DisableApplicationStatusCheckSuppression.

Parameters:

Name Type Description Default
input EnableApplicationStatusCheckSuppressionInput

An instance of EnableApplicationStatusCheckSuppressionInput.

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
EnableApplicationStatusCheckSuppressionOutput

An instance of EnableApplicationStatusCheckSuppressionOutput.

Input

EnableApplicationStatusCheckSuppressionInput dataclass

Bases: _SerdeShape

Dataclass for EnableApplicationStatusCheckSuppressionInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = ...

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same token, the service ignores the request but does not return an error. For more information, see Ensuring idempotency.

This field is autopopulated if not provided.

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

Checks whether you have the required permissions for the operation, 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.

duration_seconds class-attribute instance-attribute
duration_seconds: int | None = ...

The duration, in seconds, for which to suppress application status checks. If omitted, the application status check is suppressed indefinitely until you call DisableApplicationStatusCheckSuppression.

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

The IDs of the instances for which to suppress application status checks.

Output

EnableApplicationStatusCheckSuppressionOutput dataclass

Bases: _SerdeShape

Dataclass for EnableApplicationStatusCheckSuppressionOutput structure.

Attributes

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.

successful_results class-attribute instance-attribute
successful_results: list[SuccessfulSuppressionResponseObject] | None = ...

The instances for which suppression was successfully enabled.

unsuccessful_results class-attribute instance-attribute
unsuccessful_results: list[UnsuccessfulSuppressionResponseObject] | None = ...

The instances for which suppression failed to be enabled.