modify_transit_gateway_policy_table_entry
¶
modify_transit_gateway_policy_table_entry(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
53061 53062 53063 53064 53065 53066 53067 53068 53069 53070 53071 53072 53073 53074 53075 53076 53077 53078 53079 53080 53081 53082 53083 53084 53085 53086 53087 53088 53089 53090 53091 53092 53093 53094 53095 53096 53097 53098 53099 53100 53101 53102 53103 53104 53105 53106 53107 53108 53109 53110 53111 53112 53113 53114 53115 53116 53117 53118 53119 53120 53121 53122 53123 53124 53125 | |