Modifies the specified Traffic Mirror rule.
DestinationCidrBlock and SourceCidrBlock must both be an IPv4 range or an IPv6 range.
Query parameters
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.
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
Response
Success