Class: Aws::EC2::Types::ModifyTrafficMirrorFilterNetworkServicesRequest

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

Overview

Note:

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

{
  traffic_mirror_filter_id: "TrafficMirrorFilterId", # required
  add_network_services: ["amazon-dns"], # accepts amazon-dns
  remove_network_services: ["amazon-dns"], # accepts amazon-dns
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_network_servicesArray<String>

The network service, for example Amazon DNS, that you want to mirror.

Returns:

  • (Array<String>)


41498
41499
41500
41501
41502
41503
41504
41505
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41498

class ModifyTrafficMirrorFilterNetworkServicesRequest < Struct.new(
  :traffic_mirror_filter_id,
  :add_network_services,
  :remove_network_services,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


41498
41499
41500
41501
41502
41503
41504
41505
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41498

class ModifyTrafficMirrorFilterNetworkServicesRequest < Struct.new(
  :traffic_mirror_filter_id,
  :add_network_services,
  :remove_network_services,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#remove_network_servicesArray<String>

The network service, for example Amazon DNS, that you no longer want to mirror.

Returns:

  • (Array<String>)


41498
41499
41500
41501
41502
41503
41504
41505
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41498

class ModifyTrafficMirrorFilterNetworkServicesRequest < Struct.new(
  :traffic_mirror_filter_id,
  :add_network_services,
  :remove_network_services,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#traffic_mirror_filter_idString

The ID of the Traffic Mirror filter.

Returns:

  • (String)


41498
41499
41500
41501
41502
41503
41504
41505
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41498

class ModifyTrafficMirrorFilterNetworkServicesRequest < Struct.new(
  :traffic_mirror_filter_id,
  :add_network_services,
  :remove_network_services,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end