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

Class: Aws::GuardDuty::Types::UpdateIPSetRequest

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

Overview

Note:

When making an API call, you may pass UpdateIPSetRequest data as a hash:

{
  activate: false,
  detector_id: "__string", # required
  ip_set_id: "__string", # required
  location: "Location",
  name: "Name",
}

Update IP Set Request

Instance Attribute Summary collapse

Instance Attribute Details

#activateBoolean

The updated boolean value that specifies whether the IPSet is active or not.

Returns:

  • (Boolean)


2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2504

class UpdateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :ip_set_id,
  :location,
  :name)
  include Aws::Structure
end

#detector_idString

Returns:

  • (String)


2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2504

class UpdateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :ip_set_id,
  :location,
  :name)
  include Aws::Structure
end

#ip_set_idString

Returns:

  • (String)


2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2504

class UpdateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :ip_set_id,
  :location,
  :name)
  include Aws::Structure
end

#locationString

The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).

Returns:

  • (String)


2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2504

class UpdateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :ip_set_id,
  :location,
  :name)
  include Aws::Structure
end

#nameString

The unique ID that specifies the IPSet that you want to update.

Returns:

  • (String)


2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2504

class UpdateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :ip_set_id,
  :location,
  :name)
  include Aws::Structure
end