modify_local_gateway_route
(**kwargs)¶Modifies the specified local gateway route.
See also: AWS API Documentation
Request Syntax
response = client.modify_local_gateway_route(
DestinationCidrBlock='string',
LocalGatewayRouteTableId='string',
LocalGatewayVirtualInterfaceGroupId='string',
NetworkInterfaceId='string',
DryRun=True|False,
DestinationPrefixListId='string'
)
[REQUIRED]
The ID of the local gateway route table.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.DestinationCidrBlock
. You cannot use DestinationPrefixListId
and DestinationCidrBlock
in the same request.dict
Response Syntax
{
'Route': {
'DestinationCidrBlock': 'string',
'LocalGatewayVirtualInterfaceGroupId': 'string',
'Type': 'static'|'propagated',
'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted',
'LocalGatewayRouteTableId': 'string',
'LocalGatewayRouteTableArn': 'string',
'OwnerId': 'string',
'SubnetId': 'string',
'CoipPoolId': 'string',
'NetworkInterfaceId': 'string',
'DestinationPrefixListId': 'string'
}
}
Response Structure
(dict) --
Route (dict) --
Information about the local gateway route table.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
LocalGatewayVirtualInterfaceGroupId (string) --
The ID of the virtual interface group.
Type (string) --
The route type.
State (string) --
The state of the route.
LocalGatewayRouteTableId (string) --
The ID of the local gateway route table.
LocalGatewayRouteTableArn (string) --
The Amazon Resource Name (ARN) of the local gateway route table.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the local gateway route.
SubnetId (string) --
The ID of the subnet.
CoipPoolId (string) --
The ID of the customer-owned address pool.
NetworkInterfaceId (string) --
The ID of the network interface.
DestinationPrefixListId (string) --
The ID of the prefix list.