http://ec2.{region}.amazonaws.com/#Action=ModifyTrafficMirrorFilterRule<p>Modifies the specified Traffic Mirror rule.</p> <p> <code>DestinationCidrBlock</code> and <code>SourceCidrBlock</code> must both be an IPv4 range or an IPv6 range.</p>
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.
<p>The properties that you want to remove from the Traffic Mirror filter rule.</p> <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
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>.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://ec2.{region}.amazonaws.com/#Action=ModifyTrafficMirrorFilterRule' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://ec2.{region}.amazonaws.com/#Action=ModifyTrafficMirrorFilterRule<p>Modifies the specified Traffic Mirror rule.</p> <p> <code>DestinationCidrBlock</code> and <code>SourceCidrBlock</code> must both be an IPv4 range or an IPv6 range.</p>
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.
<p>The properties that you want to remove from the Traffic Mirror filter rule.</p> <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
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>.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://ec2.{region}.amazonaws.com/#Action=ModifyTrafficMirrorFilterRule' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}