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 target for your Traffic Mirror session.
A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.
A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.
To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.
Synopsis
- data CreateTrafficMirrorTarget = CreateTrafficMirrorTarget' {}
- newCreateTrafficMirrorTarget :: CreateTrafficMirrorTarget
- createTrafficMirrorTarget_clientToken :: Lens' CreateTrafficMirrorTarget (Maybe Text)
- createTrafficMirrorTarget_description :: Lens' CreateTrafficMirrorTarget (Maybe Text)
- createTrafficMirrorTarget_dryRun :: Lens' CreateTrafficMirrorTarget (Maybe Bool)
- createTrafficMirrorTarget_gatewayLoadBalancerEndpointId :: Lens' CreateTrafficMirrorTarget (Maybe Text)
- createTrafficMirrorTarget_networkInterfaceId :: Lens' CreateTrafficMirrorTarget (Maybe Text)
- createTrafficMirrorTarget_networkLoadBalancerArn :: Lens' CreateTrafficMirrorTarget (Maybe Text)
- createTrafficMirrorTarget_tagSpecifications :: Lens' CreateTrafficMirrorTarget (Maybe [TagSpecification])
- data CreateTrafficMirrorTargetResponse = CreateTrafficMirrorTargetResponse' {}
- newCreateTrafficMirrorTargetResponse :: Int -> CreateTrafficMirrorTargetResponse
- createTrafficMirrorTargetResponse_clientToken :: Lens' CreateTrafficMirrorTargetResponse (Maybe Text)
- createTrafficMirrorTargetResponse_trafficMirrorTarget :: Lens' CreateTrafficMirrorTargetResponse (Maybe TrafficMirrorTarget)
- createTrafficMirrorTargetResponse_httpStatus :: Lens' CreateTrafficMirrorTargetResponse Int
Creating a Request
data CreateTrafficMirrorTarget Source #
See: newCreateTrafficMirrorTarget
smart constructor.
CreateTrafficMirrorTarget' | |
|
Instances
newCreateTrafficMirrorTarget :: CreateTrafficMirrorTarget Source #
Create a value of CreateTrafficMirrorTarget
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:
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_description
- The description of the Traffic Mirror target.
$sel:dryRun:CreateTrafficMirrorTarget'
, createTrafficMirrorTarget_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
.
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_networkInterfaceId
- The network interface ID that is associated with the target.
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer that is
associated with the target.
CreateTrafficMirrorTarget
, createTrafficMirrorTarget_tagSpecifications
- The tags to assign to the Traffic Mirror target.
Request Lenses
createTrafficMirrorTarget_clientToken :: Lens' CreateTrafficMirrorTarget (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.
createTrafficMirrorTarget_description :: Lens' CreateTrafficMirrorTarget (Maybe Text) Source #
The description of the Traffic Mirror target.
createTrafficMirrorTarget_dryRun :: Lens' CreateTrafficMirrorTarget (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
.
createTrafficMirrorTarget_gatewayLoadBalancerEndpointId :: Lens' CreateTrafficMirrorTarget (Maybe Text) Source #
The ID of the Gateway Load Balancer endpoint.
createTrafficMirrorTarget_networkInterfaceId :: Lens' CreateTrafficMirrorTarget (Maybe Text) Source #
The network interface ID that is associated with the target.
createTrafficMirrorTarget_networkLoadBalancerArn :: Lens' CreateTrafficMirrorTarget (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
createTrafficMirrorTarget_tagSpecifications :: Lens' CreateTrafficMirrorTarget (Maybe [TagSpecification]) Source #
The tags to assign to the Traffic Mirror target.
Destructuring the Response
data CreateTrafficMirrorTargetResponse Source #
See: newCreateTrafficMirrorTargetResponse
smart constructor.
CreateTrafficMirrorTargetResponse' | |
|
Instances
newCreateTrafficMirrorTargetResponse Source #
Create a value of CreateTrafficMirrorTargetResponse
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:
CreateTrafficMirrorTarget
, createTrafficMirrorTargetResponse_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
$sel:trafficMirrorTarget:CreateTrafficMirrorTargetResponse'
, createTrafficMirrorTargetResponse_trafficMirrorTarget
- Information about the Traffic Mirror target.
$sel:httpStatus:CreateTrafficMirrorTargetResponse'
, createTrafficMirrorTargetResponse_httpStatus
- The response's http status code.
Response Lenses
createTrafficMirrorTargetResponse_clientToken :: Lens' CreateTrafficMirrorTargetResponse (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.
createTrafficMirrorTargetResponse_trafficMirrorTarget :: Lens' CreateTrafficMirrorTargetResponse (Maybe TrafficMirrorTarget) Source #
Information about the Traffic Mirror target.
createTrafficMirrorTargetResponse_httpStatus :: Lens' CreateTrafficMirrorTargetResponse Int Source #
The response's http status code.