You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAF::Types::UpdateIPSetRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::WAF::Types::UpdateIPSetRequest
 
- Defined in:
- (unknown)
Overview
When passing UpdateIPSetRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
  ip_set_id: "ResourceId", # required
  change_token: "ChangeToken", # required
  updates: [ # required
    {
      action: "INSERT", # required, accepts INSERT, DELETE
      ip_set_descriptor: { # required
        type: "IPV4", # required, accepts IPV4, IPV6
        value: "IPSetDescriptorValue", # required
      },
    },
  ],
}
Instance Attribute Summary collapse
- 
  
    
      #change_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value returned by the most recent call to GetChangeToken. 
- 
  
    
      #ip_set_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IPSetIdof the IPSet that you want to update.
- 
  
    
      #updates  ⇒ Array<Types::IPSetUpdate> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An array of IPSetUpdateobjects that you want to insert into or delete from an IPSet.
Instance Attribute Details
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
#ip_set_id ⇒ String
The IPSetId of the IPSet that you want to update. IPSetId is
returned by CreateIPSet and by ListIPSets.
#updates ⇒ Array<Types::IPSetUpdate>
An array of IPSetUpdate objects that you want to insert into or delete
from an IPSet. For more information, see the applicable data
types:
- IPSetUpdate: Contains - Actionand- IPSetDescriptor
- IPSetDescriptor: Contains - Typeand- Value
You can insert a maximum of 1000 addresses in a single request.