Skip to content

Describe Prefix Lists

ec2_describe_prefix_lists R Documentation

Describes available Amazon Web Services services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service

Description

Describes available Amazon Web Services services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service.

We recommend that you use describe_managed_prefix_lists instead.

Usage

ec2_describe_prefix_lists(DryRun, Filters, MaxResults, NextToken,
  PrefixListIds)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Filters

One or more filters.

  • prefix-list-id: The ID of a prefix list.

  • prefix-list-name: The name of a prefix list.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token for the next page of results.

PrefixListIds

One or more prefix list IDs.

Value

A list with the following syntax:

list(
  NextToken = "string",
  PrefixLists = list(
    list(
      Cidrs = list(
        "string"
      ),
      PrefixListId = "string",
      PrefixListName = "string"
    )
  )
)

Request syntax

svc$describe_prefix_lists(
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string",
  PrefixListIds = list(
    "string"
  )
)