modify_transit_gateway_prefix_list_reference
¶
modify_transit_gateway_prefix_list_reference(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_route_table_id: Optional[TransitGatewayRouteTableId] = None,
prefix_list_id: Optional[PrefixListResourceId] = None,
transit_gateway_attachment_id: Optional[TransitGatewayAttachmentId] = None,
blackhole: Optional[Boolean] = None,
dry_run: Optional[Boolean] = None,
) -> ModifyTransitGatewayPrefixListReferenceResult
Modifies a reference (route) to a prefix list in a specified transit gateway route table.
Parameters:
-
transit_gateway_route_table_id(Optional[TransitGatewayRouteTableId], default:None) –The ID of the transit gateway route table.
-
prefix_list_id(Optional[PrefixListResourceId], default:None) –The ID of the prefix list.
-
transit_gateway_attachment_id(Optional[TransitGatewayAttachmentId], default:None) –The ID of the attachment to which traffic is routed.
-
blackhole(Optional[Boolean], default:None) –Indicates whether to drop traffic that matches this route.
-
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
53127 53128 53129 53130 53131 53132 53133 53134 53135 53136 53137 53138 53139 53140 53141 53142 53143 53144 53145 53146 53147 53148 53149 53150 53151 53152 53153 53154 53155 53156 53157 53158 53159 53160 53161 53162 53163 53164 53165 53166 53167 53168 53169 53170 53171 53172 53173 53174 53175 53176 53177 53178 53179 53180 53181 53182 53183 53184 53185 53186 53187 53188 53189 53190 53191 53192 | |