Skip to content

Suppresses application status checks for the specified instances

Description

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:

Usage

ec2_enable_application_status_check_suppression(InstanceIds,
  DurationSeconds, ClientToken, DryRun)

Arguments

  • InstanceIds

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

  • DurationSeconds

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

  • ClientToken

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.

  • DryRun

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.

Value

A list with the following syntax:

list(
  SuccessfulResults = list(
    list(
      InstanceId = "string",
      SuppressAt = as.POSIXct(
        "2015-01-01"
      ),
      ResumeAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  UnsuccessfulResults = list(
    list(
      InstanceId = "string",
      SuppressAt = as.POSIXct(
        "2015-01-01"
      ),
      ResumeAt = as.POSIXct(
        "2015-01-01"
      ),
      Reason = "string"
    )
  )
)

Request syntax

svc$enable_application_status_check_suppression(
  InstanceIds = list(
    "string"
  ),
  DurationSeconds = 123,
  ClientToken = "string",
  DryRun = TRUE|FALSE
)