modify_transit_gateway_prefix_list_reference
async
¶
modify_transit_gateway_prefix_list_reference(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
53866 53867 53868 53869 53870 53871 53872 53873 53874 53875 53876 53877 53878 53879 53880 53881 53882 53883 53884 53885 53886 53887 53888 53889 53890 53891 53892 53893 53894 53895 53896 53897 53898 53899 53900 53901 53902 53903 53904 53905 53906 53907 53908 53909 53910 53911 53912 53913 53914 53915 53916 53917 53918 53919 53920 53921 53922 53923 53924 53925 53926 53927 53928 53929 53930 53931 53932 | |