scheduledchange

package
v0.36.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffectedEntity

type AffectedEntity struct {
	EntityValue string `json:"entityValue"`
}

type Detail

type Detail struct {
	EventARN          string             `json:"eventArn"`
	EventTypeCode     string             `json:"eventTypeCode"`
	Service           string             `json:"service"`
	EventDescription  []EventDescription `json:"eventDescription"`
	StartTime         string             `json:"startTime"`
	EndTime           string             `json:"endTime"`
	EventTypeCategory string             `json:"eventTypeCategory"`
	AffectedEntities  []AffectedEntity   `json:"affectedEntities"`
}

type EventDescription

type EventDescription struct {
	LatestDescription string `json:"latestDescription"`
	Language          string `json:"language"`
}

type Message

type Message struct {
	messages.Metadata

	Detail Detail `json:"detail"`
}

Message contains the properties defined in AWS EventBridge schema aws.health@AWSHealthEvent v0.

func (Message) EC2InstanceIDs

func (m Message) EC2InstanceIDs() []string

func (Message) Kind

func (Message) Kind() messages.Kind

type Parser

type Parser struct{}

func (Parser) DetailType

func (p Parser) DetailType() string

func (Parser) Parse

func (p Parser) Parse(raw string) (messages.Message, error)

func (Parser) Source

func (p Parser) Source() string

func (Parser) Version

func (p Parser) Version() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL