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 3.5
 
Lists the commands requested by users of the AWS account.

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

Syntax

C#
public abstract ListCommandsResponse ListCommands()
Return Value
Type: Amazon.SimpleSystemsManagement.Model.ListCommandsResponse
The response from the ListCommands service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
InvalidCommandIdException
InvalidFilterKeyException The specified key is not valid.
InvalidInstanceIdException The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
InvalidNextTokenException The specified token is not valid.

Version Information

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