Struct aws_sdk_ec2::input::ModifyTrafficMirrorFilterRuleInput [−][src]
#[non_exhaustive]pub struct ModifyTrafficMirrorFilterRuleInput {
pub traffic_mirror_filter_rule_id: Option<String>,
pub traffic_direction: Option<TrafficDirection>,
pub rule_number: Option<i32>,
pub rule_action: Option<TrafficMirrorRuleAction>,
pub destination_port_range: Option<TrafficMirrorPortRangeRequest>,
pub source_port_range: Option<TrafficMirrorPortRangeRequest>,
pub protocol: Option<i32>,
pub destination_cidr_block: Option<String>,
pub source_cidr_block: Option<String>,
pub description: Option<String>,
pub remove_fields: Option<Vec<TrafficMirrorFilterRuleField>>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.traffic_mirror_filter_rule_id: Option<String>
The ID of the Traffic Mirror rule.
traffic_direction: Option<TrafficDirection>
The type of traffic to assign to the rule.
rule_number: Option<i32>
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
rule_action: Option<TrafficMirrorRuleAction>
The action to assign to the rule.
destination_port_range: Option<TrafficMirrorPortRangeRequest>
The destination ports that are associated with the Traffic Mirror rule.
source_port_range: Option<TrafficMirrorPortRangeRequest>
The port range to assign to the Traffic Mirror rule.
protocol: Option<i32>
The protocol, for example TCP, to assign to the Traffic Mirror rule.
destination_cidr_block: Option<String>
The destination CIDR block to assign to the Traffic Mirror rule.
source_cidr_block: Option<String>
The source CIDR block to assign to the Traffic Mirror rule.
description: Option<String>
The description to assign to the Traffic Mirror rule.
remove_fields: Option<Vec<TrafficMirrorFilterRuleField>>
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
dry_run: Option<bool>
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
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyTrafficMirrorFilterRule
>
Creates a new builder-style object to manufacture ModifyTrafficMirrorFilterRuleInput
The ID of the Traffic Mirror rule.
The type of traffic to assign to the rule.
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
The action to assign to the rule.
The destination ports that are associated with the Traffic Mirror rule.
The port range to assign to the Traffic Mirror rule.
The protocol, for example TCP, to assign to the Traffic Mirror rule.
The destination CIDR block to assign to the Traffic Mirror rule.
The source CIDR block to assign to the Traffic Mirror rule.
The description to assign to the Traffic Mirror rule.
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ModifyTrafficMirrorFilterRuleInput
impl Sync for ModifyTrafficMirrorFilterRuleInput
impl Unpin for ModifyTrafficMirrorFilterRuleInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more