Skip to content

List the listeners for an accelerator

Description

List the listeners for an accelerator.

Usage

globalaccelerator_list_listeners(AcceleratorArn, MaxResults, NextToken)

Arguments

  • AcceleratorArn

    [required] The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.

  • MaxResults

    The number of listener objects that you want to return with this call. The default value is 10.

  • NextToken

    The token for the next set of results. You receive this token from a previous call.

Value

A list with the following syntax:

list(
  Listeners = list(
    list(
      ListenerArn = "string",
      PortRanges = list(
        list(
          FromPort = 123,
          ToPort = 123
        )
      ),
      Protocol = "TCP"|"UDP",
      ClientAffinity = "NONE"|"SOURCE_IP"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_listeners(
  AcceleratorArn = "string",
  MaxResults = 123,
  NextToken = "string"
)