modify_transit_gateway_policy_table_entry
async
¶
modify_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,
) -> ModifyTransitGatewayPolicyTableEntryResult
Modifies the specified transit gateway policy table entry.
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 of the policy table entry to modify.
-
policy_rule(Optional[TransitGatewayRequestPolicyRule], default:None) –The updated matching criteria for the policy table entry. Unspecified fields retain their current values.
-
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
53799 53800 53801 53802 53803 53804 53805 53806 53807 53808 53809 53810 53811 53812 53813 53814 53815 53816 53817 53818 53819 53820 53821 53822 53823 53824 53825 53826 53827 53828 53829 53830 53831 53832 53833 53834 53835 53836 53837 53838 53839 53840 53841 53842 53843 53844 53845 53846 53847 53848 53849 53850 53851 53852 53853 53854 53855 53856 53857 53858 53859 53860 53861 53862 53863 53864 | |