create_transit_gateway_route_table
async
¶
create_transit_gateway_route_table(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
transit_gateway_id: Optional[TransitGatewayId] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateTransitGatewayRouteTableResult
Creates a route table for the specified transit gateway.
Parameters:
-
transit_gateway_id(Optional[TransitGatewayId], default:None) –The ID of the transit gateway.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the transit 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
14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 | |