create_local_gateway_route_table_vpc_association
async
¶
create_local_gateway_route_table_vpc_association(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
local_gateway_route_table_id: Optional[LocalGatewayRoutetableId] = None,
vpc_id: Optional[VpcId] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateLocalGatewayRouteTableVpcAssociationResult
Associates the specified VPC with the specified local gateway route table.
Parameters:
-
local_gateway_route_table_id(Optional[LocalGatewayRoutetableId], default:None) –The ID of the local gateway route table.
-
vpc_id(Optional[VpcId], default:None) –The ID of the VPC.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to assign to the local gateway route table VPC association.
-
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
10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 | |