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 |
Information about one or more Traffic Mirror targets.
This operation returns paginated results.
Synopsis
- data DescribeTrafficMirrorTargets = DescribeTrafficMirrorTargets' {}
- newDescribeTrafficMirrorTargets :: DescribeTrafficMirrorTargets
- describeTrafficMirrorTargets_dryRun :: Lens' DescribeTrafficMirrorTargets (Maybe Bool)
- describeTrafficMirrorTargets_filters :: Lens' DescribeTrafficMirrorTargets (Maybe [Filter])
- describeTrafficMirrorTargets_maxResults :: Lens' DescribeTrafficMirrorTargets (Maybe Natural)
- describeTrafficMirrorTargets_nextToken :: Lens' DescribeTrafficMirrorTargets (Maybe Text)
- describeTrafficMirrorTargets_trafficMirrorTargetIds :: Lens' DescribeTrafficMirrorTargets (Maybe [Text])
- data DescribeTrafficMirrorTargetsResponse = DescribeTrafficMirrorTargetsResponse' {}
- newDescribeTrafficMirrorTargetsResponse :: Int -> DescribeTrafficMirrorTargetsResponse
- describeTrafficMirrorTargetsResponse_nextToken :: Lens' DescribeTrafficMirrorTargetsResponse (Maybe Text)
- describeTrafficMirrorTargetsResponse_trafficMirrorTargets :: Lens' DescribeTrafficMirrorTargetsResponse (Maybe [TrafficMirrorTarget])
- describeTrafficMirrorTargetsResponse_httpStatus :: Lens' DescribeTrafficMirrorTargetsResponse Int
Creating a Request
data DescribeTrafficMirrorTargets Source #
See: newDescribeTrafficMirrorTargets
smart constructor.
DescribeTrafficMirrorTargets' | |
|
Instances
newDescribeTrafficMirrorTargets :: DescribeTrafficMirrorTargets Source #
Create a value of DescribeTrafficMirrorTargets
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:
$sel:dryRun:DescribeTrafficMirrorTargets'
, describeTrafficMirrorTargets_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
.
$sel:filters:DescribeTrafficMirrorTargets'
, describeTrafficMirrorTargets_filters
- One or more filters. The possible values are:
description
: The Traffic Mirror target description.network-interface-id
: The ID of the Traffic Mirror session network interface.network-load-balancer-arn
: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.owner-id
: The ID of the account that owns the Traffic Mirror session.traffic-mirror-target-id
: The ID of the Traffic Mirror target.
$sel:maxResults:DescribeTrafficMirrorTargets'
, describeTrafficMirrorTargets_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
DescribeTrafficMirrorTargets
, describeTrafficMirrorTargets_nextToken
- The token for the next page of results.
$sel:trafficMirrorTargetIds:DescribeTrafficMirrorTargets'
, describeTrafficMirrorTargets_trafficMirrorTargetIds
- The ID of the Traffic Mirror targets.
Request Lenses
describeTrafficMirrorTargets_dryRun :: Lens' DescribeTrafficMirrorTargets (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
.
describeTrafficMirrorTargets_filters :: Lens' DescribeTrafficMirrorTargets (Maybe [Filter]) Source #
One or more filters. The possible values are:
description
: The Traffic Mirror target description.network-interface-id
: The ID of the Traffic Mirror session network interface.network-load-balancer-arn
: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.owner-id
: The ID of the account that owns the Traffic Mirror session.traffic-mirror-target-id
: The ID of the Traffic Mirror target.
describeTrafficMirrorTargets_maxResults :: Lens' DescribeTrafficMirrorTargets (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
describeTrafficMirrorTargets_nextToken :: Lens' DescribeTrafficMirrorTargets (Maybe Text) Source #
The token for the next page of results.
describeTrafficMirrorTargets_trafficMirrorTargetIds :: Lens' DescribeTrafficMirrorTargets (Maybe [Text]) Source #
The ID of the Traffic Mirror targets.
Destructuring the Response
data DescribeTrafficMirrorTargetsResponse Source #
See: newDescribeTrafficMirrorTargetsResponse
smart constructor.
DescribeTrafficMirrorTargetsResponse' | |
|
Instances
newDescribeTrafficMirrorTargetsResponse Source #
Create a value of DescribeTrafficMirrorTargetsResponse
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:
DescribeTrafficMirrorTargets
, describeTrafficMirrorTargetsResponse_nextToken
- The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
$sel:trafficMirrorTargets:DescribeTrafficMirrorTargetsResponse'
, describeTrafficMirrorTargetsResponse_trafficMirrorTargets
- Information about one or more Traffic Mirror targets.
$sel:httpStatus:DescribeTrafficMirrorTargetsResponse'
, describeTrafficMirrorTargetsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTrafficMirrorTargetsResponse_nextToken :: Lens' DescribeTrafficMirrorTargetsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
describeTrafficMirrorTargetsResponse_trafficMirrorTargets :: Lens' DescribeTrafficMirrorTargetsResponse (Maybe [TrafficMirrorTarget]) Source #
Information about one or more Traffic Mirror targets.
describeTrafficMirrorTargetsResponse_httpStatus :: Lens' DescribeTrafficMirrorTargetsResponse Int Source #
The response's http status code.