describe_transit_gateway_route_tables
¶
describe_transit_gateway_route_tables(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_route_table_ids: Optional[
TransitGatewayRouteTableIdStringList
] = None,
filters: Optional[FilterList] = None,
max_results: Optional[TransitGatewayMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeTransitGatewayRouteTablesResult
Describes one or more transit gateway route tables. By default, all transit gateway route tables are described. Alternatively, you can filter the results.
Parameters:
-
transit_gateway_route_table_ids(Optional[TransitGatewayRouteTableIdStringList], default:None) –The IDs of the transit gateway route tables.
-
filters(Optional[FilterList], default:None) –One or more filters. The possible values are:
-
default-association-route-table- Indicates whether this is the default association route table for the transit gateway (true|false). -
default-propagation-route-table- Indicates whether this is the default propagation route table for the transit gateway (true|false). -
state- The state of the route table (available|deleting|deleted|pending). -
transit-gateway-id- The ID of the transit gateway. -
transit-gateway-route-table-id- The ID of the transit gateway route table.
-
-
max_results(Optional[TransitGatewayMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[String], default:None) –The token for the next page of results.
-
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/ec2.py
35418 35419 35420 35421 35422 35423 35424 35425 35426 35427 35428 35429 35430 35431 35432 35433 35434 35435 35436 35437 35438 35439 35440 35441 35442 35443 35444 35445 35446 35447 35448 35449 35450 35451 35452 35453 35454 35455 35456 35457 35458 35459 35460 35461 35462 35463 35464 35465 35466 35467 35468 35469 35470 35471 35472 35473 35474 35475 35476 35477 35478 35479 35480 | |