Module Values.AffectedEntitySource

Information about an entity that is affected by a Health event.

Sourcetype nonrec t = {
  1. entityArn : EntityArn.t option;
    (*

    The unique identifier for the entity. Format: arn:aws:health:entity-region:aws-account:entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K

    *)
  2. eventArn : EventArn.t option;
    (*

    The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID format. For example, an event ARN might look like the following: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456

    *)
  3. entityValue : EntityValue.t option;
    (*

    The ID of the affected entity.

    *)
  4. entityUrl : EntityUrl.t option;
    (*

    The URL of the affected entity.

    *)
  5. awsAccountId : AccountId.t option;
    (*

    The 12-digit Amazon Web Services account number that contains the affected entity.

    *)
  6. lastUpdatedTime : Timestamp.t option;
    (*

    The most recent time that the entity was updated.

    *)
  7. statusCode : EntityStatusCode.t option;
    (*

    The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, UNKNOWN, PENDING, and RESOLVED.

    *)
  8. tags : TagSet.t option;
    (*

    A map of entity tags attached to the affected entity. Currently, the tags property isn't supported.

    *)
  9. entityMetadata : EntityMetadata.t option;
    (*

    Additional metadata about the affected entity.

    *)
}
Sourceval make : ?entityArn:??? -> ?eventArn:??? -> ?entityValue:??? -> ?entityUrl:??? -> ?awsAccountId:??? -> ?lastUpdatedTime:??? -> ?statusCode:??? -> ?tags:??? -> ?entityMetadata:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of EntityArn.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t