Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OrganizationEvent

import type { OrganizationEvent } from "https://aws-api.deno.dev/v0.4/services/health.ts?docs=full";

Summary information about an event, returned by the DescribeEventsForOrganization operation.

interface OrganizationEvent {
arn?: string | null;
endTime?: Date | number | null;
eventScopeCode?: eventScopeCode | null;
eventTypeCategory?: eventTypeCategory | null;
eventTypeCode?: string | null;
lastUpdatedTime?: Date | number | null;
region?: string | null;
service?: string | null;
startTime?: Date | number | null;
statusCode?: eventStatusCode | null;
}

§Properties

§
arn?: string | null
[src]

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
§
endTime?: Date | number | null
[src]

The date and time that the event ended.

§
eventScopeCode?: eventScopeCode | null
[src]

This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

  • If the eventScopeCode value is PUBLIC, then the affectedAccounts value is always empty.
  • If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response.
  • If the eventScopeCode value is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
§
eventTypeCategory?: eventTypeCategory | null
[src]

A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the investigation value isn't supported at this time.

§
eventTypeCode?: string | null
[src]

The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION. For example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

§
lastUpdatedTime?: Date | number | null
[src]

The most recent date and time that the event was updated.

§
region?: string | null
[src]

The Amazon Web Services Region name of the event.

§
service?: string | null
[src]

The Amazon Web Services service that is affected by the event, such as EC2 and RDS.

§
startTime?: Date | number | null
[src]

The date and time that the event began.

§
statusCode?: eventStatusCode | null
[src]

The most recent status of the event. Possible values are open, closed, and upcoming.