Learn R Programming

paws.compute (version 0.1.12)

ec2_modify_managed_prefix_list: Modifies the specified managed prefix list

Description

Modifies the specified managed prefix list.

Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.

If you specify a current version number that does not match the true current version number, the request fails.

Usage

ec2_modify_managed_prefix_list(DryRun, PrefixListId, CurrentVersion,
  PrefixListName, AddEntries, RemoveEntries)

Value

A list with the following syntax:

list(
  PrefixList = list(
    PrefixListId = "string",
    AddressFamily = "string",
    State = "create-in-progress"|"create-complete"|"create-failed"|"modify-in-progress"|"modify-complete"|"modify-failed"|"restore-in-progress"|"restore-complete"|"restore-failed"|"delete-in-progress"|"delete-complete"|"delete-failed",
    StateMessage = "string",
    PrefixListArn = "string",
    PrefixListName = "string",
    MaxEntries = 123,
    Version = 123,
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    OwnerId = "string"
  )
)

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.

PrefixListId

[required] The ID of the prefix list.

CurrentVersion

The current version of the prefix list.

PrefixListName

A name for the prefix list.

AddEntries

One or more entries to add to the prefix list.

RemoveEntries

One or more entries to remove from the prefix list.

Request syntax

svc$modify_managed_prefix_list(
  DryRun = TRUE|FALSE,
  PrefixListId = "string",
  CurrentVersion = 123,
  PrefixListName = "string",
  AddEntries = list(
    list(
      Cidr = "string",
      Description = "string"
    )
  ),
  RemoveEntries = list(
    list(
      Cidr = "string"
    )
  )
)