package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev
# Constants
AcknowledgeMessage is sent both from MGS to SSM Session worker and from session worker to MGS through DataChannel to notify that a message was received.
AgentJobAcknowledgeMessage is sent from MSG to SSM Agent through ControlChannel to acknowledge it has received the AgentJobMessage.
AgentJobMessage is sent from MGS to SSM Agent through ControlChannel and has the contents of a StartCommand, CancelCommand or Association document.
AgentJobReply is sent from SSM Agent to MGS through ControlChannel to update the execution status and output of a StartCommand, CancelCommand or Association document.
AgentJobReplyAck is sent from MGS to SSM Agent through ControlChannel to acknowledge it has received the AgentJobReply.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AgentSessionState is sent from SSM Session worker to MGS through DataChannel to notify MGS that the agent is connected to the data channel when its first connect and sends Terminating before closing the channel.
ChannelClosedMessage is sent from MGS to both control and data channel to notify the SSM Agent that the channel is about to be closed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InputStreamDataMessage is sent from MGS to SSM Session worker through DataChannel and contains the raw input from the customer on the other side of the data channel.
InteractiveShellMessage is sent from MGS to SSM Agent through ControlChannel and has the contents of a StartSession or TerminateSession document.
Used to perform KMSEncryption related actions.
No description provided by the author
OutputStreamDataMessage is sent from SSM Session worker to MGS through DataChannel and contains the raw data to be sent to the customer.
No description provided by the author
PausePublicationMessage is sent from MGS to SSM Session worker through DataChannel to tell the session worker to stop sending messages.
Can be used to perform session type specific actions.
No description provided by the author
StartPublicationMessage is sent from SSM Session worker to MGS through DataChannel to tell the session worker to resume sending messages.
No description provided by the author
No description provided by the author
TaskAcknowledgeMessage is sent from MSG to SSM Agent through ControlChannel to acknowledge it has received the TaskCompleteMessage.
TaskCompleteMessage is sent from SSM Agent to MGS through ControlChannel at the end of a session document execution.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrHandlerNotReady message indicates that the session plugin's incoming message handler is not ready.
# Structs
AcknowledgeContent is used to inform the sender of an acknowledge message that the message has been received.
AcknowledgeTaskContent parallels the structure of acknowledgement to task message.
AgentJobAck is the acknowledge message sent back to MGS for AgentJobs.
AgentJobPayload parallels the structure of a send-command or cancel-command job.
AgentJobReplyAckContent is the acknowledge message sent back to MGS for AgentJobs.
AgentJobReplyContent parallels the structure of a send-command or cancel-command job.
AgentMessage represents a message for agent to send/receive.
AgentSessionState is used to inform the sender of agent's session state.
AgentTaskCompletePayload is sent by the agent to inform the task is complete and what the overall result was.
AgentTaskPayload parallels the structure of a send command MGS message payload.
ChannelClosed is used to inform the agent of a channel to be closed.
This is sent by the agent as a challenge to the client.
This is received by the agent from the client.
Handshake Complete indicates to client that handshake is complete.
Handshake payload sent by the agent to the session manager plugin.
Handshake Response sent by the plugin in response to the handshake request.
This is sent by the agent to initialize KMS encryption.
This is received by the agent to set up KMS encryption.
MGSPayload parallels the structure of a start-session MGS message payload.
PayloadMessageBase represent the base struct for all messages that include a payload.
The result of processing the action by the plugin.
An action requested by the agent to the plugin.
SessionPluginResultOutput represents PluginResult output sent to MGS as part of AgentTaskComplete message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaskMessageBase represents basic structure for task messages.
# Type aliases
No description provided by the author
ActionType used in Handshake to determine action requested by the agent.
No description provided by the author
No description provided by the author
No description provided by the author