describe_transit_gateway_peering_attachments
async
¶
describe_transit_gateway_peering_attachments(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
35590 35591 35592 35593 35594 35595 35596 35597 35598 35599 35600 35601 35602 35603 35604 35605 35606 35607 35608 35609 35610 35611 35612 35613 35614 35615 35616 35617 35618 35619 35620 35621 35622 35623 35624 35625 35626 35627 35628 35629 35630 35631 35632 35633 35634 35635 35636 35637 35638 35639 35640 35641 35642 35643 35644 35645 35646 35647 35648 35649 35650 35651 35652 35653 35654 | |