Amazon EC2 Ec2 Local Gateway Route API
The Ec2 Local Gateway Route API from Amazon EC2 — 4 operation(s) for ec2 local gateway route.
The Ec2 Local Gateway Route API from Amazon EC2 — 4 operation(s) for ec2 local gateway route.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-ec2:amazon-ec2-local-gateway-route-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Amazon Elastic Compute Cloud Local Gateway Route API
version: '2016-11-15'
description: Generated from AWS's published Smithy model for Amazon Elastic Compute Cloud. 4 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://ec2.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Local Gateway Route
paths:
/?Action=CreateLocalGatewayRoute:
post:
operationId: CreateLocalGatewayRoute
summary: Create Local Gateway Route
description: 'Creates a static route for the specified local gateway route table. You must specify one of the following targets: LocalGatewayVirtualInterfaceGroupId NetworkInterfaceId'
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/CreateLocalGatewayRouteResult'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: CreateLocalGatewayRoute
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/CreateLocalGatewayRouteRequest'
tags:
- Local Gateway Route
/?Action=DeleteLocalGatewayRoute:
post:
operationId: DeleteLocalGatewayRoute
summary: Delete Local Gateway Route
description: Deletes the specified route from the specified local gateway route table.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DeleteLocalGatewayRouteResult'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DeleteLocalGatewayRoute
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/DeleteLocalGatewayRouteRequest'
tags:
- Local Gateway Route
/?Action=ModifyLocalGatewayRoute:
post:
operationId: ModifyLocalGatewayRoute
summary: Modify Local Gateway Route
description: Modifies the specified local gateway route.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/ModifyLocalGatewayRouteResult'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: ModifyLocalGatewayRoute
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/ModifyLocalGatewayRouteRequest'
tags:
- Local Gateway Route
/?Action=SearchLocalGatewayRoutes:
post:
operationId: SearchLocalGatewayRoutes
summary: Search Local Gateway Routes
description: Searches for routes in the specified local gateway route table.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/SearchLocalGatewayRoutesResult'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: SearchLocalGatewayRoutes
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/SearchLocalGatewayRoutesRequest'
tags:
- Local Gateway Route
components:
schemas:
ModifyLocalGatewayRouteResult:
type: object
properties:
Route:
$ref: '#/components/schemas/LocalGatewayRoute'
CreateLocalGatewayRouteRequest:
type: object
properties:
DestinationCidrBlock:
type: string
description: The CIDR range used for destination matches. Routing decisions are based on the most specific match.
LocalGatewayRouteTableId:
type: string
description: The ID of the local gateway route table.
LocalGatewayVirtualInterfaceGroupId:
type: string
description: The ID of the virtual interface group.
DryRun:
type: boolean
description: 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 is UnauthorizedOperation.
NetworkInterfaceId:
type: string
description: The ID of the network interface.
DestinationPrefixListId:
type: string
description: The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.
required:
- LocalGatewayRouteTableId
CreateLocalGatewayRouteResult:
type: object
properties:
Route:
$ref: '#/components/schemas/LocalGatewayRoute'
ModifyLocalGatewayRouteRequest:
type: object
properties:
DestinationCidrBlock:
type: string
description: The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
LocalGatewayRouteTableId:
type: string
description: The ID of the local gateway route table.
LocalGatewayVirtualInterfaceGroupId:
type: string
description: The ID of the virtual interface group.
NetworkInterfaceId:
type: string
description: The ID of the network interface.
DryRun:
type: boolean
description: 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 is UnauthorizedOperation.
DestinationPrefixListId:
type: string
description: The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.
required:
- LocalGatewayRouteTableId
DeleteLocalGatewayRouteResult:
type: object
properties:
Route:
$ref: '#/components/schemas/LocalGatewayRoute'
DeleteLocalGatewayRouteRequest:
type: object
properties:
DestinationCidrBlock:
type: string
description: The CIDR range for the route. This must match the CIDR for the route exactly.
LocalGatewayRouteTableId:
type: string
description: The ID of the local gateway route table.
DryRun:
type: boolean
description: 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 is UnauthorizedOperation.
DestinationPrefixListId:
type: string
description: Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.
required:
- LocalGatewayRouteTableId
SearchLocalGatewayRoutesResult:
type: object
properties:
Routes:
type: array
items:
$ref: '#/components/schemas/LocalGatewayRoute'
description: Information about the routes.
NextToken:
type: string
description: The token to use to retrieve the next page of results. This value is null when there are no more results to return.
SearchLocalGatewayRoutesRequest:
type: object
properties:
LocalGatewayRouteTableId:
type: string
description: The ID of the local gateway route table.
Filters:
type: array
items:
$ref: '#/components/schemas/Filter'
description: 'One or more filters. prefix-list-id - The ID of the prefix list. route-search.exact-match - The exact match of the specified filter. route-search.longest-prefix-match - The longest prefix that matches the route. route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter. route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. state - The state of the route. type - '
MaxResults:
type: integer
description: The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NextToken:
type: string
description: The token for the next page of results.
DryRun:
type: boolean
description: 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 is UnauthorizedOperation.
required:
- LocalGatewayRouteTableId
Filter:
type: object
properties:
Name:
type: string
description: The name of the filter. Filter names are case-sensitive.
Values:
type: array
items:
type: string
description: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
LocalGatewayRoute:
type: object
properties:
DestinationCidrBlock:
type: string
description: The CIDR block used for destination matches.
LocalGatewayVirtualInterfaceGroupId:
type: string
description: The ID of the virtual interface group.
Type:
type: string
enum:
- static
- propagated
description: The route type.
State:
type: string
enum:
- pending
- active
- blackhole
- deleting
- deleted
description: The state of the route.
LocalGatewayRouteTableId:
type: string
description: The ID of the local gateway route table.
LocalGatewayRouteTableArn:
type: string
description: The Amazon Resource Name (ARN) of the local gateway route table.
OwnerId:
type: string
description: The ID of the Amazon Web Services account that owns the local gateway route.
SubnetId:
type: string
description: The ID of the subnet.
CoipPoolId:
type: string
description: The ID of the customer-owned address pool.
NetworkInterfaceId:
type: string
description: The ID of the network interface.
DestinationPrefixListId:
type: string
description: The ID of the prefix list.
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: ec2
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/ec2/service/2016-11-15/ec2-2016-11-15.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)