Documentation
¶
Index ¶
- Constants
- func ListQueues(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- type Client
- func (c *Client) CreateQueue(name string, attributes map[string]string) (string, error)
- func (c *Client) DeleteQueue(queueURL string) error
- func (c *Client) GetQueueAttributes(queueURL string) (map[string]string, error)
- func (c *Client) ListQueues(prefix string) ([]Queue, error)
- func (c *Client) PurgeQueue(queueURL string) error
- func (c *Client) SendMessage(queueURL string, messageBody string) (string, error)
- type CreateQueue
- func (c *CreateQueue) Cancel(ctx core.ExecutionContext) error
- func (c *CreateQueue) Cleanup(ctx core.SetupContext) error
- func (c *CreateQueue) Color() string
- func (c *CreateQueue) Configuration() []configuration.Field
- func (c *CreateQueue) Description() string
- func (c *CreateQueue) Documentation() string
- func (c *CreateQueue) ExampleOutput() map[string]any
- func (c *CreateQueue) Execute(ctx core.ExecutionContext) error
- func (c *CreateQueue) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateQueue) Hooks() []core.Hook
- func (c *CreateQueue) Icon() string
- func (c *CreateQueue) Label() string
- func (c *CreateQueue) Name() string
- func (c *CreateQueue) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateQueue) Setup(ctx core.SetupContext) error
- type CreateQueueConfiguration
- type DeleteQueue
- func (c *DeleteQueue) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteQueue) Cleanup(ctx core.SetupContext) error
- func (c *DeleteQueue) Color() string
- func (c *DeleteQueue) Configuration() []configuration.Field
- func (c *DeleteQueue) Description() string
- func (c *DeleteQueue) Documentation() string
- func (c *DeleteQueue) ExampleOutput() map[string]any
- func (c *DeleteQueue) Execute(ctx core.ExecutionContext) error
- func (c *DeleteQueue) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteQueue) Hooks() []core.Hook
- func (c *DeleteQueue) Icon() string
- func (c *DeleteQueue) Label() string
- func (c *DeleteQueue) Name() string
- func (c *DeleteQueue) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeleteQueue) Setup(ctx core.SetupContext) error
- type DeleteQueueConfiguration
- type GetQueue
- func (c *GetQueue) Cancel(ctx core.ExecutionContext) error
- func (c *GetQueue) Cleanup(ctx core.SetupContext) error
- func (c *GetQueue) Color() string
- func (c *GetQueue) Configuration() []configuration.Field
- func (c *GetQueue) Description() string
- func (c *GetQueue) Documentation() string
- func (c *GetQueue) ExampleOutput() map[string]any
- func (c *GetQueue) Execute(ctx core.ExecutionContext) error
- func (c *GetQueue) HandleHook(ctx core.ActionHookContext) error
- func (c *GetQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetQueue) Hooks() []core.Hook
- func (c *GetQueue) Icon() string
- func (c *GetQueue) Label() string
- func (c *GetQueue) Name() string
- func (c *GetQueue) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetQueue) Setup(ctx core.SetupContext) error
- type GetQueueConfiguration
- type PurgeQueue
- func (c *PurgeQueue) Cancel(ctx core.ExecutionContext) error
- func (c *PurgeQueue) Cleanup(ctx core.SetupContext) error
- func (c *PurgeQueue) Color() string
- func (c *PurgeQueue) Configuration() []configuration.Field
- func (c *PurgeQueue) Description() string
- func (c *PurgeQueue) Documentation() string
- func (c *PurgeQueue) ExampleOutput() map[string]any
- func (c *PurgeQueue) Execute(ctx core.ExecutionContext) error
- func (c *PurgeQueue) HandleHook(ctx core.ActionHookContext) error
- func (c *PurgeQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *PurgeQueue) Hooks() []core.Hook
- func (c *PurgeQueue) Icon() string
- func (c *PurgeQueue) Label() string
- func (c *PurgeQueue) Name() string
- func (c *PurgeQueue) OutputChannels(configuration any) []core.OutputChannel
- func (c *PurgeQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *PurgeQueue) Setup(ctx core.SetupContext) error
- type PurgeQueueConfiguration
- type Queue
- type SendMessage
- func (c *SendMessage) Cancel(ctx core.ExecutionContext) error
- func (c *SendMessage) Cleanup(ctx core.SetupContext) error
- func (c *SendMessage) Color() string
- func (c *SendMessage) Configuration() []configuration.Field
- func (c *SendMessage) Description() string
- func (c *SendMessage) Documentation() string
- func (c *SendMessage) ExampleOutput() map[string]any
- func (c *SendMessage) Execute(ctx core.ExecutionContext) error
- func (c *SendMessage) HandleHook(ctx core.ActionHookContext) error
- func (c *SendMessage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *SendMessage) Hooks() []core.Hook
- func (c *SendMessage) Icon() string
- func (c *SendMessage) Label() string
- func (c *SendMessage) Name() string
- func (c *SendMessage) OutputChannels(configuration any) []core.OutputChannel
- func (c *SendMessage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *SendMessage) Setup(ctx core.SetupContext) error
- type SendMessageConfiguration
Constants ¶
View Source
const ( SendMessageFormatJSON = "json" SendMessageFormatXML = "xml" SendMessageFormatText = "text" )
Variables ¶
This section is empty.
Functions ¶
func ListQueues ¶
func ListQueues(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
Types ¶
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) CreateQueue ¶
func (*Client) DeleteQueue ¶
func (*Client) GetQueueAttributes ¶
func (*Client) PurgeQueue ¶
type CreateQueue ¶
type CreateQueue struct{}
func (*CreateQueue) Cancel ¶
func (c *CreateQueue) Cancel(ctx core.ExecutionContext) error
func (*CreateQueue) Cleanup ¶
func (c *CreateQueue) Cleanup(ctx core.SetupContext) error
func (*CreateQueue) Color ¶
func (c *CreateQueue) Color() string
func (*CreateQueue) Configuration ¶
func (c *CreateQueue) Configuration() []configuration.Field
func (*CreateQueue) Description ¶
func (c *CreateQueue) Description() string
func (*CreateQueue) Documentation ¶
func (c *CreateQueue) Documentation() string
func (*CreateQueue) ExampleOutput ¶
func (c *CreateQueue) ExampleOutput() map[string]any
func (*CreateQueue) Execute ¶
func (c *CreateQueue) Execute(ctx core.ExecutionContext) error
func (*CreateQueue) HandleHook ¶ added in v0.18.0
func (c *CreateQueue) HandleHook(ctx core.ActionHookContext) error
func (*CreateQueue) HandleWebhook ¶
func (c *CreateQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateQueue) Hooks ¶ added in v0.18.0
func (c *CreateQueue) Hooks() []core.Hook
func (*CreateQueue) Icon ¶
func (c *CreateQueue) Icon() string
func (*CreateQueue) Label ¶
func (c *CreateQueue) Label() string
func (*CreateQueue) Name ¶
func (c *CreateQueue) Name() string
func (*CreateQueue) OutputChannels ¶
func (c *CreateQueue) OutputChannels(configuration any) []core.OutputChannel
func (*CreateQueue) ProcessQueueItem ¶
func (c *CreateQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateQueue) Setup ¶
func (c *CreateQueue) Setup(ctx core.SetupContext) error
type DeleteQueue ¶
type DeleteQueue struct{}
func (*DeleteQueue) Cancel ¶
func (c *DeleteQueue) Cancel(ctx core.ExecutionContext) error
func (*DeleteQueue) Cleanup ¶
func (c *DeleteQueue) Cleanup(ctx core.SetupContext) error
func (*DeleteQueue) Color ¶
func (c *DeleteQueue) Color() string
func (*DeleteQueue) Configuration ¶
func (c *DeleteQueue) Configuration() []configuration.Field
func (*DeleteQueue) Description ¶
func (c *DeleteQueue) Description() string
func (*DeleteQueue) Documentation ¶
func (c *DeleteQueue) Documentation() string
func (*DeleteQueue) ExampleOutput ¶
func (c *DeleteQueue) ExampleOutput() map[string]any
func (*DeleteQueue) Execute ¶
func (c *DeleteQueue) Execute(ctx core.ExecutionContext) error
func (*DeleteQueue) HandleHook ¶ added in v0.18.0
func (c *DeleteQueue) HandleHook(ctx core.ActionHookContext) error
func (*DeleteQueue) HandleWebhook ¶
func (c *DeleteQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteQueue) Hooks ¶ added in v0.18.0
func (c *DeleteQueue) Hooks() []core.Hook
func (*DeleteQueue) Icon ¶
func (c *DeleteQueue) Icon() string
func (*DeleteQueue) Label ¶
func (c *DeleteQueue) Label() string
func (*DeleteQueue) Name ¶
func (c *DeleteQueue) Name() string
func (*DeleteQueue) OutputChannels ¶
func (c *DeleteQueue) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteQueue) ProcessQueueItem ¶
func (c *DeleteQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteQueue) Setup ¶
func (c *DeleteQueue) Setup(ctx core.SetupContext) error
type GetQueue ¶
type GetQueue struct{}
func (*GetQueue) Configuration ¶
func (c *GetQueue) Configuration() []configuration.Field
func (*GetQueue) Description ¶
func (*GetQueue) Documentation ¶
func (*GetQueue) ExampleOutput ¶
func (*GetQueue) HandleHook ¶ added in v0.18.0
func (c *GetQueue) HandleHook(ctx core.ActionHookContext) error
func (*GetQueue) HandleWebhook ¶
func (c *GetQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetQueue) OutputChannels ¶
func (c *GetQueue) OutputChannels(configuration any) []core.OutputChannel
func (*GetQueue) ProcessQueueItem ¶
type GetQueueConfiguration ¶
type PurgeQueue ¶
type PurgeQueue struct{}
func (*PurgeQueue) Cancel ¶
func (c *PurgeQueue) Cancel(ctx core.ExecutionContext) error
func (*PurgeQueue) Cleanup ¶
func (c *PurgeQueue) Cleanup(ctx core.SetupContext) error
func (*PurgeQueue) Color ¶
func (c *PurgeQueue) Color() string
func (*PurgeQueue) Configuration ¶
func (c *PurgeQueue) Configuration() []configuration.Field
func (*PurgeQueue) Description ¶
func (c *PurgeQueue) Description() string
func (*PurgeQueue) Documentation ¶
func (c *PurgeQueue) Documentation() string
func (*PurgeQueue) ExampleOutput ¶
func (c *PurgeQueue) ExampleOutput() map[string]any
func (*PurgeQueue) Execute ¶
func (c *PurgeQueue) Execute(ctx core.ExecutionContext) error
func (*PurgeQueue) HandleHook ¶ added in v0.18.0
func (c *PurgeQueue) HandleHook(ctx core.ActionHookContext) error
func (*PurgeQueue) HandleWebhook ¶
func (c *PurgeQueue) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*PurgeQueue) Hooks ¶ added in v0.18.0
func (c *PurgeQueue) Hooks() []core.Hook
func (*PurgeQueue) Icon ¶
func (c *PurgeQueue) Icon() string
func (*PurgeQueue) Label ¶
func (c *PurgeQueue) Label() string
func (*PurgeQueue) Name ¶
func (c *PurgeQueue) Name() string
func (*PurgeQueue) OutputChannels ¶
func (c *PurgeQueue) OutputChannels(configuration any) []core.OutputChannel
func (*PurgeQueue) ProcessQueueItem ¶
func (c *PurgeQueue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*PurgeQueue) Setup ¶
func (c *PurgeQueue) Setup(ctx core.SetupContext) error
type PurgeQueueConfiguration ¶
type SendMessage ¶
type SendMessage struct{}
func (*SendMessage) Cancel ¶
func (c *SendMessage) Cancel(ctx core.ExecutionContext) error
func (*SendMessage) Cleanup ¶
func (c *SendMessage) Cleanup(ctx core.SetupContext) error
func (*SendMessage) Color ¶
func (c *SendMessage) Color() string
func (*SendMessage) Configuration ¶
func (c *SendMessage) Configuration() []configuration.Field
func (*SendMessage) Description ¶
func (c *SendMessage) Description() string
func (*SendMessage) Documentation ¶
func (c *SendMessage) Documentation() string
func (*SendMessage) ExampleOutput ¶
func (c *SendMessage) ExampleOutput() map[string]any
func (*SendMessage) Execute ¶
func (c *SendMessage) Execute(ctx core.ExecutionContext) error
func (*SendMessage) HandleHook ¶ added in v0.18.0
func (c *SendMessage) HandleHook(ctx core.ActionHookContext) error
func (*SendMessage) HandleWebhook ¶
func (c *SendMessage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*SendMessage) Hooks ¶ added in v0.18.0
func (c *SendMessage) Hooks() []core.Hook
func (*SendMessage) Icon ¶
func (c *SendMessage) Icon() string
func (*SendMessage) Label ¶
func (c *SendMessage) Label() string
func (*SendMessage) Name ¶
func (c *SendMessage) Name() string
func (*SendMessage) OutputChannels ¶
func (c *SendMessage) OutputChannels(configuration any) []core.OutputChannel
func (*SendMessage) ProcessQueueItem ¶
func (c *SendMessage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*SendMessage) Setup ¶
func (c *SendMessage) Setup(ctx core.SetupContext) error
type SendMessageConfiguration ¶
type SendMessageConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Queue string `json:"queue" mapstructure:"queue"`
Format string `json:"format" mapstructure:"format"`
JSON *any `json:"json" mapstructure:"json"`
XML *string `json:"xml" mapstructure:"xml"`
Text *string `json:"text" mapstructure:"text"`
}
Click to show internal directories.
Click to hide internal directories.