create_local_gateway_route_table
async
¶
create_local_gateway_route_table(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
local_gateway_id: Optional[LocalGatewayId] = None,
mode: Optional[LocalGatewayRouteTableMode] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateLocalGatewayRouteTableResult
Creates a local gateway route table.
Parameters:
-
local_gateway_id(Optional[LocalGatewayId], default:None) –The ID of the local gateway.
-
mode(Optional[LocalGatewayRouteTableMode], default:None) –The mode of the local gateway route table.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags assigned to the local gateway route table.
-
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
10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 | |