You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::ListCommandsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListCommandsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  command_id: "CommandId",
  instance_id: "InstanceId",
  max_results: 1,
  next_token: "NextToken",
  filters: [
    {
      key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
      value: "CommandFilterValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#command_idString

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

Returns:

  • (String)

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

#filtersArray<Types::CommandFilter>

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

Returns:

#instance_idString

(Optional) Lists commands issued against this instance ID.

You can\'t specify an instance ID in the same command that you specify Status = Pending. This is because the command has not reached the instance yet.

Returns:

  • (String)

    (Optional) Lists commands issued against this instance ID.

#max_resultsInteger

(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.

Returns:

  • (Integer)

    (Optional) The maximum number of items to return for this call.

#next_tokenString

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

Returns:

  • (String)

    (Optional) The token for the next set of items to return.