Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvServices = "SERVICES" EnvAwsRegion = "AWS_REGION" // reserved env EnvCustomGroups = "CUSTOM_GROUPS" EnvSecretEnabled = "SECRET_ENABLED" )
Variables ¶
This section is empty.
Functions ¶
func GetSession ¶
Types ¶
type ActionType ¶
type ActionType string
const ( AddSF ActionType = "add" UpdateSF ActionType = "update" DeleteSF ActionType = "delete" )
type Detail ¶
type Detail struct { EventName string `json:"eventName"` RequestParameters RequestParameters `json:"requestParameters"` }
type RequestParameters ¶
type RequestParameters struct { Action ActionType NewServices string `json:"newServices,omitempty"` OldServices string `json:"oldServices,omitempty"` NewCustom string `json:"newCustom,omitempty"` OldCustom string `json:"oldCustom,omitempty"` NewIsSecret string `json:"newIsSecret,omitempty"` OldIsSecret string `json:"oldIsSecret,omitempty"` }
func ConvertToRequestParameters ¶
func ConvertToRequestParameters(obj interface{}) (RequestParameters, error)
type SubscriptionFilterEvent ¶
type SubscriptionFilterEvent struct {
Detail Detail `json:"detail"`
}
func NewSubscriptionFilterEvent ¶
func NewSubscriptionFilterEvent(params RequestParameters) SubscriptionFilterEvent
Click to show internal directories.
Click to hide internal directories.