Documentation ¶
Overview ¶
Package model contains message struct for MDS/SSM messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommandID ¶
Types ¶
type CancelPayload ¶
type CancelPayload struct {
CancelMessageID string `json:"CancelMessageId"`
}
CancelPayload represents the json structure of a cancel command MDS message payload.
type SendCommandPayload ¶
type SendCommandPayload struct { Parameters map[string]interface{} `json:"Parameters"` DocumentContent contracts.DocumentContent `json:"DocumentContent"` CommandID string `json:"CommandId"` DocumentName string `json:"DocumentName"` OutputS3KeyPrefix string `json:"OutputS3KeyPrefix"` OutputS3BucketName string `json:"OutputS3BucketName"` CloudWatchLogGroupName string `json:"CloudWatchLogGroupName"` CloudWatchOutputEnabled string `json:"CloudWatchOutputEnabled"` }
SendCommandPayload parallels the structure of a send command MDS message payload.
type SendReplyPayload ¶
type SendReplyPayload struct { AdditionalInfo contracts.AdditionalInfo `json:"additionalInfo"` DocumentStatus contracts.ResultStatus `json:"documentStatus"` DocumentTraceOutput string `json:"documentTraceOutput"` RuntimeStatus map[string]*contracts.PluginRuntimeStatus `json:"runtimeStatus"` }
SendReplyPayload represents the json structure of a reply sent to MDS.
Click to show internal directories.
Click to hide internal directories.