Alert

class Alert

Full alert entity, returned by both CreateAlert and GetAlert. A create and a read of the same alert describe it identically except for {@code state}, which only the read paths populate. UpdateAlert returns an empty response.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The AWS account ID that owns the alert.

Link copied to clipboard

The Amazon Resource Name (ARN) of the alert.

Link copied to clipboard

The stable alert identifier (see {@link AlertId}), minted on create and immutable across updates. Use it (not {@code name}) to address the alert on GetAlert/UpdateAlert/DeleteAlert; it is also the ARN's resource id.

Link copied to clipboard

The timestamp when the alert was created.

Link copied to clipboard

An optional description of the alert.

Link copied to clipboard

The name of the alert.

Link copied to clipboard

The notification rules for the alert.

Link copied to clipboard

Whether notifications are enabled.

Link copied to clipboard

The ID of the access profile associated with the alert.

Link copied to clipboard
val rule: Rule?

The rule that defines how the alert is evaluated.

Link copied to clipboard

The ID of the space the alert belongs to.

Link copied to clipboard

Live evaluation state (read-only, system-managed). Populated by GetAlert. ListAlerts reports state on AlertSummary instead, where it stays required. Absent on CreateAlert: a newly created alert has never been evaluated, so any state reported there would be a default rather than an observation. Call GetAlert for live state. Not @required for that reason — GetAlert always populates it. contributorSummary is nested inside this member, so it too is absent on CreateAlert.

Link copied to clipboard

The timestamp when the alert was last updated.

Functions

Link copied to clipboard
inline fun copy(block: Alert.Builder.() -> Unit = {}): Alert
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String