Skip to content

List Related Items

ssmincidents_list_related_items R Documentation

Description

List all related items for an incident record.

Usage

ssmincidents_list_related_items(incidentRecordArn, maxResults,
  nextToken)

Arguments

incidentRecordArn

[required] The Amazon Resource Name (ARN) of the incident record containing the listed related items.

maxResults

The maximum number of related items per page.

nextToken

The pagination 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",
  relatedItems = list(
    list(
      generatedId = "string",
      identifier = list(
        type = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|"AUTOMATION"|"INVOLVED_RESOURCE"|"TASK",
        value = list(
          arn = "string",
          metricDefinition = "string",
          pagerDutyIncidentDetail = list(
            autoResolve = TRUE|FALSE,
            id = "string",
            secretId = "string"
          ),
          url = "string"
        )
      ),
      title = "string"
    )
  )
)

Request syntax

svc$list_related_items(
  incidentRecordArn = "string",
  maxResults = 123,
  nextToken = "string"
)