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.
ec2_modify_managed_prefix_list(DryRun, PrefixListId, CurrentVersion,
PrefixListName, AddEntries, RemoveEntries)
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"
)
)
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
.
[required] The ID of the prefix list.
The current version of the prefix list.
A name for the prefix list.
One or more entries to add to the prefix list.
One or more entries to remove from the prefix list.
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"
)
)
)