Skip to content

List Ops Item Related Items

ssm_list_ops_item_related_items R Documentation

Description

Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager.

Usage

ssm_list_ops_item_related_items(OpsItemId, Filters, MaxResults,
  NextToken)

Arguments

OpsItemId

The ID of the OpsItem for which you want to list all related-item resources.

Filters

One or more OpsItem filters. Use a filter to return a more specific list of results.

MaxResults

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

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

Value

A list with the following syntax:

list(
  NextToken = "string",
  Summaries = list(
    list(
      OpsItemId = "string",
      AssociationId = "string",
      ResourceType = "string",
      AssociationType = "string",
      ResourceUri = "string",
      CreatedBy = list(
        Arn = "string"
      ),
      CreatedTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedBy = list(
        Arn = "string"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$list_ops_item_related_items(
  OpsItemId = "string",
  Filters = list(
    list(
      Key = "ResourceType"|"AssociationId"|"ResourceUri",
      Values = list(
        "string"
      ),
      Operator = "Equal"
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)