create_transit_gateway_policy_table_entry
async
¶
create_transit_gateway_policy_table_entry(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
transit_gateway_policy_table_id: Optional[TransitGatewayPolicyTableId] = None,
policy_rule_number: Optional[String] = None,
policy_rule: Optional[TransitGatewayRequestPolicyRule] = None,
target_route_table_id: Optional[TransitGatewayRouteTableId] = None,
dry_run: Optional[Boolean] = None,
) -> CreateTransitGatewayPolicyTableEntryResult
Creates an entry in a transit gateway policy table to route matching traffic to a specified route table.
Parameters:
-
transit_gateway_policy_table_id(Optional[TransitGatewayPolicyTableId], default:None) –The ID of the transit gateway policy table.
-
policy_rule_number(Optional[String], default:None) –The rule number for the policy table entry. Lower rule numbers are evaluated first and take precedence.
-
policy_rule(Optional[TransitGatewayRequestPolicyRule], default:None) –The matching criteria for the policy table entry.
-
target_route_table_id(Optional[TransitGatewayRouteTableId], default:None) –The ID of the transit gateway route table to use for traffic matching this rule.
-
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
13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 | |