POST /#Action=ModifyTrafficMirrorFilterRule
Modifies the specified Traffic Mirror rule.
DestinationCidrBlock
and SourceCidrBlock
must both be an IPv4 range or an IPv6 range.
Servers
- https://ec2.{region}.amazonaws.com
- https://ec2.amazonaws.com
- https://ec2.{region}.amazonaws.com.cn
Request headers
Name | Type | Required | Description |
---|---|---|---|
X-Amz-Content-Sha256 |
String | No | |
X-Amz-Credential |
String | No | |
Content-Type |
String | Yes |
The media type of the request body.
Default value: "text/xml" |
X-Amz-Date |
String | No | |
X-Amz-Algorithm |
String | No | |
X-Amz-SignedHeaders |
String | No | |
X-Amz-Security-Token |
String | No | |
X-Amz-Signature |
String | No |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
Version |
String | Yes |
Possible values:
|
Action |
String | Yes |
Possible values:
|
Request body fields
Name | Type | Required | Description |
---|---|---|---|
DestinationCidrBlock |
String | No |
The destination CIDR block to assign to the Traffic Mirror rule. |
RuleAction |
String | No |
The action to assign to the rule. Possible values:
|
SourceCidrBlock |
String | No |
The source CIDR block to assign to the Traffic Mirror rule. |
RuleNumber |
Integer | No |
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. |
TrafficDirection |
String | No |
The type of traffic to assign to the rule. Possible values:
|
Protocol |
Integer | No |
The protocol, for example TCP, to assign to the Traffic Mirror rule. |
TrafficMirrorFilterRuleId |
String | Yes |
The ID of the Traffic Mirror rule. |
DryRun |
Boolean | No |
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 |
Description |
String | No |
The description to assign to the Traffic Mirror rule. |
RemoveFields[] |
Array | No |
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. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.