Skip to content

Get Listener

vpclattice_get_listener R Documentation

Retrieves information about the specified listener for the specified service

Description

Retrieves information about the specified listener for the specified service.

Usage

vpclattice_get_listener(listenerIdentifier, serviceIdentifier)

Arguments

listenerIdentifier

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

serviceIdentifier

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

Value

A list with the following syntax:

list(
  arn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  defaultAction = list(
    fixedResponse = list(
      statusCode = 123
    ),
    forward = list(
      targetGroups = list(
        list(
          targetGroupIdentifier = "string",
          weight = 123
        )
      )
    )
  ),
  id = "string",
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  name = "string",
  port = 123,
  protocol = "HTTP"|"HTTPS"|"TLS_PASSTHROUGH",
  serviceArn = "string",
  serviceId = "string"
)

Request syntax

svc$get_listener(
  listenerIdentifier = "string",
  serviceIdentifier = "string"
)