Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateAPIDestination(name, connectionArn, url string, tags []common.Tag) (string, error)
- func (c *Client) CreateConnection(name, apiKeyHeader, apiKeyValue string, tags []common.Tag) (string, error)
- func (c *Client) DeleteAPIDestination(name string) error
- func (c *Client) DeleteConnection(name string) error
- func (c *Client) DeleteRule(rule string) error
- func (c *Client) DescribeAPIDestination(name string) (string, error)
- func (c *Client) DescribeConnection(name string) (string, error)
- func (c *Client) PutRule(name, pattern string, tags []common.Tag) (string, error)
- func (c *Client) PutTargets(rule string, targets []Target) error
- func (c *Client) RemoveTargets(rule string, targetIDs []string) error
- type RuleMetadata
- type Target
Constants ¶
View Source
const (
TargetPrefix = "AWSEvents."
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) CreateAPIDestination ¶
func (*Client) CreateConnection ¶
func (*Client) DeleteAPIDestination ¶
func (*Client) DeleteConnection ¶
func (*Client) DeleteRule ¶
func (*Client) DescribeAPIDestination ¶
func (*Client) DescribeConnection ¶
type RuleMetadata ¶
type RuleMetadata struct {
RuleArn string `json:"ruleArn" mapstructure:"ruleArn"`
TargetID string `json:"targetId" mapstructure:"targetId"`
}
func CreateRule ¶
func CreateRule( integration core.IntegrationContext, http core.HTTPContext, targetRoleArn string, region string, destinationArn string, tags []common.Tag, eventPattern map[string]any, ) (*RuleMetadata, error)
Click to show internal directories.
Click to hide internal directories.