Skip to content

List Operation Events

ssmsap_list_operation_events R Documentation

Returns a list of operations events

Description

Returns a list of operations events.

Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters.

Usage

ssmsap_list_operation_events(OperationId, MaxResults, NextToken,
  Filters)

Arguments

OperationId

[required] The ID of the operation.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If you do not specify a value for MaxResults, the request returns 50 items per page by default.

NextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Filters

Optionally specify filters to narrow the returned operation event items.

Valid filter names include status, resourceID, and resourceType. The valid operator for all three filters is Equals.

Value

A list with the following syntax:

list(
  OperationEvents = list(
    list(
      Description = "string",
      Resource = list(
        ResourceArn = "string",
        ResourceType = "string"
      ),
      Status = "IN_PROGRESS"|"COMPLETED"|"FAILED",
      StatusMessage = "string",
      Timestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_operation_events(
  OperationId = "string",
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    list(
      Name = "string",
      Value = "string",
      Operator = "Equals"|"GreaterThanOrEquals"|"LessThanOrEquals"
    )
  )
)