describe_transit_gateway_connect_peers
¶
describe_transit_gateway_connect_peers(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_connect_peer_ids: Optional[
TransitGatewayConnectPeerIdStringList
] = None,
filters: Optional[FilterList] = None,
max_results: Optional[TransitGatewayMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeTransitGatewayConnectPeersResult
Describes one or more Connect peers.
Parameters:
-
transit_gateway_connect_peer_ids(Optional[TransitGatewayConnectPeerIdStringList], default:None) –The IDs of the Connect peers.
-
filters(Optional[FilterList], default:None) –One or more filters. The possible values are:
-
state- The state of the Connect peer (pending|available|deleting|deleted). -
transit-gateway-attachment-id- The ID of the attachment. -
transit-gateway-connect-peer-id- The ID of the Connect peer.
-
-
max_results(Optional[TransitGatewayMaxResults], 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[String], default:None) –The token for the next page of results.
-
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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
34770 34771 34772 34773 34774 34775 34776 34777 34778 34779 34780 34781 34782 34783 34784 34785 34786 34787 34788 34789 34790 34791 34792 34793 34794 34795 34796 34797 34798 34799 34800 34801 34802 34803 34804 34805 34806 34807 34808 34809 34810 34811 34812 34813 34814 34815 34816 34817 34818 34819 34820 34821 34822 34823 34824 34825 34826 34827 34828 34829 34830 34831 34832 34833 34834 | |