Documentation
¶
Index ¶
- func ListRuleGroupsNamespaces(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListWorkspaces(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- type Client
- func (c *Client) CreateRuleGroupsNamespace(input CreateRuleGroupsNamespaceInput) (*CreateRuleGroupsNamespaceResponse, error)
- func (c *Client) CreateWorkspace(input CreateWorkspaceInput) (*CreateWorkspaceResponse, error)
- func (c *Client) DeleteRuleGroupsNamespace(workspaceID string, name string, clientToken string) error
- func (c *Client) DeleteWorkspace(workspaceID string, clientToken string) error
- func (c *Client) DescribeRuleGroupsNamespace(workspaceID string, name string) (*RuleGroupsNamespaceDescription, error)
- func (c *Client) DescribeWorkspace(workspaceID string) (*WorkspaceDescription, error)
- func (c *Client) ListRuleGroupsNamespaces(workspaceID string) ([]RuleGroupsNamespaceSummary, error)
- func (c *Client) ListWorkspaces(alias string) ([]WorkspaceSummary, error)
- func (c *Client) PutRuleGroupsNamespace(workspaceID string, name string, data string, clientToken string) (*CreateRuleGroupsNamespaceResponse, error)
- func (c *Client) QueryMetrics(input QueryMetricsInput) (map[string]any, error)
- func (c *Client) QueryRangeMetrics(input QueryRangeMetricsInput) (map[string]any, error)
- func (c *Client) UpdateWorkspaceAlias(workspaceID string, alias string, clientToken string) error
- type CreateRuleGroupNamespace
- func (c *CreateRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
- func (c *CreateRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
- func (c *CreateRuleGroupNamespace) Color() string
- func (c *CreateRuleGroupNamespace) Configuration() []configuration.Field
- func (c *CreateRuleGroupNamespace) Description() string
- func (c *CreateRuleGroupNamespace) Documentation() string
- func (c *CreateRuleGroupNamespace) ExampleOutput() map[string]any
- func (c *CreateRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
- func (c *CreateRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateRuleGroupNamespace) Hooks() []core.Hook
- func (c *CreateRuleGroupNamespace) Icon() string
- func (c *CreateRuleGroupNamespace) Label() string
- func (c *CreateRuleGroupNamespace) Name() string
- func (c *CreateRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateRuleGroupNamespace) Setup(ctx core.SetupContext) error
- type CreateRuleGroupNamespaceConfiguration
- type CreateRuleGroupsNamespaceInput
- type CreateRuleGroupsNamespaceResponse
- type CreateWorkspace
- func (c *CreateWorkspace) Cancel(ctx core.ExecutionContext) error
- func (c *CreateWorkspace) Cleanup(ctx core.SetupContext) error
- func (c *CreateWorkspace) Color() string
- func (c *CreateWorkspace) Configuration() []configuration.Field
- func (c *CreateWorkspace) Description() string
- func (c *CreateWorkspace) Documentation() string
- func (c *CreateWorkspace) ExampleOutput() map[string]any
- func (c *CreateWorkspace) Execute(ctx core.ExecutionContext) error
- func (c *CreateWorkspace) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateWorkspace) Hooks() []core.Hook
- func (c *CreateWorkspace) Icon() string
- func (c *CreateWorkspace) Label() string
- func (c *CreateWorkspace) Name() string
- func (c *CreateWorkspace) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateWorkspace) Setup(ctx core.SetupContext) error
- type CreateWorkspaceConfiguration
- type CreateWorkspaceInput
- type CreateWorkspaceResponse
- type DeleteRuleGroupNamespace
- func (c *DeleteRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
- func (c *DeleteRuleGroupNamespace) Color() string
- func (c *DeleteRuleGroupNamespace) Configuration() []configuration.Field
- func (c *DeleteRuleGroupNamespace) Description() string
- func (c *DeleteRuleGroupNamespace) Documentation() string
- func (c *DeleteRuleGroupNamespace) ExampleOutput() map[string]any
- func (c *DeleteRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
- func (c *DeleteRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteRuleGroupNamespace) Hooks() []core.Hook
- func (c *DeleteRuleGroupNamespace) Icon() string
- func (c *DeleteRuleGroupNamespace) Label() string
- func (c *DeleteRuleGroupNamespace) Name() string
- func (c *DeleteRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteRuleGroupNamespace) Setup(ctx core.SetupContext) error
- type DeleteWorkspace
- func (c *DeleteWorkspace) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteWorkspace) Cleanup(ctx core.SetupContext) error
- func (c *DeleteWorkspace) Color() string
- func (c *DeleteWorkspace) Configuration() []configuration.Field
- func (c *DeleteWorkspace) Description() string
- func (c *DeleteWorkspace) Documentation() string
- func (c *DeleteWorkspace) ExampleOutput() map[string]any
- func (c *DeleteWorkspace) Execute(ctx core.ExecutionContext) error
- func (c *DeleteWorkspace) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteWorkspace) Hooks() []core.Hook
- func (c *DeleteWorkspace) Icon() string
- func (c *DeleteWorkspace) Label() string
- func (c *DeleteWorkspace) Name() string
- func (c *DeleteWorkspace) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteWorkspace) Setup(ctx core.SetupContext) error
- type GetRuleGroupNamespace
- func (c *GetRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
- func (c *GetRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
- func (c *GetRuleGroupNamespace) Color() string
- func (c *GetRuleGroupNamespace) Configuration() []configuration.Field
- func (c *GetRuleGroupNamespace) Description() string
- func (c *GetRuleGroupNamespace) Documentation() string
- func (c *GetRuleGroupNamespace) ExampleOutput() map[string]any
- func (c *GetRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
- func (c *GetRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
- func (c *GetRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetRuleGroupNamespace) Hooks() []core.Hook
- func (c *GetRuleGroupNamespace) Icon() string
- func (c *GetRuleGroupNamespace) Label() string
- func (c *GetRuleGroupNamespace) Name() string
- func (c *GetRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetRuleGroupNamespace) Setup(ctx core.SetupContext) error
- type GetWorkspace
- func (c *GetWorkspace) Cancel(ctx core.ExecutionContext) error
- func (c *GetWorkspace) Cleanup(ctx core.SetupContext) error
- func (c *GetWorkspace) Color() string
- func (c *GetWorkspace) Configuration() []configuration.Field
- func (c *GetWorkspace) Description() string
- func (c *GetWorkspace) Documentation() string
- func (c *GetWorkspace) ExampleOutput() map[string]any
- func (c *GetWorkspace) Execute(ctx core.ExecutionContext) error
- func (c *GetWorkspace) HandleHook(ctx core.ActionHookContext) error
- func (c *GetWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetWorkspace) Hooks() []core.Hook
- func (c *GetWorkspace) Icon() string
- func (c *GetWorkspace) Label() string
- func (c *GetWorkspace) Name() string
- func (c *GetWorkspace) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetWorkspace) Setup(ctx core.SetupContext) error
- type Query
- func (c *Query) Cancel(ctx core.ExecutionContext) error
- func (c *Query) Cleanup(ctx core.SetupContext) error
- func (c *Query) Color() string
- func (c *Query) Configuration() []configuration.Field
- func (c *Query) Description() string
- func (c *Query) Documentation() string
- func (c *Query) ExampleOutput() map[string]any
- func (c *Query) Execute(ctx core.ExecutionContext) error
- func (c *Query) HandleHook(ctx core.ActionHookContext) error
- func (c *Query) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *Query) Hooks() []core.Hook
- func (c *Query) Icon() string
- func (c *Query) Label() string
- func (c *Query) Name() string
- func (c *Query) OutputChannels(configuration any) []core.OutputChannel
- func (c *Query) Setup(ctx core.SetupContext) error
- type QueryConfiguration
- type QueryMetricsInput
- type QueryOptionsConfiguration
- type QueryRange
- func (c *QueryRange) Cancel(ctx core.ExecutionContext) error
- func (c *QueryRange) Cleanup(ctx core.SetupContext) error
- func (c *QueryRange) Color() string
- func (c *QueryRange) Configuration() []configuration.Field
- func (c *QueryRange) Description() string
- func (c *QueryRange) Documentation() string
- func (c *QueryRange) ExampleOutput() map[string]any
- func (c *QueryRange) Execute(ctx core.ExecutionContext) error
- func (c *QueryRange) HandleHook(ctx core.ActionHookContext) error
- func (c *QueryRange) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *QueryRange) Hooks() []core.Hook
- func (c *QueryRange) Icon() string
- func (c *QueryRange) Label() string
- func (c *QueryRange) Name() string
- func (c *QueryRange) OutputChannels(configuration any) []core.OutputChannel
- func (c *QueryRange) Setup(ctx core.SetupContext) error
- type QueryRangeConfiguration
- type QueryRangeMetricsInput
- type RuleGroupsNamespaceDescription
- type RuleGroupsNamespaceStatus
- type RuleGroupsNamespaceSummary
- type UpdateRuleGroupNamespace
- func (c *UpdateRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
- func (c *UpdateRuleGroupNamespace) Color() string
- func (c *UpdateRuleGroupNamespace) Configuration() []configuration.Field
- func (c *UpdateRuleGroupNamespace) Description() string
- func (c *UpdateRuleGroupNamespace) Documentation() string
- func (c *UpdateRuleGroupNamespace) ExampleOutput() map[string]any
- func (c *UpdateRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
- func (c *UpdateRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
- func (c *UpdateRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *UpdateRuleGroupNamespace) Hooks() []core.Hook
- func (c *UpdateRuleGroupNamespace) Icon() string
- func (c *UpdateRuleGroupNamespace) Label() string
- func (c *UpdateRuleGroupNamespace) Name() string
- func (c *UpdateRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateRuleGroupNamespace) Setup(ctx core.SetupContext) error
- type UpdateRuleGroupNamespaceConfiguration
- type UpdateWorkspace
- func (c *UpdateWorkspace) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateWorkspace) Cleanup(ctx core.SetupContext) error
- func (c *UpdateWorkspace) Color() string
- func (c *UpdateWorkspace) Configuration() []configuration.Field
- func (c *UpdateWorkspace) Description() string
- func (c *UpdateWorkspace) Documentation() string
- func (c *UpdateWorkspace) ExampleOutput() map[string]any
- func (c *UpdateWorkspace) Execute(ctx core.ExecutionContext) error
- func (c *UpdateWorkspace) HandleHook(ctx core.ActionHookContext) error
- func (c *UpdateWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *UpdateWorkspace) Hooks() []core.Hook
- func (c *UpdateWorkspace) Icon() string
- func (c *UpdateWorkspace) Label() string
- func (c *UpdateWorkspace) Name() string
- func (c *UpdateWorkspace) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateWorkspace) Setup(ctx core.SetupContext) error
- type UpdateWorkspaceConfiguration
- type WorkspaceDescription
- type WorkspaceNodeMetadata
- type WorkspaceStatus
- type WorkspaceSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRuleGroupsNamespaces ¶
func ListRuleGroupsNamespaces(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListWorkspaces ¶
func ListWorkspaces(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) CreateRuleGroupsNamespace ¶
func (c *Client) CreateRuleGroupsNamespace(input CreateRuleGroupsNamespaceInput) (*CreateRuleGroupsNamespaceResponse, error)
func (*Client) CreateWorkspace ¶
func (c *Client) CreateWorkspace(input CreateWorkspaceInput) (*CreateWorkspaceResponse, error)
func (*Client) DeleteRuleGroupsNamespace ¶
func (*Client) DeleteWorkspace ¶
func (*Client) DescribeRuleGroupsNamespace ¶
func (c *Client) DescribeRuleGroupsNamespace(workspaceID string, name string) (*RuleGroupsNamespaceDescription, error)
func (*Client) DescribeWorkspace ¶
func (c *Client) DescribeWorkspace(workspaceID string) (*WorkspaceDescription, error)
func (*Client) ListRuleGroupsNamespaces ¶
func (c *Client) ListRuleGroupsNamespaces(workspaceID string) ([]RuleGroupsNamespaceSummary, error)
func (*Client) ListWorkspaces ¶
func (c *Client) ListWorkspaces(alias string) ([]WorkspaceSummary, error)
func (*Client) PutRuleGroupsNamespace ¶
func (*Client) QueryMetrics ¶
func (c *Client) QueryMetrics(input QueryMetricsInput) (map[string]any, error)
func (*Client) QueryRangeMetrics ¶
func (c *Client) QueryRangeMetrics(input QueryRangeMetricsInput) (map[string]any, error)
type CreateRuleGroupNamespace ¶
type CreateRuleGroupNamespace struct{}
func (*CreateRuleGroupNamespace) Cancel ¶
func (c *CreateRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
func (*CreateRuleGroupNamespace) Cleanup ¶
func (c *CreateRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
func (*CreateRuleGroupNamespace) Color ¶
func (c *CreateRuleGroupNamespace) Color() string
func (*CreateRuleGroupNamespace) Configuration ¶
func (c *CreateRuleGroupNamespace) Configuration() []configuration.Field
func (*CreateRuleGroupNamespace) Description ¶
func (c *CreateRuleGroupNamespace) Description() string
func (*CreateRuleGroupNamespace) Documentation ¶
func (c *CreateRuleGroupNamespace) Documentation() string
func (*CreateRuleGroupNamespace) ExampleOutput ¶
func (c *CreateRuleGroupNamespace) ExampleOutput() map[string]any
func (*CreateRuleGroupNamespace) Execute ¶
func (c *CreateRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
func (*CreateRuleGroupNamespace) HandleHook ¶
func (c *CreateRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
func (*CreateRuleGroupNamespace) HandleWebhook ¶
func (c *CreateRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateRuleGroupNamespace) Hooks ¶
func (c *CreateRuleGroupNamespace) Hooks() []core.Hook
func (*CreateRuleGroupNamespace) Icon ¶
func (c *CreateRuleGroupNamespace) Icon() string
func (*CreateRuleGroupNamespace) Label ¶
func (c *CreateRuleGroupNamespace) Label() string
func (*CreateRuleGroupNamespace) Name ¶
func (c *CreateRuleGroupNamespace) Name() string
func (*CreateRuleGroupNamespace) OutputChannels ¶
func (c *CreateRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
func (*CreateRuleGroupNamespace) Setup ¶
func (c *CreateRuleGroupNamespace) Setup(ctx core.SetupContext) error
type CreateRuleGroupNamespaceConfiguration ¶
type CreateRuleGroupNamespaceConfiguration struct {
Region string `json:"region" mapstructure:"region"`
WorkspaceID string `json:"workspace" mapstructure:"workspace"`
Name string `json:"name" mapstructure:"name"`
Data string `json:"data" mapstructure:"data"`
ClientToken string `json:"clientToken" mapstructure:"clientToken"`
Tags []common.Tag `json:"tags" mapstructure:"tags"`
}
type CreateRuleGroupsNamespaceResponse ¶
type CreateRuleGroupsNamespaceResponse struct {
Name string `json:"name"`
Arn string `json:"arn"`
Status RuleGroupsNamespaceStatus `json:"status"`
Tags map[string]string `json:"tags,omitempty"`
}
type CreateWorkspace ¶
type CreateWorkspace struct{}
func (*CreateWorkspace) Cancel ¶
func (c *CreateWorkspace) Cancel(ctx core.ExecutionContext) error
func (*CreateWorkspace) Cleanup ¶
func (c *CreateWorkspace) Cleanup(ctx core.SetupContext) error
func (*CreateWorkspace) Color ¶
func (c *CreateWorkspace) Color() string
func (*CreateWorkspace) Configuration ¶
func (c *CreateWorkspace) Configuration() []configuration.Field
func (*CreateWorkspace) Description ¶
func (c *CreateWorkspace) Description() string
func (*CreateWorkspace) Documentation ¶
func (c *CreateWorkspace) Documentation() string
func (*CreateWorkspace) ExampleOutput ¶
func (c *CreateWorkspace) ExampleOutput() map[string]any
func (*CreateWorkspace) Execute ¶
func (c *CreateWorkspace) Execute(ctx core.ExecutionContext) error
func (*CreateWorkspace) HandleHook ¶
func (c *CreateWorkspace) HandleHook(ctx core.ActionHookContext) error
func (*CreateWorkspace) HandleWebhook ¶
func (c *CreateWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateWorkspace) Hooks ¶
func (c *CreateWorkspace) Hooks() []core.Hook
func (*CreateWorkspace) Icon ¶
func (c *CreateWorkspace) Icon() string
func (*CreateWorkspace) Label ¶
func (c *CreateWorkspace) Label() string
func (*CreateWorkspace) Name ¶
func (c *CreateWorkspace) Name() string
func (*CreateWorkspace) OutputChannels ¶
func (c *CreateWorkspace) OutputChannels(configuration any) []core.OutputChannel
func (*CreateWorkspace) Setup ¶
func (c *CreateWorkspace) Setup(ctx core.SetupContext) error
type CreateWorkspaceConfiguration ¶
type CreateWorkspaceConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Alias string `json:"alias" mapstructure:"alias"`
KMSKeyArn string `json:"kmsKeyArn" mapstructure:"kmsKeyArn"`
ClientToken string `json:"clientToken" mapstructure:"clientToken"`
Tags []common.Tag `json:"tags" mapstructure:"tags"`
}
type CreateWorkspaceInput ¶
type CreateWorkspaceResponse ¶
type DeleteRuleGroupNamespace ¶
type DeleteRuleGroupNamespace struct{}
func (*DeleteRuleGroupNamespace) Cancel ¶
func (c *DeleteRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
func (*DeleteRuleGroupNamespace) Cleanup ¶
func (c *DeleteRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
func (*DeleteRuleGroupNamespace) Color ¶
func (c *DeleteRuleGroupNamespace) Color() string
func (*DeleteRuleGroupNamespace) Configuration ¶
func (c *DeleteRuleGroupNamespace) Configuration() []configuration.Field
func (*DeleteRuleGroupNamespace) Description ¶
func (c *DeleteRuleGroupNamespace) Description() string
func (*DeleteRuleGroupNamespace) Documentation ¶
func (c *DeleteRuleGroupNamespace) Documentation() string
func (*DeleteRuleGroupNamespace) ExampleOutput ¶
func (c *DeleteRuleGroupNamespace) ExampleOutput() map[string]any
func (*DeleteRuleGroupNamespace) Execute ¶
func (c *DeleteRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
func (*DeleteRuleGroupNamespace) HandleHook ¶
func (c *DeleteRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
func (*DeleteRuleGroupNamespace) HandleWebhook ¶
func (c *DeleteRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteRuleGroupNamespace) Hooks ¶
func (c *DeleteRuleGroupNamespace) Hooks() []core.Hook
func (*DeleteRuleGroupNamespace) Icon ¶
func (c *DeleteRuleGroupNamespace) Icon() string
func (*DeleteRuleGroupNamespace) Label ¶
func (c *DeleteRuleGroupNamespace) Label() string
func (*DeleteRuleGroupNamespace) Name ¶
func (c *DeleteRuleGroupNamespace) Name() string
func (*DeleteRuleGroupNamespace) OutputChannels ¶
func (c *DeleteRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteRuleGroupNamespace) Setup ¶
func (c *DeleteRuleGroupNamespace) Setup(ctx core.SetupContext) error
type DeleteWorkspace ¶
type DeleteWorkspace struct{}
func (*DeleteWorkspace) Cancel ¶
func (c *DeleteWorkspace) Cancel(ctx core.ExecutionContext) error
func (*DeleteWorkspace) Cleanup ¶
func (c *DeleteWorkspace) Cleanup(ctx core.SetupContext) error
func (*DeleteWorkspace) Color ¶
func (c *DeleteWorkspace) Color() string
func (*DeleteWorkspace) Configuration ¶
func (c *DeleteWorkspace) Configuration() []configuration.Field
func (*DeleteWorkspace) Description ¶
func (c *DeleteWorkspace) Description() string
func (*DeleteWorkspace) Documentation ¶
func (c *DeleteWorkspace) Documentation() string
func (*DeleteWorkspace) ExampleOutput ¶
func (c *DeleteWorkspace) ExampleOutput() map[string]any
func (*DeleteWorkspace) Execute ¶
func (c *DeleteWorkspace) Execute(ctx core.ExecutionContext) error
func (*DeleteWorkspace) HandleHook ¶
func (c *DeleteWorkspace) HandleHook(ctx core.ActionHookContext) error
func (*DeleteWorkspace) HandleWebhook ¶
func (c *DeleteWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteWorkspace) Hooks ¶
func (c *DeleteWorkspace) Hooks() []core.Hook
func (*DeleteWorkspace) Icon ¶
func (c *DeleteWorkspace) Icon() string
func (*DeleteWorkspace) Label ¶
func (c *DeleteWorkspace) Label() string
func (*DeleteWorkspace) Name ¶
func (c *DeleteWorkspace) Name() string
func (*DeleteWorkspace) OutputChannels ¶
func (c *DeleteWorkspace) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteWorkspace) Setup ¶
func (c *DeleteWorkspace) Setup(ctx core.SetupContext) error
type GetRuleGroupNamespace ¶
type GetRuleGroupNamespace struct{}
func (*GetRuleGroupNamespace) Cancel ¶
func (c *GetRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
func (*GetRuleGroupNamespace) Cleanup ¶
func (c *GetRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
func (*GetRuleGroupNamespace) Color ¶
func (c *GetRuleGroupNamespace) Color() string
func (*GetRuleGroupNamespace) Configuration ¶
func (c *GetRuleGroupNamespace) Configuration() []configuration.Field
func (*GetRuleGroupNamespace) Description ¶
func (c *GetRuleGroupNamespace) Description() string
func (*GetRuleGroupNamespace) Documentation ¶
func (c *GetRuleGroupNamespace) Documentation() string
func (*GetRuleGroupNamespace) ExampleOutput ¶
func (c *GetRuleGroupNamespace) ExampleOutput() map[string]any
func (*GetRuleGroupNamespace) Execute ¶
func (c *GetRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
func (*GetRuleGroupNamespace) HandleHook ¶
func (c *GetRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
func (*GetRuleGroupNamespace) HandleWebhook ¶
func (c *GetRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetRuleGroupNamespace) Hooks ¶
func (c *GetRuleGroupNamespace) Hooks() []core.Hook
func (*GetRuleGroupNamespace) Icon ¶
func (c *GetRuleGroupNamespace) Icon() string
func (*GetRuleGroupNamespace) Label ¶
func (c *GetRuleGroupNamespace) Label() string
func (*GetRuleGroupNamespace) Name ¶
func (c *GetRuleGroupNamespace) Name() string
func (*GetRuleGroupNamespace) OutputChannels ¶
func (c *GetRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
func (*GetRuleGroupNamespace) Setup ¶
func (c *GetRuleGroupNamespace) Setup(ctx core.SetupContext) error
type GetWorkspace ¶
type GetWorkspace struct{}
func (*GetWorkspace) Cancel ¶
func (c *GetWorkspace) Cancel(ctx core.ExecutionContext) error
func (*GetWorkspace) Cleanup ¶
func (c *GetWorkspace) Cleanup(ctx core.SetupContext) error
func (*GetWorkspace) Color ¶
func (c *GetWorkspace) Color() string
func (*GetWorkspace) Configuration ¶
func (c *GetWorkspace) Configuration() []configuration.Field
func (*GetWorkspace) Description ¶
func (c *GetWorkspace) Description() string
func (*GetWorkspace) Documentation ¶
func (c *GetWorkspace) Documentation() string
func (*GetWorkspace) ExampleOutput ¶
func (c *GetWorkspace) ExampleOutput() map[string]any
func (*GetWorkspace) Execute ¶
func (c *GetWorkspace) Execute(ctx core.ExecutionContext) error
func (*GetWorkspace) HandleHook ¶
func (c *GetWorkspace) HandleHook(ctx core.ActionHookContext) error
func (*GetWorkspace) HandleWebhook ¶
func (c *GetWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetWorkspace) Hooks ¶
func (c *GetWorkspace) Hooks() []core.Hook
func (*GetWorkspace) Icon ¶
func (c *GetWorkspace) Icon() string
func (*GetWorkspace) Label ¶
func (c *GetWorkspace) Label() string
func (*GetWorkspace) Name ¶
func (c *GetWorkspace) Name() string
func (*GetWorkspace) OutputChannels ¶
func (c *GetWorkspace) OutputChannels(configuration any) []core.OutputChannel
func (*GetWorkspace) Setup ¶
func (c *GetWorkspace) Setup(ctx core.SetupContext) error
type Query ¶
type Query struct{}
func (*Query) Configuration ¶
func (c *Query) Configuration() []configuration.Field
func (*Query) Description ¶
func (*Query) Documentation ¶
func (*Query) ExampleOutput ¶
func (*Query) HandleHook ¶
func (c *Query) HandleHook(ctx core.ActionHookContext) error
func (*Query) HandleWebhook ¶
func (c *Query) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*Query) OutputChannels ¶
func (c *Query) OutputChannels(configuration any) []core.OutputChannel
type QueryConfiguration ¶
type QueryConfiguration struct {
Region string `json:"region" mapstructure:"region"`
WorkspaceID string `json:"workspace" mapstructure:"workspace"`
Query string `json:"query" mapstructure:"query"`
Time string `json:"time" mapstructure:"time"`
QueryOptionsConfiguration `mapstructure:",squash"`
}
type QueryMetricsInput ¶
type QueryOptionsConfiguration ¶
type QueryOptionsConfiguration struct {
Timeout string `json:"timeout" mapstructure:"timeout"`
MaxSamplesProcessedWarningThreshold int `json:"maxSamplesProcessedWarningThreshold" mapstructure:"maxSamplesProcessedWarningThreshold"`
MaxSamplesProcessedErrorThreshold int `json:"maxSamplesProcessedErrorThreshold" mapstructure:"maxSamplesProcessedErrorThreshold"`
}
type QueryRange ¶
type QueryRange struct{}
func (*QueryRange) Cancel ¶
func (c *QueryRange) Cancel(ctx core.ExecutionContext) error
func (*QueryRange) Cleanup ¶
func (c *QueryRange) Cleanup(ctx core.SetupContext) error
func (*QueryRange) Color ¶
func (c *QueryRange) Color() string
func (*QueryRange) Configuration ¶
func (c *QueryRange) Configuration() []configuration.Field
func (*QueryRange) Description ¶
func (c *QueryRange) Description() string
func (*QueryRange) Documentation ¶
func (c *QueryRange) Documentation() string
func (*QueryRange) ExampleOutput ¶
func (c *QueryRange) ExampleOutput() map[string]any
func (*QueryRange) Execute ¶
func (c *QueryRange) Execute(ctx core.ExecutionContext) error
func (*QueryRange) HandleHook ¶
func (c *QueryRange) HandleHook(ctx core.ActionHookContext) error
func (*QueryRange) HandleWebhook ¶
func (c *QueryRange) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*QueryRange) Hooks ¶
func (c *QueryRange) Hooks() []core.Hook
func (*QueryRange) Icon ¶
func (c *QueryRange) Icon() string
func (*QueryRange) Label ¶
func (c *QueryRange) Label() string
func (*QueryRange) Name ¶
func (c *QueryRange) Name() string
func (*QueryRange) OutputChannels ¶
func (c *QueryRange) OutputChannels(configuration any) []core.OutputChannel
func (*QueryRange) Setup ¶
func (c *QueryRange) Setup(ctx core.SetupContext) error
type QueryRangeConfiguration ¶
type QueryRangeConfiguration struct {
Region string `json:"region" mapstructure:"region"`
WorkspaceID string `json:"workspace" mapstructure:"workspace"`
Query string `json:"query" mapstructure:"query"`
Start string `json:"start" mapstructure:"start"`
End string `json:"end" mapstructure:"end"`
Step string `json:"step" mapstructure:"step"`
QueryOptionsConfiguration `mapstructure:",squash"`
}
type QueryRangeMetricsInput ¶
type RuleGroupsNamespaceDescription ¶
type RuleGroupsNamespaceDescription struct {
RuleGroupsNamespaceSummary
Data string `json:"data"`
}
Data holds the decoded plain-text rules YAML, not the AWS base64 wire format.
type RuleGroupsNamespaceSummary ¶
type RuleGroupsNamespaceSummary struct {
Arn string `json:"arn"`
Name string `json:"name"`
Status RuleGroupsNamespaceStatus `json:"status"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
ModifiedAt common.FloatTime `json:"modifiedAt,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
}
type UpdateRuleGroupNamespace ¶
type UpdateRuleGroupNamespace struct{}
func (*UpdateRuleGroupNamespace) Cancel ¶
func (c *UpdateRuleGroupNamespace) Cancel(ctx core.ExecutionContext) error
func (*UpdateRuleGroupNamespace) Cleanup ¶
func (c *UpdateRuleGroupNamespace) Cleanup(ctx core.SetupContext) error
func (*UpdateRuleGroupNamespace) Color ¶
func (c *UpdateRuleGroupNamespace) Color() string
func (*UpdateRuleGroupNamespace) Configuration ¶
func (c *UpdateRuleGroupNamespace) Configuration() []configuration.Field
func (*UpdateRuleGroupNamespace) Description ¶
func (c *UpdateRuleGroupNamespace) Description() string
func (*UpdateRuleGroupNamespace) Documentation ¶
func (c *UpdateRuleGroupNamespace) Documentation() string
func (*UpdateRuleGroupNamespace) ExampleOutput ¶
func (c *UpdateRuleGroupNamespace) ExampleOutput() map[string]any
func (*UpdateRuleGroupNamespace) Execute ¶
func (c *UpdateRuleGroupNamespace) Execute(ctx core.ExecutionContext) error
func (*UpdateRuleGroupNamespace) HandleHook ¶
func (c *UpdateRuleGroupNamespace) HandleHook(ctx core.ActionHookContext) error
func (*UpdateRuleGroupNamespace) HandleWebhook ¶
func (c *UpdateRuleGroupNamespace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*UpdateRuleGroupNamespace) Hooks ¶
func (c *UpdateRuleGroupNamespace) Hooks() []core.Hook
func (*UpdateRuleGroupNamespace) Icon ¶
func (c *UpdateRuleGroupNamespace) Icon() string
func (*UpdateRuleGroupNamespace) Label ¶
func (c *UpdateRuleGroupNamespace) Label() string
func (*UpdateRuleGroupNamespace) Name ¶
func (c *UpdateRuleGroupNamespace) Name() string
func (*UpdateRuleGroupNamespace) OutputChannels ¶
func (c *UpdateRuleGroupNamespace) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateRuleGroupNamespace) Setup ¶
func (c *UpdateRuleGroupNamespace) Setup(ctx core.SetupContext) error
type UpdateRuleGroupNamespaceConfiguration ¶
type UpdateRuleGroupNamespaceConfiguration struct {
Region string `json:"region" mapstructure:"region"`
WorkspaceID string `json:"workspace" mapstructure:"workspace"`
Name string `json:"namespace" mapstructure:"namespace"`
Data string `json:"data" mapstructure:"data"`
ClientToken string `json:"clientToken" mapstructure:"clientToken"`
}
type UpdateWorkspace ¶
type UpdateWorkspace struct{}
func (*UpdateWorkspace) Cancel ¶
func (c *UpdateWorkspace) Cancel(ctx core.ExecutionContext) error
func (*UpdateWorkspace) Cleanup ¶
func (c *UpdateWorkspace) Cleanup(ctx core.SetupContext) error
func (*UpdateWorkspace) Color ¶
func (c *UpdateWorkspace) Color() string
func (*UpdateWorkspace) Configuration ¶
func (c *UpdateWorkspace) Configuration() []configuration.Field
func (*UpdateWorkspace) Description ¶
func (c *UpdateWorkspace) Description() string
func (*UpdateWorkspace) Documentation ¶
func (c *UpdateWorkspace) Documentation() string
func (*UpdateWorkspace) ExampleOutput ¶
func (c *UpdateWorkspace) ExampleOutput() map[string]any
func (*UpdateWorkspace) Execute ¶
func (c *UpdateWorkspace) Execute(ctx core.ExecutionContext) error
func (*UpdateWorkspace) HandleHook ¶
func (c *UpdateWorkspace) HandleHook(ctx core.ActionHookContext) error
func (*UpdateWorkspace) HandleWebhook ¶
func (c *UpdateWorkspace) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*UpdateWorkspace) Hooks ¶
func (c *UpdateWorkspace) Hooks() []core.Hook
func (*UpdateWorkspace) Icon ¶
func (c *UpdateWorkspace) Icon() string
func (*UpdateWorkspace) Label ¶
func (c *UpdateWorkspace) Label() string
func (*UpdateWorkspace) Name ¶
func (c *UpdateWorkspace) Name() string
func (*UpdateWorkspace) OutputChannels ¶
func (c *UpdateWorkspace) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateWorkspace) Setup ¶
func (c *UpdateWorkspace) Setup(ctx core.SetupContext) error
type WorkspaceDescription ¶
type WorkspaceDescription struct {
WorkspaceSummary
PrometheusEndpoint string `json:"prometheusEndpoint,omitempty"`
}
type WorkspaceNodeMetadata ¶
type WorkspaceStatus ¶
type WorkspaceStatus struct {
StatusCode string `json:"statusCode"`
}
type WorkspaceSummary ¶
type WorkspaceSummary struct {
Alias string `json:"alias,omitempty"`
Arn string `json:"arn"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
KMSKeyArn string `json:"kmsKeyArn,omitempty"`
Status WorkspaceStatus `json:"status"`
Tags map[string]string `json:"tags,omitempty"`
WorkspaceID string `json:"workspaceId"`
}
Click to show internal directories.
Click to hide internal directories.