describe_traffic_mirror_targets
async
¶
describe_traffic_mirror_targets(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
traffic_mirror_target_ids: Optional[TrafficMirrorTargetIdList] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
max_results: Optional[TrafficMirroringMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeTrafficMirrorTargetsResult
Information about one or more Traffic Mirror targets.
Parameters:
-
traffic_mirror_target_ids(Optional[TrafficMirrorTargetIdList], default:None) –The ID of the Traffic Mirror targets.
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
filters(Optional[FilterList], default:None) –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.
-
-
max_results(Optional[TrafficMirroringMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
35039 35040 35041 35042 35043 35044 35045 35046 35047 35048 35049 35050 35051 35052 35053 35054 35055 35056 35057 35058 35059 35060 35061 35062 35063 35064 35065 35066 35067 35068 35069 35070 35071 35072 35073 35074 35075 35076 35077 35078 35079 35080 35081 35082 35083 35084 35085 35086 35087 35088 35089 35090 35091 35092 35093 35094 35095 35096 35097 35098 35099 35100 35101 35102 | |