TriggerDeployerAPI defines the interface for S3 trigger operations
| 18 | |
| 19 | // TriggerDeployerAPI defines the interface for S3 trigger operations |
| 20 | type TriggerDeployerAPI interface { |
| 21 | ConfigureS3Triggers(ctx context.Context, bucketName, functionArn string) error |
| 22 | RemoveS3Triggers(ctx context.Context, bucketName, functionArn string) error |
| 23 | ValidateTriggerConfiguration(ctx context.Context, bucketName, functionArn string) error |
| 24 | GetBucketNotifications(ctx context.Context, bucketName string) (*s3.NotificationConfiguration, error) |
| 25 | } |
| 26 | |
| 27 | // TriggerDeployer handles S3 trigger configuration |
| 28 | type TriggerDeployer struct { |
nothing calls this directly
no outgoing calls
no test coverage detected