create_transit_gateway_peering
¶
create_transit_gateway_peering(
core_network_id: CoreNetworkId,
transit_gateway_arn: TransitGatewayArn,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateTransitGatewayPeeringResponse
Creates a transit gateway peering connection.
Parameters:
-
core_network_id(CoreNetworkId) –The ID of a core network.
-
transit_gateway_arn(TransitGatewayArn) –The ARN of the transit gateway for the peering request.
-
tags(Optional[TagList], default:None) –The list of key-value tags associated with the request.
-
client_token(Optional[ClientToken], default:None) –The client token associated with the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 | |