create_transit_gateway_peering
async
¶
create_transit_gateway_peering(
core_network_id: CoreNetworkId,
transit_gateway_arn: TransitGatewayArn,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 | |