describe_traffic_mirror_targets
¶
describe_traffic_mirror_targets(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
34580 34581 34582 34583 34584 34585 34586 34587 34588 34589 34590 34591 34592 34593 34594 34595 34596 34597 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 34609 34610 34611 34612 34613 34614 34615 34616 34617 34618 34619 34620 34621 34622 34623 34624 34625 34626 34627 34628 34629 34630 34631 34632 34633 34634 34635 34636 34637 34638 34639 34640 34641 34642 | |