AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. A command invocation returns status and detail information about a command you executed.

Inheritance Hierarchy

System.Object
  Amazon.SimpleSystemsManagement.Model.CommandInvocation

Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CommandInvocation : Object

The CommandInvocation type exposes the following members

Constructors

NameDescription
Public Method CommandInvocation()

Properties

NameTypeDescription
Public Property CommandId System.String Gets and sets the property CommandId. The command against which this invocation was requested.
Public Property CommandPlugins System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.CommandPlugin> Gets and sets the property CommandPlugins.
Public Property Comment System.String Gets and sets the property Comment. User-specified information about the command, such as a brief description of what the command should do.
Public Property DocumentName System.String Gets and sets the property DocumentName. The document name that was requested for execution.
Public Property InstanceId System.String Gets and sets the property InstanceId. The instance ID in which this invocation was requested.
Public Property RequestedDateTime System.DateTime Gets and sets the property RequestedDateTime. The time and date the request was sent to this instance.
Public Property Status Amazon.SimpleSystemsManagement.CommandInvocationStatus Gets and sets the property Status. Whether or not the invocation succeeded, failed, or is pending.
Public Property TraceOutput System.String Gets and sets the property TraceOutput. Gets the trace output sent by the agent.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5