ec2

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Source                   = "aws.ec2"
	DetailTypeAMIStateChange = "EC2 AMI State Change"
)
View Source
const (
	ImageStatePending      = "pending"
	ImageStateAvailable    = "available"
	ImageStateFailed       = "failed"
	ImageStateDeregistered = "deregistered"
	ImageStateDisabled     = "disabled"
)

Variables

This section is empty.

Functions

func ListImages

func ListImages(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)

func ListInstances

func ListInstances(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)

Types

type AMIStateChangeDetail

type AMIStateChangeDetail struct {
	ImageID      string `json:"ImageId" mapstructure:"ImageId"`
	State        string `json:"State" mapstructure:"State"`
	ErrorMessage string `json:"ErrorMessage" mapstructure:"ErrorMessage"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials, region string) *Client

func (*Client) CopyImage

func (c *Client) CopyImage(input CopyImageInput) (*CopyImageOutput, error)

func (*Client) CreateImage

func (c *Client) CreateImage(input CreateImageInput) (*CreateImageOutput, error)

func (*Client) DeleteSnapshot

func (c *Client) DeleteSnapshot(snapshotID string) (string, error)

func (*Client) DeregisterImage

func (c *Client) DeregisterImage(imageID string) (string, error)

func (*Client) DescribeImage

func (c *Client) DescribeImage(imageID string) (*Image, error)

func (*Client) DisableImage

func (c *Client) DisableImage(imageID string) (string, error)

func (*Client) DisableImageDeprecation

func (c *Client) DisableImageDeprecation(imageID string) (string, error)

func (*Client) EnableImage

func (c *Client) EnableImage(imageID string) (string, error)

func (*Client) EnableImageDeprecation

func (c *Client) EnableImageDeprecation(imageID, deprecateAt string) (*EnableImageDeprecationOutput, error)

func (*Client) ListImages

func (c *Client) ListImages(ownerID string, includeDisabled bool) ([]Image, error)

func (*Client) ListInstances

func (c *Client) ListInstances() ([]Instance, error)

type CopyImage

type CopyImage struct{}

func (*CopyImage) Actions

func (c *CopyImage) Actions() []core.Action

func (*CopyImage) Cancel

func (c *CopyImage) Cancel(ctx core.ExecutionContext) error

func (*CopyImage) Cleanup

func (c *CopyImage) Cleanup(ctx core.SetupContext) error

func (*CopyImage) Color

func (c *CopyImage) Color() string

func (*CopyImage) Configuration

func (c *CopyImage) Configuration() []configuration.Field

func (*CopyImage) Description

func (c *CopyImage) Description() string

func (*CopyImage) Documentation

func (c *CopyImage) Documentation() string

func (*CopyImage) ExampleOutput

func (c *CopyImage) ExampleOutput() map[string]any

func (*CopyImage) Execute

func (c *CopyImage) Execute(ctx core.ExecutionContext) error

func (*CopyImage) HandleAction

func (c *CopyImage) HandleAction(ctx core.ActionContext) error

func (*CopyImage) HandleWebhook

func (c *CopyImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*CopyImage) Icon

func (c *CopyImage) Icon() string

func (*CopyImage) Label

func (c *CopyImage) Label() string

func (*CopyImage) Name

func (c *CopyImage) Name() string

func (*CopyImage) OnIntegrationMessage

func (c *CopyImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error

func (*CopyImage) OutputChannels

func (c *CopyImage) OutputChannels(configuration any) []core.OutputChannel

func (*CopyImage) ProcessQueueItem

func (c *CopyImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*CopyImage) Setup

func (c *CopyImage) Setup(ctx core.SetupContext) error

type CopyImageConfiguration

type CopyImageConfiguration struct {
	SourceRegion  string  `json:"sourceRegion" mapstructure:"sourceRegion"`
	SourceImageID string  `json:"sourceImageId" mapstructure:"sourceImageId"`
	Region        string  `json:"region" mapstructure:"region"`
	Name          *string `json:"name,omitempty" mapstructure:"name,omitempty"`
	Description   *string `json:"description,omitempty" mapstructure:"description,omitempty"`
}

func (*CopyImageConfiguration) IsDescriptionSet

func (c *CopyImageConfiguration) IsDescriptionSet() bool

func (*CopyImageConfiguration) IsNameSet

func (c *CopyImageConfiguration) IsNameSet() bool

type CopyImageExecutionMetadata

type CopyImageExecutionMetadata struct {
	ImageID       string `json:"imageId" mapstructure:"imageId"`
	SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
	SourceRegion  string `json:"sourceRegion" mapstructure:"sourceRegion"`
	State         string `json:"state" mapstructure:"state"`
	RequestID     string `json:"requestId" mapstructure:"requestId"`
}

type CopyImageInput

type CopyImageInput struct {
	SourceImageID string
	SourceRegion  string
	Name          string
	Description   string
}

type CopyImageNodeMetadata

type CopyImageNodeMetadata struct {
	Region         string `json:"region" mapstructure:"region"`
	SubscriptionID string `json:"subscriptionId" mapstructure:"subscriptionId"`
}

type CopyImageOutput

type CopyImageOutput struct {
	RequestID     string `json:"requestId" mapstructure:"requestId"`
	ImageID       string `json:"imageId" mapstructure:"imageId"`
	SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
	SourceRegion  string `json:"sourceRegion" mapstructure:"sourceRegion"`
	Name          string `json:"name" mapstructure:"name"`
	Description   string `json:"description" mapstructure:"description"`
	Region        string `json:"region" mapstructure:"region"`
	State         string `json:"state" mapstructure:"state"`
}

type CreateImage

type CreateImage struct{}

func (*CreateImage) Actions

func (c *CreateImage) Actions() []core.Action

func (*CreateImage) Cancel

func (c *CreateImage) Cancel(ctx core.ExecutionContext) error

func (*CreateImage) Cleanup

func (c *CreateImage) Cleanup(ctx core.SetupContext) error

func (*CreateImage) Color

func (c *CreateImage) Color() string

func (*CreateImage) Configuration

func (c *CreateImage) Configuration() []configuration.Field

func (*CreateImage) Description

func (c *CreateImage) Description() string

func (*CreateImage) Documentation

func (c *CreateImage) Documentation() string

func (*CreateImage) ExampleOutput

func (c *CreateImage) ExampleOutput() map[string]any

func (*CreateImage) Execute

func (c *CreateImage) Execute(ctx core.ExecutionContext) error

func (*CreateImage) HandleAction

func (c *CreateImage) HandleAction(ctx core.ActionContext) error

func (*CreateImage) HandleWebhook

func (c *CreateImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*CreateImage) Icon

func (c *CreateImage) Icon() string

func (*CreateImage) Label

func (c *CreateImage) Label() string

func (*CreateImage) Name

func (c *CreateImage) Name() string

func (*CreateImage) OnIntegrationMessage

func (c *CreateImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error

func (*CreateImage) OutputChannels

func (c *CreateImage) OutputChannels(configuration any) []core.OutputChannel

func (*CreateImage) ProcessQueueItem

func (c *CreateImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*CreateImage) Setup

func (c *CreateImage) Setup(ctx core.SetupContext) error

type CreateImageConfiguration

type CreateImageConfiguration struct {
	Region      string `json:"region" mapstructure:"region"`
	InstanceID  string `json:"instanceId" mapstructure:"instanceId"`
	Name        string `json:"name" mapstructure:"name"`
	Description string `json:"description" mapstructure:"description"`
	NoReboot    bool   `json:"noReboot" mapstructure:"noReboot"`
}

type CreateImageExecutionMetadata

type CreateImageExecutionMetadata struct {
	ImageID string `json:"imageId" mapstructure:"imageId"`
	State   string `json:"state" mapstructure:"state"`
}

type CreateImageInput

type CreateImageInput struct {
	InstanceID  string
	Name        string
	Description string
	NoReboot    bool
}

type CreateImageNodeMetadata

type CreateImageNodeMetadata struct {
	Region         string `json:"region" mapstructure:"region"`
	SubscriptionID string `json:"subscriptionId" mapstructure:"subscriptionId"`
}

type CreateImageOutput

type CreateImageOutput struct {
	RequestID  string `json:"requestId" mapstructure:"requestId"`
	ImageID    string `json:"imageId" mapstructure:"imageId"`
	InstanceID string `json:"instanceId" mapstructure:"instanceId"`
	Name       string `json:"name" mapstructure:"name"`
	Region     string `json:"region" mapstructure:"region"`
	State      string `json:"state" mapstructure:"state"`
}

type DeregisterImage

type DeregisterImage struct{}

func (*DeregisterImage) Actions

func (c *DeregisterImage) Actions() []core.Action

func (*DeregisterImage) Cancel

func (c *DeregisterImage) Cancel(ctx core.ExecutionContext) error

func (*DeregisterImage) Cleanup

func (c *DeregisterImage) Cleanup(ctx core.SetupContext) error

func (*DeregisterImage) Color

func (c *DeregisterImage) Color() string

func (*DeregisterImage) Configuration

func (c *DeregisterImage) Configuration() []configuration.Field

func (*DeregisterImage) Description

func (c *DeregisterImage) Description() string

func (*DeregisterImage) Documentation

func (c *DeregisterImage) Documentation() string

func (*DeregisterImage) ExampleOutput

func (c *DeregisterImage) ExampleOutput() map[string]any

func (*DeregisterImage) Execute

func (c *DeregisterImage) Execute(ctx core.ExecutionContext) error

func (*DeregisterImage) HandleAction

func (c *DeregisterImage) HandleAction(ctx core.ActionContext) error

func (*DeregisterImage) HandleWebhook

func (c *DeregisterImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*DeregisterImage) Icon

func (c *DeregisterImage) Icon() string

func (*DeregisterImage) Label

func (c *DeregisterImage) Label() string

func (*DeregisterImage) Name

func (c *DeregisterImage) Name() string

func (*DeregisterImage) OutputChannels

func (c *DeregisterImage) OutputChannels(configuration any) []core.OutputChannel

func (*DeregisterImage) ProcessQueueItem

func (c *DeregisterImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*DeregisterImage) Setup

func (c *DeregisterImage) Setup(ctx core.SetupContext) error

type DeregisterImageConfiguration

type DeregisterImageConfiguration struct {
	Region          string `json:"region" mapstructure:"region"`
	ImageID         string `json:"imageId" mapstructure:"imageId"`
	DeleteSnapshots bool   `json:"deleteSnapshots" mapstructure:"deleteSnapshots"`
}

type DisableImage

type DisableImage struct{}

func (*DisableImage) Actions

func (c *DisableImage) Actions() []core.Action

func (*DisableImage) Cancel

func (c *DisableImage) Cancel(ctx core.ExecutionContext) error

func (*DisableImage) Cleanup

func (c *DisableImage) Cleanup(ctx core.SetupContext) error

func (*DisableImage) Color

func (c *DisableImage) Color() string

func (*DisableImage) Configuration

func (c *DisableImage) Configuration() []configuration.Field

func (*DisableImage) Description

func (c *DisableImage) Description() string

func (*DisableImage) Documentation

func (c *DisableImage) Documentation() string

func (*DisableImage) ExampleOutput

func (c *DisableImage) ExampleOutput() map[string]any

func (*DisableImage) Execute

func (c *DisableImage) Execute(ctx core.ExecutionContext) error

func (*DisableImage) HandleAction

func (c *DisableImage) HandleAction(ctx core.ActionContext) error

func (*DisableImage) HandleWebhook

func (c *DisableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*DisableImage) Icon

func (c *DisableImage) Icon() string

func (*DisableImage) Label

func (c *DisableImage) Label() string

func (*DisableImage) Name

func (c *DisableImage) Name() string

func (*DisableImage) OutputChannels

func (c *DisableImage) OutputChannels(configuration any) []core.OutputChannel

func (*DisableImage) ProcessQueueItem

func (c *DisableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*DisableImage) Setup

func (c *DisableImage) Setup(ctx core.SetupContext) error

type DisableImageConfiguration

type DisableImageConfiguration struct {
	Region  string `json:"region" mapstructure:"region"`
	ImageID string `json:"imageId" mapstructure:"imageId"`
}

type DisableImageDeprecation

type DisableImageDeprecation struct{}

func (*DisableImageDeprecation) Actions

func (c *DisableImageDeprecation) Actions() []core.Action

func (*DisableImageDeprecation) Cancel

func (*DisableImageDeprecation) Cleanup

func (*DisableImageDeprecation) Color

func (c *DisableImageDeprecation) Color() string

func (*DisableImageDeprecation) Configuration

func (c *DisableImageDeprecation) Configuration() []configuration.Field

func (*DisableImageDeprecation) Description

func (c *DisableImageDeprecation) Description() string

func (*DisableImageDeprecation) Documentation

func (c *DisableImageDeprecation) Documentation() string

func (*DisableImageDeprecation) ExampleOutput

func (c *DisableImageDeprecation) ExampleOutput() map[string]any

func (*DisableImageDeprecation) Execute

func (*DisableImageDeprecation) HandleAction

func (c *DisableImageDeprecation) HandleAction(ctx core.ActionContext) error

func (*DisableImageDeprecation) HandleWebhook

func (c *DisableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*DisableImageDeprecation) Icon

func (c *DisableImageDeprecation) Icon() string

func (*DisableImageDeprecation) Label

func (c *DisableImageDeprecation) Label() string

func (*DisableImageDeprecation) Name

func (c *DisableImageDeprecation) Name() string

func (*DisableImageDeprecation) OutputChannels

func (c *DisableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel

func (*DisableImageDeprecation) ProcessQueueItem

func (c *DisableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*DisableImageDeprecation) Setup

type DisableImageDeprecationConfiguration

type DisableImageDeprecationConfiguration struct {
	Region  string `json:"region" mapstructure:"region"`
	ImageID string `json:"imageId" mapstructure:"imageId"`
}

type EnableImage

type EnableImage struct{}

func (*EnableImage) Actions

func (c *EnableImage) Actions() []core.Action

func (*EnableImage) Cancel

func (c *EnableImage) Cancel(ctx core.ExecutionContext) error

func (*EnableImage) Cleanup

func (c *EnableImage) Cleanup(ctx core.SetupContext) error

func (*EnableImage) Color

func (c *EnableImage) Color() string

func (*EnableImage) Configuration

func (c *EnableImage) Configuration() []configuration.Field

func (*EnableImage) Description

func (c *EnableImage) Description() string

func (*EnableImage) Documentation

func (c *EnableImage) Documentation() string

func (*EnableImage) ExampleOutput

func (c *EnableImage) ExampleOutput() map[string]any

func (*EnableImage) Execute

func (c *EnableImage) Execute(ctx core.ExecutionContext) error

func (*EnableImage) HandleAction

func (c *EnableImage) HandleAction(ctx core.ActionContext) error

func (*EnableImage) HandleWebhook

func (c *EnableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*EnableImage) Icon

func (c *EnableImage) Icon() string

func (*EnableImage) Label

func (c *EnableImage) Label() string

func (*EnableImage) Name

func (c *EnableImage) Name() string

func (*EnableImage) OutputChannels

func (c *EnableImage) OutputChannels(configuration any) []core.OutputChannel

func (*EnableImage) ProcessQueueItem

func (c *EnableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*EnableImage) Setup

func (c *EnableImage) Setup(ctx core.SetupContext) error

type EnableImageConfiguration

type EnableImageConfiguration struct {
	Region  string `json:"region" mapstructure:"region"`
	ImageID string `json:"imageId" mapstructure:"imageId"`
}

type EnableImageDeprecation

type EnableImageDeprecation struct{}

func (*EnableImageDeprecation) Actions

func (c *EnableImageDeprecation) Actions() []core.Action

func (*EnableImageDeprecation) Cancel

func (*EnableImageDeprecation) Cleanup

func (*EnableImageDeprecation) Color

func (c *EnableImageDeprecation) Color() string

func (*EnableImageDeprecation) Configuration

func (c *EnableImageDeprecation) Configuration() []configuration.Field

func (*EnableImageDeprecation) Description

func (c *EnableImageDeprecation) Description() string

func (*EnableImageDeprecation) Documentation

func (c *EnableImageDeprecation) Documentation() string

func (*EnableImageDeprecation) ExampleOutput

func (c *EnableImageDeprecation) ExampleOutput() map[string]any

func (*EnableImageDeprecation) Execute

func (*EnableImageDeprecation) HandleAction

func (c *EnableImageDeprecation) HandleAction(ctx core.ActionContext) error

func (*EnableImageDeprecation) HandleWebhook

func (c *EnableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*EnableImageDeprecation) Icon

func (c *EnableImageDeprecation) Icon() string

func (*EnableImageDeprecation) Label

func (c *EnableImageDeprecation) Label() string

func (*EnableImageDeprecation) Name

func (c *EnableImageDeprecation) Name() string

func (*EnableImageDeprecation) OutputChannels

func (c *EnableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel

func (*EnableImageDeprecation) ProcessQueueItem

func (c *EnableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*EnableImageDeprecation) Setup

type EnableImageDeprecationConfiguration

type EnableImageDeprecationConfiguration struct {
	Region      string `json:"region" mapstructure:"region"`
	ImageID     string `json:"imageId" mapstructure:"imageId"`
	DeprecateAt string `json:"deprecateAt" mapstructure:"deprecateAt"`
}

type EnableImageDeprecationOutput

type EnableImageDeprecationOutput struct {
	RequestID   string `json:"requestId" mapstructure:"requestId"`
	ImageID     string `json:"imageId" mapstructure:"imageId"`
	Region      string `json:"region" mapstructure:"region"`
	DeprecateAt string `json:"deprecateAt" mapstructure:"deprecateAt"`
}

type GetImage

type GetImage struct{}

func (*GetImage) Actions

func (c *GetImage) Actions() []core.Action

func (*GetImage) Cancel

func (c *GetImage) Cancel(ctx core.ExecutionContext) error

func (*GetImage) Cleanup

func (c *GetImage) Cleanup(ctx core.SetupContext) error

func (*GetImage) Color

func (c *GetImage) Color() string

func (*GetImage) Configuration

func (c *GetImage) Configuration() []configuration.Field

func (*GetImage) Description

func (c *GetImage) Description() string

func (*GetImage) Documentation

func (c *GetImage) Documentation() string

func (*GetImage) ExampleOutput

func (c *GetImage) ExampleOutput() map[string]any

func (*GetImage) Execute

func (c *GetImage) Execute(ctx core.ExecutionContext) error

func (*GetImage) HandleAction

func (c *GetImage) HandleAction(ctx core.ActionContext) error

func (*GetImage) HandleWebhook

func (c *GetImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*GetImage) Icon

func (c *GetImage) Icon() string

func (*GetImage) Label

func (c *GetImage) Label() string

func (*GetImage) Name

func (c *GetImage) Name() string

func (*GetImage) OutputChannels

func (c *GetImage) OutputChannels(configuration any) []core.OutputChannel

func (*GetImage) ProcessQueueItem

func (c *GetImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*GetImage) Setup

func (c *GetImage) Setup(ctx core.SetupContext) error

type GetImageConfiguration

type GetImageConfiguration struct {
	Region  string `json:"region" mapstructure:"region"`
	ImageID string `json:"imageId" mapstructure:"imageId"`
}

type Image

type Image struct {
	RequestID           string                    `json:"requestId" mapstructure:"requestId"`
	ImageID             string                    `json:"imageId" mapstructure:"imageId"`
	ImageLocation       string                    `json:"imageLocation" mapstructure:"imageLocation"`
	Public              bool                      `json:"public" mapstructure:"public"`
	Name                string                    `json:"name" mapstructure:"name"`
	Description         string                    `json:"description" mapstructure:"description"`
	State               string                    `json:"state" mapstructure:"state"`
	CreationDate        string                    `json:"creationDate" mapstructure:"creationDate"`
	OwnerID             string                    `json:"ownerId" mapstructure:"ownerId"`
	PlatformDetails     string                    `json:"platformDetails" mapstructure:"platformDetails"`
	UsageOperation      string                    `json:"usageOperation" mapstructure:"usageOperation"`
	BlockDeviceMappings []ImageBlockDeviceMapping `json:"blockDeviceMappings" mapstructure:"blockDeviceMappings"`
	EnaSupport          bool                      `json:"enaSupport" mapstructure:"enaSupport"`
	SriovNetSupport     string                    `json:"sriovNetSupport" mapstructure:"sriovNetSupport"`
	BootMode            string                    `json:"bootMode" mapstructure:"bootMode"`
	ImdsSupport         string                    `json:"imdsSupport" mapstructure:"imdsSupport"`
	Architecture        string                    `json:"architecture" mapstructure:"architecture"`
	ImageType           string                    `json:"imageType" mapstructure:"imageType"`
	RootDeviceType      string                    `json:"rootDeviceType" mapstructure:"rootDeviceType"`
	RootDeviceName      string                    `json:"rootDeviceName" mapstructure:"rootDeviceName"`
	VirtualizationType  string                    `json:"virtualizationType" mapstructure:"virtualizationType"`
	Hypervisor          string                    `json:"hypervisor" mapstructure:"hypervisor"`
	Region              string                    `json:"region" mapstructure:"region"`
}

type ImageBlockDeviceMapping

type ImageBlockDeviceMapping struct {
	DeviceName string          `json:"deviceName" mapstructure:"deviceName"`
	Ebs        ImageEbsDetails `json:"ebs" mapstructure:"ebs"`
}

type ImageEbsDetails

type ImageEbsDetails struct {
	DeleteOnTermination bool   `json:"deleteOnTermination" mapstructure:"deleteOnTermination"`
	Iops                int    `json:"iops" mapstructure:"iops"`
	SnapshotID          string `json:"snapshotId" mapstructure:"snapshotId"`
	VolumeSize          int    `json:"volumeSize" mapstructure:"volumeSize"`
	VolumeType          string `json:"volumeType" mapstructure:"volumeType"`
	Throughput          int    `json:"throughput" mapstructure:"throughput"`
	Encrypted           bool   `json:"encrypted" mapstructure:"encrypted"`
}

type Instance

type Instance struct {
	InstanceID   string `json:"instanceId" mapstructure:"instanceId"`
	InstanceType string `json:"instanceType" mapstructure:"instanceType"`
	State        string `json:"state" mapstructure:"state"`
	Name         string `json:"name" mapstructure:"name"`
}

type OnImage

type OnImage struct{}

func (*OnImage) Actions

func (p *OnImage) Actions() []core.Action

func (*OnImage) Cleanup

func (p *OnImage) Cleanup(ctx core.TriggerContext) error

func (*OnImage) Color

func (p *OnImage) Color() string

func (*OnImage) Configuration

func (p *OnImage) Configuration() []configuration.Field

func (*OnImage) Description

func (p *OnImage) Description() string

func (*OnImage) Documentation

func (p *OnImage) Documentation() string

func (*OnImage) ExampleData

func (t *OnImage) ExampleData() map[string]any

func (*OnImage) HandleAction

func (p *OnImage) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)

func (*OnImage) HandleWebhook

func (p *OnImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*OnImage) Icon

func (p *OnImage) Icon() string

func (*OnImage) Label

func (p *OnImage) Label() string

func (*OnImage) Name

func (p *OnImage) Name() string

func (*OnImage) OnIntegrationMessage

func (p *OnImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error

func (*OnImage) Setup

func (p *OnImage) Setup(ctx core.TriggerContext) error

type OnImageConfiguration

type OnImageConfiguration struct {
	Region string   `json:"region" mapstructure:"region"`
	States []string `json:"states" mapstructure:"states"`
}

type OnImageMetadata

type OnImageMetadata struct {
	Region         string `json:"region" mapstructure:"region"`
	SubscriptionID string `json:"subscriptionId" mapstructure:"subscriptionId"`
}

Jump to

Keyboard shortcuts

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