Event

public struct Event : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

    The unique identifier for the event. Format: arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID . Example: Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456

    Declaration

    Swift

    public let arn: String?
  • The AWS Availability Zone of the event. For example, us-east-1a.

    Declaration

    Swift

    public let availabilityZone: String?
  • The date and time that the event ended.

    Declaration

    Swift

    public let endTime: TimeStamp?
  • This parameter specifies if the AWS Health event is a public AWS 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 AWS accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS 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.

    Declaration

    Swift

    public let eventScopeCode: EventScopeCode?
  • The category of the event. Possible values are issue, scheduledChange, and accountNotification.

    Declaration

    Swift

    public let eventTypeCategory: EventTypeCategory?
  • The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

    Declaration

    Swift

    public let eventTypeCode: String?
  • The most recent date and time that the event was updated.

    Declaration

    Swift

    public let lastUpdatedTime: TimeStamp?
  • The AWS region name of the event.

    Declaration

    Swift

    public let region: String?
  • The AWS service that is affected by the event. For example, EC2, RDS.

    Declaration

    Swift

    public let service: String?
  • The date and time that the event began.

    Declaration

    Swift

    public let startTime: TimeStamp?
  • The most recent status of the event. Possible values are open, closed, and upcoming.

    Declaration

    Swift

    public let statusCode: EventStatusCode?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, availabilityZone: String? = nil, endTime: TimeStamp? = nil, eventScopeCode: EventScopeCode? = nil, eventTypeCategory: EventTypeCategory? = nil, eventTypeCode: String? = nil, lastUpdatedTime: TimeStamp? = nil, region: String? = nil, service: String? = nil, startTime: TimeStamp? = nil, statusCode: EventStatusCode? = nil)