get_transit_gateway_policy_table_entries
async
¶
get_transit_gateway_policy_table_entries(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
transit_gateway_policy_table_id: Optional[TransitGatewayPolicyTableId] = None,
filters: Optional[FilterList] = None,
max_results: Optional[TransitGatewayMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> GetTransitGatewayPolicyTableEntriesResult
Returns a list of transit gateway policy table entries.
Parameters:
-
transit_gateway_policy_table_id(Optional[TransitGatewayPolicyTableId], default:None) –The ID of the transit gateway policy table.
-
filters(Optional[FilterList], default:None) –One or more filters. The possible values are:
-
policy-rule-number- The rule number for the transit gateway policy table entry. -
target-route-table-id- The ID of the target route table. -
policy-rule.source-ip- The source CIDR block for the policy rule. -
policy-rule.destination-ip- The destination CIDR block for the policy rule. -
policy-rule.source-port- The source port or port range for the policy rule. -
policy-rule.destination-port- The destination port or port range for the policy rule. -
policy-rule.protocol- The protocol for the policy rule. -
policy-rule.meta-data.key- The metadata key for the policy rule. -
policy-rule.meta-data.value- The metadata value for the policy rule.
-
-
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
47868 47869 47870 47871 47872 47873 47874 47875 47876 47877 47878 47879 47880 47881 47882 47883 47884 47885 47886 47887 47888 47889 47890 47891 47892 47893 47894 47895 47896 47897 47898 47899 47900 47901 47902 47903 47904 47905 47906 47907 47908 47909 47910 47911 47912 47913 47914 47915 47916 47917 47918 47919 47920 47921 47922 47923 47924 47925 47926 47927 47928 47929 47930 47931 | |