waf_delete_ip_set: Permanently deletes an IPSet

Description Usage Arguments Details Request syntax Examples

View source: R/waf_operations.R

Description

Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses.

Usage

1
waf_delete_ip_set(IPSetId, ChangeToken)

Arguments

IPSetId

[required] The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets.

ChangeToken

[required] The value returned by the most recent call to GetChangeToken.

Details

If you just want to remove an IPSet from a Rule, use UpdateRule.

To permanently delete an IPSet from AWS WAF, perform the following steps:

  1. Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet.

  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request.

  3. Submit a DeleteIPSet request.

Request syntax

1
2
3
4
svc$delete_ip_set(
  IPSetId = "string",
  ChangeToken = "string"
)

Examples

1
2
3
4
5
6
# The following example deletes an IP match set  with the ID
# example1ds3t-46da-4fdb-b8d5-abc321j569j5.
svc$delete_ip_set(
  ChangeToken = "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
  IPSetId = "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.