Skip to content

List Targets

vpclattice_list_targets R Documentation

Lists the targets for the target group

Description

Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.

Usage

vpclattice_list_targets(maxResults, nextToken, targetGroupIdentifier,
  targets)

Arguments

maxResults

The maximum number of results to return.

nextToken

A pagination token for the next page of results.

targetGroupIdentifier

[required] The ID or Amazon Resource Name (ARN) of the target group.

targets

The targets.

Value

A list with the following syntax:

list(
  items = list(
    list(
      id = "string",
      port = 123,
      reasonCode = "string",
      status = "DRAINING"|"UNAVAILABLE"|"HEALTHY"|"UNHEALTHY"|"INITIAL"|"UNUSED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_targets(
  maxResults = 123,
  nextToken = "string",
  targetGroupIdentifier = "string",
  targets = list(
    list(
      id = "string",
      port = 123
    )
  )
)