Learn R Programming

paws.management (version 0.1.10)

ssm_list_commands: Lists the commands requested by users of the AWS account

Description

Lists the commands requested by users of the AWS account.

Usage

ssm_list_commands(CommandId, InstanceId, MaxResults, NextToken, Filters)

Arguments

CommandId

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

InstanceId

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

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.

NextToken

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

Filters

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

Request syntax

svc$list_commands(
  CommandId = "string",
  InstanceId = "string",
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    list(
      key = "InvokedAfter"|"InvokedBefore"|"Status"|"ExecutionStage"|"DocumentName",
      value = "string"
    )
  )
)