You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAF::Types::UpdateIPSetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb

Overview

Note:

When making an API call, you may pass UpdateIPSetRequest data as a 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

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


4276
4277
4278
4279
4280
4281
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4276

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#ip_set_idString

The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.

Returns:

  • (String)


4276
4277
4278
4279
4280
4281
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4276

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#updatesArray<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 Action and IPSetDescriptor

  • IPSetDescriptor: Contains Type and Value

Returns:



4276
4277
4278
4279
4280
4281
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4276

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end