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>)


35333
35334
35335
35336
35337
35338
35339
35340
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35333

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)


35333
35334
35335
35336
35337
35338
35339
35340
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35333

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>)


35333
35334
35335
35336
35337
35338
35339
35340
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35333

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)


35333
35334
35335
35336
35337
35338
35339
35340
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35333

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