Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const EndpointsID + const ErrCodeConcurrentModificationException + const ErrCodeInternalException + const ErrCodeInvalidEventPatternException + const ErrCodeLimitExceededException + const ErrCodePolicyLengthExceededException + const ErrCodeResourceNotFoundException + const RuleStateDisabled + const RuleStateEnabled + const ServiceName + type CloudWatchEvents struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchEvents + func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) + func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) + func (c *CloudWatchEvents) DeleteRuleWithContext(ctx aws.Context, input *DeleteRuleInput, opts ...request.Option) (*DeleteRuleOutput, error) + func (c *CloudWatchEvents) DescribeEventBus(input *DescribeEventBusInput) (*DescribeEventBusOutput, error) + func (c *CloudWatchEvents) DescribeEventBusRequest(input *DescribeEventBusInput) (req *request.Request, output *DescribeEventBusOutput) + func (c *CloudWatchEvents) DescribeEventBusWithContext(ctx aws.Context, input *DescribeEventBusInput, opts ...request.Option) (*DescribeEventBusOutput, error) + func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) + func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *request.Request, output *DescribeRuleOutput) + func (c *CloudWatchEvents) DescribeRuleWithContext(ctx aws.Context, input *DescribeRuleInput, opts ...request.Option) (*DescribeRuleOutput, error) + func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) + func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *request.Request, output *DisableRuleOutput) + func (c *CloudWatchEvents) DisableRuleWithContext(ctx aws.Context, input *DisableRuleInput, opts ...request.Option) (*DisableRuleOutput, error) + func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) + func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *request.Request, output *EnableRuleOutput) + func (c *CloudWatchEvents) EnableRuleWithContext(ctx aws.Context, input *EnableRuleInput, opts ...request.Option) (*EnableRuleOutput, error) + func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) + func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetInput) (req *request.Request, output *ListRuleNamesByTargetOutput) + func (c *CloudWatchEvents) ListRuleNamesByTargetWithContext(ctx aws.Context, input *ListRuleNamesByTargetInput, opts ...request.Option) (*ListRuleNamesByTargetOutput, error) + func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) + func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) + func (c *CloudWatchEvents) ListRulesWithContext(ctx aws.Context, input *ListRulesInput, opts ...request.Option) (*ListRulesOutput, error) + func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) + func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (req *request.Request, output *ListTargetsByRuleOutput) + func (c *CloudWatchEvents) ListTargetsByRuleWithContext(ctx aws.Context, input *ListTargetsByRuleInput, opts ...request.Option) (*ListTargetsByRuleOutput, error) + func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) + func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) + func (c *CloudWatchEvents) PutEventsWithContext(ctx aws.Context, input *PutEventsInput, opts ...request.Option) (*PutEventsOutput, error) + func (c *CloudWatchEvents) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) + func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput) + func (c *CloudWatchEvents) PutPermissionWithContext(ctx aws.Context, input *PutPermissionInput, opts ...request.Option) (*PutPermissionOutput, error) + func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) + func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Request, output *PutRuleOutput) + func (c *CloudWatchEvents) PutRuleWithContext(ctx aws.Context, input *PutRuleInput, opts ...request.Option) (*PutRuleOutput, error) + func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) + func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *request.Request, output *PutTargetsOutput) + func (c *CloudWatchEvents) PutTargetsWithContext(ctx aws.Context, input *PutTargetsInput, opts ...request.Option) (*PutTargetsOutput, error) + func (c *CloudWatchEvents) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) + func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) + func (c *CloudWatchEvents) RemovePermissionWithContext(ctx aws.Context, input *RemovePermissionInput, opts ...request.Option) (*RemovePermissionOutput, error) + func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) + func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req *request.Request, output *RemoveTargetsOutput) + func (c *CloudWatchEvents) RemoveTargetsWithContext(ctx aws.Context, input *RemoveTargetsInput, opts ...request.Option) (*RemoveTargetsOutput, error) + func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) + func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) (req *request.Request, output *TestEventPatternOutput) + func (c *CloudWatchEvents) TestEventPatternWithContext(ctx aws.Context, input *TestEventPatternInput, opts ...request.Option) (*TestEventPatternOutput, error) + type DeleteRuleInput struct + Name *string + func (s *DeleteRuleInput) SetName(v string) *DeleteRuleInput + func (s *DeleteRuleInput) Validate() error + func (s DeleteRuleInput) GoString() string + func (s DeleteRuleInput) String() string + type DeleteRuleOutput struct + func (s DeleteRuleOutput) GoString() string + func (s DeleteRuleOutput) String() string + type DescribeEventBusInput struct + func (s DescribeEventBusInput) GoString() string + func (s DescribeEventBusInput) String() string + type DescribeEventBusOutput struct + Arn *string + Name *string + Policy *string + func (s *DescribeEventBusOutput) SetArn(v string) *DescribeEventBusOutput + func (s *DescribeEventBusOutput) SetName(v string) *DescribeEventBusOutput + func (s *DescribeEventBusOutput) SetPolicy(v string) *DescribeEventBusOutput + func (s DescribeEventBusOutput) GoString() string + func (s DescribeEventBusOutput) String() string + type DescribeRuleInput struct + Name *string + func (s *DescribeRuleInput) SetName(v string) *DescribeRuleInput + func (s *DescribeRuleInput) Validate() error + func (s DescribeRuleInput) GoString() string + func (s DescribeRuleInput) String() string + type DescribeRuleOutput struct + Arn *string + Description *string + EventPattern *string + Name *string + RoleArn *string + ScheduleExpression *string + State *string + func (s *DescribeRuleOutput) SetArn(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetDescription(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetEventPattern(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetName(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetRoleArn(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetScheduleExpression(v string) *DescribeRuleOutput + func (s *DescribeRuleOutput) SetState(v string) *DescribeRuleOutput + func (s DescribeRuleOutput) GoString() string + func (s DescribeRuleOutput) String() string + type DisableRuleInput struct + Name *string + func (s *DisableRuleInput) SetName(v string) *DisableRuleInput + func (s *DisableRuleInput) Validate() error + func (s DisableRuleInput) GoString() string + func (s DisableRuleInput) String() string + type DisableRuleOutput struct + func (s DisableRuleOutput) GoString() string + func (s DisableRuleOutput) String() string + type EcsParameters struct + TaskCount *int64 + TaskDefinitionArn *string + func (s *EcsParameters) SetTaskCount(v int64) *EcsParameters + func (s *EcsParameters) SetTaskDefinitionArn(v string) *EcsParameters + func (s *EcsParameters) Validate() error + func (s EcsParameters) GoString() string + func (s EcsParameters) String() string + type EnableRuleInput struct + Name *string + func (s *EnableRuleInput) SetName(v string) *EnableRuleInput + func (s *EnableRuleInput) Validate() error + func (s EnableRuleInput) GoString() string + func (s EnableRuleInput) String() string + type EnableRuleOutput struct + func (s EnableRuleOutput) GoString() string + func (s EnableRuleOutput) String() string + type InputTransformer struct + InputPathsMap map[string]*string + InputTemplate *string + func (s *InputTransformer) SetInputPathsMap(v map[string]*string) *InputTransformer + func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer + func (s *InputTransformer) Validate() error + func (s InputTransformer) GoString() string + func (s InputTransformer) String() string + type KinesisParameters struct + PartitionKeyPath *string + func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters + func (s *KinesisParameters) Validate() error + func (s KinesisParameters) GoString() string + func (s KinesisParameters) String() string + type ListRuleNamesByTargetInput struct + Limit *int64 + NextToken *string + TargetArn *string + func (s *ListRuleNamesByTargetInput) SetLimit(v int64) *ListRuleNamesByTargetInput + func (s *ListRuleNamesByTargetInput) SetNextToken(v string) *ListRuleNamesByTargetInput + func (s *ListRuleNamesByTargetInput) SetTargetArn(v string) *ListRuleNamesByTargetInput + func (s *ListRuleNamesByTargetInput) Validate() error + func (s ListRuleNamesByTargetInput) GoString() string + func (s ListRuleNamesByTargetInput) String() string + type ListRuleNamesByTargetOutput struct + NextToken *string + RuleNames []*string + func (s *ListRuleNamesByTargetOutput) SetNextToken(v string) *ListRuleNamesByTargetOutput + func (s *ListRuleNamesByTargetOutput) SetRuleNames(v []*string) *ListRuleNamesByTargetOutput + func (s ListRuleNamesByTargetOutput) GoString() string + func (s ListRuleNamesByTargetOutput) String() string + type ListRulesInput struct + Limit *int64 + NamePrefix *string + NextToken *string + func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput + func (s *ListRulesInput) SetNamePrefix(v string) *ListRulesInput + func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput + func (s *ListRulesInput) Validate() error + func (s ListRulesInput) GoString() string + func (s ListRulesInput) String() string + type ListRulesOutput struct + NextToken *string + Rules []*Rule + func (s *ListRulesOutput) SetNextToken(v string) *ListRulesOutput + func (s *ListRulesOutput) SetRules(v []*Rule) *ListRulesOutput + func (s ListRulesOutput) GoString() string + func (s ListRulesOutput) String() string + type ListTargetsByRuleInput struct + Limit *int64 + NextToken *string + Rule *string + func (s *ListTargetsByRuleInput) SetLimit(v int64) *ListTargetsByRuleInput + func (s *ListTargetsByRuleInput) SetNextToken(v string) *ListTargetsByRuleInput + func (s *ListTargetsByRuleInput) SetRule(v string) *ListTargetsByRuleInput + func (s *ListTargetsByRuleInput) Validate() error + func (s ListTargetsByRuleInput) GoString() string + func (s ListTargetsByRuleInput) String() string + type ListTargetsByRuleOutput struct + NextToken *string + Targets []*Target + func (s *ListTargetsByRuleOutput) SetNextToken(v string) *ListTargetsByRuleOutput + func (s *ListTargetsByRuleOutput) SetTargets(v []*Target) *ListTargetsByRuleOutput + func (s ListTargetsByRuleOutput) GoString() string + func (s ListTargetsByRuleOutput) String() string + type PutEventsInput struct + Entries []*PutEventsRequestEntry + func (s *PutEventsInput) SetEntries(v []*PutEventsRequestEntry) *PutEventsInput + func (s *PutEventsInput) Validate() error + func (s PutEventsInput) GoString() string + func (s PutEventsInput) String() string + type PutEventsOutput struct + Entries []*PutEventsResultEntry + FailedEntryCount *int64 + func (s *PutEventsOutput) SetEntries(v []*PutEventsResultEntry) *PutEventsOutput + func (s *PutEventsOutput) SetFailedEntryCount(v int64) *PutEventsOutput + func (s PutEventsOutput) GoString() string + func (s PutEventsOutput) String() string + type PutEventsRequestEntry struct + Detail *string + DetailType *string + Resources []*string + Source *string + Time *time.Time + func (s *PutEventsRequestEntry) SetDetail(v string) *PutEventsRequestEntry + func (s *PutEventsRequestEntry) SetDetailType(v string) *PutEventsRequestEntry + func (s *PutEventsRequestEntry) SetResources(v []*string) *PutEventsRequestEntry + func (s *PutEventsRequestEntry) SetSource(v string) *PutEventsRequestEntry + func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry + func (s PutEventsRequestEntry) GoString() string + func (s PutEventsRequestEntry) String() string + type PutEventsResultEntry struct + ErrorCode *string + ErrorMessage *string + EventId *string + func (s *PutEventsResultEntry) SetErrorCode(v string) *PutEventsResultEntry + func (s *PutEventsResultEntry) SetErrorMessage(v string) *PutEventsResultEntry + func (s *PutEventsResultEntry) SetEventId(v string) *PutEventsResultEntry + func (s PutEventsResultEntry) GoString() string + func (s PutEventsResultEntry) String() string + type PutPermissionInput struct + Action *string + Principal *string + StatementId *string + func (s *PutPermissionInput) SetAction(v string) *PutPermissionInput + func (s *PutPermissionInput) SetPrincipal(v string) *PutPermissionInput + func (s *PutPermissionInput) SetStatementId(v string) *PutPermissionInput + func (s *PutPermissionInput) Validate() error + func (s PutPermissionInput) GoString() string + func (s PutPermissionInput) String() string + type PutPermissionOutput struct + func (s PutPermissionOutput) GoString() string + func (s PutPermissionOutput) String() string + type PutRuleInput struct + Description *string + EventPattern *string + Name *string + RoleArn *string + ScheduleExpression *string + State *string + func (s *PutRuleInput) SetDescription(v string) *PutRuleInput + func (s *PutRuleInput) SetEventPattern(v string) *PutRuleInput + func (s *PutRuleInput) SetName(v string) *PutRuleInput + func (s *PutRuleInput) SetRoleArn(v string) *PutRuleInput + func (s *PutRuleInput) SetScheduleExpression(v string) *PutRuleInput + func (s *PutRuleInput) SetState(v string) *PutRuleInput + func (s *PutRuleInput) Validate() error + func (s PutRuleInput) GoString() string + func (s PutRuleInput) String() string + type PutRuleOutput struct + RuleArn *string + func (s *PutRuleOutput) SetRuleArn(v string) *PutRuleOutput + func (s PutRuleOutput) GoString() string + func (s PutRuleOutput) String() string + type PutTargetsInput struct + Rule *string + Targets []*Target + func (s *PutTargetsInput) SetRule(v string) *PutTargetsInput + func (s *PutTargetsInput) SetTargets(v []*Target) *PutTargetsInput + func (s *PutTargetsInput) Validate() error + func (s PutTargetsInput) GoString() string + func (s PutTargetsInput) String() string + type PutTargetsOutput struct + FailedEntries []*PutTargetsResultEntry + FailedEntryCount *int64 + func (s *PutTargetsOutput) SetFailedEntries(v []*PutTargetsResultEntry) *PutTargetsOutput + func (s *PutTargetsOutput) SetFailedEntryCount(v int64) *PutTargetsOutput + func (s PutTargetsOutput) GoString() string + func (s PutTargetsOutput) String() string + type PutTargetsResultEntry struct + ErrorCode *string + ErrorMessage *string + TargetId *string + func (s *PutTargetsResultEntry) SetErrorCode(v string) *PutTargetsResultEntry + func (s *PutTargetsResultEntry) SetErrorMessage(v string) *PutTargetsResultEntry + func (s *PutTargetsResultEntry) SetTargetId(v string) *PutTargetsResultEntry + func (s PutTargetsResultEntry) GoString() string + func (s PutTargetsResultEntry) String() string + type RemovePermissionInput struct + StatementId *string + func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput + func (s *RemovePermissionInput) Validate() error + func (s RemovePermissionInput) GoString() string + func (s RemovePermissionInput) String() string + type RemovePermissionOutput struct + func (s RemovePermissionOutput) GoString() string + func (s RemovePermissionOutput) String() string + type RemoveTargetsInput struct + Ids []*string + Rule *string + func (s *RemoveTargetsInput) SetIds(v []*string) *RemoveTargetsInput + func (s *RemoveTargetsInput) SetRule(v string) *RemoveTargetsInput + func (s *RemoveTargetsInput) Validate() error + func (s RemoveTargetsInput) GoString() string + func (s RemoveTargetsInput) String() string + type RemoveTargetsOutput struct + FailedEntries []*RemoveTargetsResultEntry + FailedEntryCount *int64 + func (s *RemoveTargetsOutput) SetFailedEntries(v []*RemoveTargetsResultEntry) *RemoveTargetsOutput + func (s *RemoveTargetsOutput) SetFailedEntryCount(v int64) *RemoveTargetsOutput + func (s RemoveTargetsOutput) GoString() string + func (s RemoveTargetsOutput) String() string + type RemoveTargetsResultEntry struct + ErrorCode *string + ErrorMessage *string + TargetId *string + func (s *RemoveTargetsResultEntry) SetErrorCode(v string) *RemoveTargetsResultEntry + func (s *RemoveTargetsResultEntry) SetErrorMessage(v string) *RemoveTargetsResultEntry + func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEntry + func (s RemoveTargetsResultEntry) GoString() string + func (s RemoveTargetsResultEntry) String() string + type Rule struct + Arn *string + Description *string + EventPattern *string + Name *string + RoleArn *string + ScheduleExpression *string + State *string + func (s *Rule) SetArn(v string) *Rule + func (s *Rule) SetDescription(v string) *Rule + func (s *Rule) SetEventPattern(v string) *Rule + func (s *Rule) SetName(v string) *Rule + func (s *Rule) SetRoleArn(v string) *Rule + func (s *Rule) SetScheduleExpression(v string) *Rule + func (s *Rule) SetState(v string) *Rule + func (s Rule) GoString() string + func (s Rule) String() string + type RunCommandParameters struct + RunCommandTargets []*RunCommandTarget + func (s *RunCommandParameters) SetRunCommandTargets(v []*RunCommandTarget) *RunCommandParameters + func (s *RunCommandParameters) Validate() error + func (s RunCommandParameters) GoString() string + func (s RunCommandParameters) String() string + type RunCommandTarget struct + Key *string + Values []*string + func (s *RunCommandTarget) SetKey(v string) *RunCommandTarget + func (s *RunCommandTarget) SetValues(v []*string) *RunCommandTarget + func (s *RunCommandTarget) Validate() error + func (s RunCommandTarget) GoString() string + func (s RunCommandTarget) String() string + type Target struct + Arn *string + EcsParameters *EcsParameters + Id *string + Input *string + InputPath *string + InputTransformer *InputTransformer + KinesisParameters *KinesisParameters + RoleArn *string + RunCommandParameters *RunCommandParameters + func (s *Target) SetArn(v string) *Target + func (s *Target) SetEcsParameters(v *EcsParameters) *Target + func (s *Target) SetId(v string) *Target + func (s *Target) SetInput(v string) *Target + func (s *Target) SetInputPath(v string) *Target + func (s *Target) SetInputTransformer(v *InputTransformer) *Target + func (s *Target) SetKinesisParameters(v *KinesisParameters) *Target + func (s *Target) SetRoleArn(v string) *Target + func (s *Target) SetRunCommandParameters(v *RunCommandParameters) *Target + func (s *Target) Validate() error + func (s Target) GoString() string + func (s Target) String() string + type TestEventPatternInput struct + Event *string + EventPattern *string + func (s *TestEventPatternInput) SetEvent(v string) *TestEventPatternInput + func (s *TestEventPatternInput) SetEventPattern(v string) *TestEventPatternInput + func (s *TestEventPatternInput) Validate() error + func (s TestEventPatternInput) GoString() string + func (s TestEventPatternInput) String() string + type TestEventPatternOutput struct + Result *bool + func (s *TestEventPatternOutput) SetResult(v bool) *TestEventPatternOutput + func (s TestEventPatternOutput) GoString() string + func (s TestEventPatternOutput) String() string