describe_transit_gateway_route_tables
async
¶
describe_transit_gateway_route_tables(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
35886 35887 35888 35889 35890 35891 35892 35893 35894 35895 35896 35897 35898 35899 35900 35901 35902 35903 35904 35905 35906 35907 35908 35909 35910 35911 35912 35913 35914 35915 35916 35917 35918 35919 35920 35921 35922 35923 35924 35925 35926 35927 35928 35929 35930 35931 35932 35933 35934 35935 35936 35937 35938 35939 35940 35941 35942 35943 35944 35945 35946 35947 35948 35949 | |