AWS SDK Version 3 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.

Container for the parameters to the ListCommands operation. Lists the commands requested by users of the Amazon Web Services account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementRequest
      Amazon.SimpleSystemsManagement.Model.ListCommandsRequest

Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public class ListCommandsRequest : AmazonSimpleSystemsManagementRequest
         IAmazonWebServiceRequest

The ListCommandsRequest type exposes the following members

Constructors

NameDescription
Public Method ListCommandsRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method ListCommandsRequest(string)

Instantiates ListCommandsRequest with the parameterized properties

Properties

NameTypeDescription
Public Property CommandId System.String

Gets and sets the property CommandId.

(Optional) If provided, lists only the specified command.

Public Property Filters System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.CommandFilter>

Gets and sets the property Filters.

(Optional) One or more filters. Use a filter to return a more specific list of results.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

(Optional) Lists commands issued against this managed node ID.

You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Public Property NextToken System.String

Gets and sets the property NextToken.

(Optional) The token for the next set of items to return. (You received this token from a previous call.)

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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