Skip to content

Commit

Permalink
service/ec2: Add support for NAT Gateway
Browse files Browse the repository at this point in the history
Amazon Elastic Compute Cloud

Managed NAT is a highly available and scalable Network Address
Translation (NAT) solution, and enables Internet connectivity for
instances in private subnets of your VPC.
  • Loading branch information
jasdel committed Dec 17, 2015
1 parent a82eda1 commit 1ddba7e
Show file tree
Hide file tree
Showing 5 changed files with 761 additions and 46 deletions.
237 changes: 209 additions & 28 deletions models/apis/ec2/2015-10-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@
"requestUri":"/"
},
"input":{"shape":"AttachVolumeRequest"},
"output":{
"shape":"VolumeAttachment",
"locationName":"attachment"
}
"output":{"shape":"VolumeAttachment"}
},
"AttachVpnGateway":{
"name":"AttachVpnGateway",
Expand Down Expand Up @@ -292,10 +289,16 @@
"requestUri":"/"
},
"input":{"shape":"CreateKeyPairRequest"},
"output":{
"shape":"KeyPair",
"locationName":"keyPair"
}
"output":{"shape":"KeyPair"}
},
"CreateNatGateway":{
"name":"CreateNatGateway",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateNatGatewayRequest"},
"output":{"shape":"CreateNatGatewayResult"}
},
"CreateNetworkAcl":{
"name":"CreateNetworkAcl",
Expand Down Expand Up @@ -374,10 +377,7 @@
"requestUri":"/"
},
"input":{"shape":"CreateSnapshotRequest"},
"output":{
"shape":"Snapshot",
"locationName":"snapshot"
}
"output":{"shape":"Snapshot"}
},
"CreateSpotDatafeedSubscription":{
"name":"CreateSpotDatafeedSubscription",
Expand Down Expand Up @@ -412,10 +412,7 @@
"requestUri":"/"
},
"input":{"shape":"CreateVolumeRequest"},
"output":{
"shape":"Volume",
"locationName":"volume"
}
"output":{"shape":"Volume"}
},
"CreateVpc":{
"name":"CreateVpc",
Expand Down Expand Up @@ -511,6 +508,15 @@
},
"input":{"shape":"DeleteKeyPairRequest"}
},
"DeleteNatGateway":{
"name":"DeleteNatGateway",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteNatGatewayRequest"},
"output":{"shape":"DeleteNatGatewayResult"}
},
"DeleteNetworkAcl":{
"name":"DeleteNetworkAcl",
"http":{
Expand Down Expand Up @@ -780,10 +786,7 @@
"requestUri":"/"
},
"input":{"shape":"DescribeImageAttributeRequest"},
"output":{
"shape":"ImageAttribute",
"locationName":"imageAttribute"
}
"output":{"shape":"ImageAttribute"}
},
"DescribeImages":{
"name":"DescribeImages",
Expand Down Expand Up @@ -866,6 +869,15 @@
"input":{"shape":"DescribeMovingAddressesRequest"},
"output":{"shape":"DescribeMovingAddressesResult"}
},
"DescribeNatGateways":{
"name":"DescribeNatGateways",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeNatGatewaysRequest"},
"output":{"shape":"DescribeNatGatewaysResult"}
},
"DescribeNetworkAcls":{
"name":"DescribeNetworkAcls",
"http":{
Expand Down Expand Up @@ -1195,10 +1207,7 @@
"requestUri":"/"
},
"input":{"shape":"DetachVolumeRequest"},
"output":{
"shape":"VolumeAttachment",
"locationName":"attachment"
}
"output":{"shape":"VolumeAttachment"}
},
"DetachVpnGateway":{
"name":"DetachVpnGateway",
Expand Down Expand Up @@ -1632,10 +1641,7 @@
"requestUri":"/"
},
"input":{"shape":"RunInstancesRequest"},
"output":{
"shape":"Reservation",
"locationName":"reservation"
}
"output":{"shape":"Reservation"}
},
"StartInstances":{
"name":"StartInstances",
Expand Down Expand Up @@ -3133,6 +3139,31 @@
"KeyName":{"shape":"String"}
}
},
"CreateNatGatewayRequest":{
"type":"structure",
"required":[
"SubnetId",
"AllocationId"
],
"members":{
"SubnetId":{"shape":"String"},
"AllocationId":{"shape":"String"},
"ClientToken":{"shape":"String"}
}
},
"CreateNatGatewayResult":{
"type":"structure",
"members":{
"NatGateway":{
"shape":"NatGateway",
"locationName":"natGateway"
},
"ClientToken":{
"shape":"String",
"locationName":"clientToken"
}
}
},
"CreateNetworkAclEntryRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3339,6 +3370,10 @@
"VpcPeeringConnectionId":{
"shape":"String",
"locationName":"vpcPeeringConnectionId"
},
"NatGatewayId":{
"shape":"String",
"locationName":"natGatewayId"
}
}
},
Expand Down Expand Up @@ -3802,6 +3837,22 @@
"KeyName":{"shape":"String"}
}
},
"DeleteNatGatewayRequest":{
"type":"structure",
"required":["NatGatewayId"],
"members":{
"NatGatewayId":{"shape":"String"}
}
},
"DeleteNatGatewayResult":{
"type":"structure",
"members":{
"NatGatewayId":{
"shape":"String",
"locationName":"natGatewayId"
}
}
},
"DeleteNetworkAclEntryRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -4679,6 +4730,31 @@
}
}
},
"DescribeNatGatewaysRequest":{
"type":"structure",
"members":{
"NatGatewayIds":{
"shape":"ValueStringList",
"locationName":"NatGatewayId"
},
"Filter":{"shape":"FilterList"},
"MaxResults":{"shape":"Integer"},
"NextToken":{"shape":"String"}
}
},
"DescribeNatGatewaysResult":{
"type":"structure",
"members":{
"NatGateways":{
"shape":"NatGatewayList",
"locationName":"natGatewaySet"
},
"NextToken":{
"shape":"String",
"locationName":"nextToken"
}
}
},
"DescribeNetworkAclsRequest":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -8766,6 +8842,92 @@
"locationName":"item"
}
},
"NatGateway":{
"type":"structure",
"members":{
"VpcId":{
"shape":"String",
"locationName":"vpcId"
},
"SubnetId":{
"shape":"String",
"locationName":"subnetId"
},
"NatGatewayId":{
"shape":"String",
"locationName":"natGatewayId"
},
"CreateTime":{
"shape":"DateTime",
"locationName":"createTime"
},
"DeleteTime":{
"shape":"DateTime",
"locationName":"deleteTime"
},
"NatGatewayAddresses":{
"shape":"NatGatewayAddressList",
"locationName":"natGatewayAddressSet"
},
"State":{
"shape":"NatGatewayState",
"locationName":"state"
},
"FailureCode":{
"shape":"String",
"locationName":"failureCode"
},
"FailureMessage":{
"shape":"String",
"locationName":"failureMessage"
}
}
},
"NatGatewayAddress":{
"type":"structure",
"members":{
"PublicIp":{
"shape":"String",
"locationName":"publicIp"
},
"AllocationId":{
"shape":"String",
"locationName":"allocationId"
},
"PrivateIp":{
"shape":"String",
"locationName":"privateIp"
},
"NetworkInterfaceId":{
"shape":"String",
"locationName":"networkInterfaceId"
}
}
},
"NatGatewayAddressList":{
"type":"list",
"member":{
"shape":"NatGatewayAddress",
"locationName":"item"
}
},
"NatGatewayList":{
"type":"list",
"member":{
"shape":"NatGateway",
"locationName":"item"
}
},
"NatGatewayState":{
"type":"string",
"enum":[
"pending",
"failed",
"available",
"deleting",
"deleted"
]
},
"NetworkAcl":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -8940,6 +9102,10 @@
"PrivateIpAddresses":{
"shape":"NetworkInterfacePrivateIpAddressList",
"locationName":"privateIpAddressesSet"
},
"InterfaceType":{
"shape":"NetworkInterfaceType",
"locationName":"interfaceType"
}
}
},
Expand Down Expand Up @@ -9074,6 +9240,13 @@
"detaching"
]
},
"NetworkInterfaceType":{
"type":"string",
"enum":[
"interface",
"natGateway"
]
},
"NewDhcpConfiguration":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -9742,6 +9915,10 @@
"VpcPeeringConnectionId":{
"shape":"String",
"locationName":"vpcPeeringConnectionId"
},
"NatGatewayId":{
"shape":"String",
"locationName":"natGatewayId"
}
}
},
Expand Down Expand Up @@ -10594,6 +10771,10 @@
"shape":"String",
"locationName":"vpcPeeringConnectionId"
},
"NatGatewayId":{
"shape":"String",
"locationName":"natGatewayId"
},
"State":{
"shape":"RouteState",
"locationName":"state"
Expand Down
Loading

0 comments on commit 1ddba7e

Please sign in to comment.