Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a Traffic Mirror filter.
A Traffic Mirror filter is a set of rules that defines the traffic to mirror.
By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices to mirror supported network services.
Synopsis
- data CreateTrafficMirrorFilter = CreateTrafficMirrorFilter' {}
- newCreateTrafficMirrorFilter :: CreateTrafficMirrorFilter
- createTrafficMirrorFilter_clientToken :: Lens' CreateTrafficMirrorFilter (Maybe Text)
- createTrafficMirrorFilter_description :: Lens' CreateTrafficMirrorFilter (Maybe Text)
- createTrafficMirrorFilter_dryRun :: Lens' CreateTrafficMirrorFilter (Maybe Bool)
- createTrafficMirrorFilter_tagSpecifications :: Lens' CreateTrafficMirrorFilter (Maybe [TagSpecification])
- data CreateTrafficMirrorFilterResponse = CreateTrafficMirrorFilterResponse' {}
- newCreateTrafficMirrorFilterResponse :: Int -> CreateTrafficMirrorFilterResponse
- createTrafficMirrorFilterResponse_clientToken :: Lens' CreateTrafficMirrorFilterResponse (Maybe Text)
- createTrafficMirrorFilterResponse_trafficMirrorFilter :: Lens' CreateTrafficMirrorFilterResponse (Maybe TrafficMirrorFilter)
- createTrafficMirrorFilterResponse_httpStatus :: Lens' CreateTrafficMirrorFilterResponse Int
Creating a Request
data CreateTrafficMirrorFilter Source #
See: newCreateTrafficMirrorFilter
smart constructor.
CreateTrafficMirrorFilter' | |
|
Instances
newCreateTrafficMirrorFilter :: CreateTrafficMirrorFilter Source #
Create a value of CreateTrafficMirrorFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateTrafficMirrorFilter
, createTrafficMirrorFilter_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
CreateTrafficMirrorFilter
, createTrafficMirrorFilter_description
- The description of the Traffic Mirror filter.
$sel:dryRun:CreateTrafficMirrorFilter'
, createTrafficMirrorFilter_dryRun
- 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
.
CreateTrafficMirrorFilter
, createTrafficMirrorFilter_tagSpecifications
- The tags to assign to a Traffic Mirror filter.
Request Lenses
createTrafficMirrorFilter_clientToken :: Lens' CreateTrafficMirrorFilter (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
createTrafficMirrorFilter_description :: Lens' CreateTrafficMirrorFilter (Maybe Text) Source #
The description of the Traffic Mirror filter.
createTrafficMirrorFilter_dryRun :: Lens' CreateTrafficMirrorFilter (Maybe Bool) Source #
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
.
createTrafficMirrorFilter_tagSpecifications :: Lens' CreateTrafficMirrorFilter (Maybe [TagSpecification]) Source #
The tags to assign to a Traffic Mirror filter.
Destructuring the Response
data CreateTrafficMirrorFilterResponse Source #
See: newCreateTrafficMirrorFilterResponse
smart constructor.
CreateTrafficMirrorFilterResponse' | |
|
Instances
newCreateTrafficMirrorFilterResponse Source #
Create a value of CreateTrafficMirrorFilterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateTrafficMirrorFilter
, createTrafficMirrorFilterResponse_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
$sel:trafficMirrorFilter:CreateTrafficMirrorFilterResponse'
, createTrafficMirrorFilterResponse_trafficMirrorFilter
- Information about the Traffic Mirror filter.
$sel:httpStatus:CreateTrafficMirrorFilterResponse'
, createTrafficMirrorFilterResponse_httpStatus
- The response's http status code.
Response Lenses
createTrafficMirrorFilterResponse_clientToken :: Lens' CreateTrafficMirrorFilterResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
createTrafficMirrorFilterResponse_trafficMirrorFilter :: Lens' CreateTrafficMirrorFilterResponse (Maybe TrafficMirrorFilter) Source #
Information about the Traffic Mirror filter.
createTrafficMirrorFilterResponse_httpStatus :: Lens' CreateTrafficMirrorFilterResponse Int Source #
The response's http status code.