Class: Aws::WAFRegional::Types::UpdateIPSetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/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
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


6382
6383
6384
6385
6386
6387
6388
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 6382

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  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)


6382
6383
6384
6385
6386
6387
6388
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 6382

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  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

You can insert a maximum of 1000 addresses in a single request.

Returns:



6382
6383
6384
6385
6386
6387
6388
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 6382

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