NetworkManager.Client.
get_transit_gateway_peering
(**kwargs)¶Returns information about a transit gateway peer.
See also: AWS API Documentation
Request Syntax
response = client.get_transit_gateway_peering(
PeeringId='string'
)
[REQUIRED]
The ID of the peering request.
{
'TransitGatewayPeering': {
'Peering': {
'CoreNetworkId': 'string',
'CoreNetworkArn': 'string',
'PeeringId': 'string',
'OwnerAccountId': 'string',
'PeeringType': 'TRANSIT_GATEWAY',
'State': 'CREATING'|'FAILED'|'AVAILABLE'|'DELETING',
'EdgeLocation': 'string',
'ResourceArn': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'CreatedAt': datetime(2015, 1, 1)
},
'TransitGatewayArn': 'string',
'TransitGatewayPeeringAttachmentId': 'string'
}
}
Response Structure
Returns information about a transit gateway peering.
Describes a transit gateway peer connection.
The ID of the core network for the peering request.
The ARN of a core network.
The ID of the peering attachment.
The ID of the account owner.
The type of peering. This will be TRANSIT_GATEWAY
.
The current state of the peering connection.
The edge location for the peer.
The resource ARN of the peer.
The list of key-value tags associated with the peering.
Describes a tag.
The tag key.
Constraints: Maximum length of 128 characters.
The tag value.
Constraints: Maximum length of 256 characters.
The timestamp when the attachment peer was created.
The ARN of the transit gateway.
The ID of the transit gateway peering attachment.
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ResourceNotFoundException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException