create_transit_gateway_route_table_attachment
async
¶
create_transit_gateway_route_table_attachment(
peering_id: PeeringId,
transit_gateway_route_table_arn: TransitGatewayRouteTableArn,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
routing_policy_label: Optional[ConstrainedString] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateTransitGatewayRouteTableAttachmentResponse
Creates a transit gateway route table attachment.
Parameters:
-
peering_id(PeeringId) –The ID of the peer for the
-
transit_gateway_route_table_arn(TransitGatewayRouteTableArn) –The ARN of the transit gateway route table for the attachment request. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456". -
routing_policy_label(Optional[ConstrainedString], default:None) –The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions.
-
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
2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 | |