describe_transit_gateway_peering_attachments
¶
describe_transit_gateway_peering_attachments(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_attachment_ids: Optional[
TransitGatewayAttachmentIdStringList
] = None,
filters: Optional[FilterList] = None,
max_results: Optional[TransitGatewayMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeTransitGatewayPeeringAttachmentsResult
Describes your transit gateway peering attachments.
Parameters:
-
transit_gateway_attachment_ids(Optional[TransitGatewayAttachmentIdStringList], default:None) –One or more IDs of the transit gateway peering attachments.
-
filters(Optional[FilterList], default:None) –One or more filters. The possible values are:
-
transit-gateway-attachment-id- The ID of the transit gateway attachment. -
local-owner-id- The ID of your Amazon Web Services account. -
remote-owner-id- The ID of the Amazon Web Services account in the remote Region that owns the transit gateway. -
state- The state of the peering attachment. Valid values areavailable|deleted|deleting|failed|failing|initiatingRequest|modifying|pendingAcceptance|pending|rollingBack|rejected|rejecting). -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value. -
transit-gateway-id- The ID of the transit gateway.
-
-
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
35125 35126 35127 35128 35129 35130 35131 35132 35133 35134 35135 35136 35137 35138 35139 35140 35141 35142 35143 35144 35145 35146 35147 35148 35149 35150 35151 35152 35153 35154 35155 35156 35157 35158 35159 35160 35161 35162 35163 35164 35165 35166 35167 35168 35169 35170 35171 35172 35173 35174 35175 35176 35177 35178 35179 35180 35181 35182 35183 35184 35185 35186 35187 35188 | |