Skip to content

Commit

Permalink
Update documentation links
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheath committed Apr 2, 2014
1 parent ef8cd13 commit 83c6520
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ec2/vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type PropagatingVgw struct {

// CreateRouteTableResp represents a response from a CreateRouteTable request
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateRouteTable.html#query-CreateRouteTable-response-elements
// See http://goo.gl/LD0TqP for more details.
type CreateRouteTableResp struct {
RequestId string `xml:"requestId"`
RouteTable RouteTable `xml:"routeTable"`
Expand All @@ -55,7 +55,7 @@ type CreateRouteTableResp struct {
// CreateRouteTable creates a route table for the specified VPC.
// After you create a route table, you can add routes and associate the table with a subnet.
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateRouteTable.html
// See http://goo.gl/V9h6gE for more details..
func (ec2 *EC2) CreateRouteTable(vpcId string) (resp *CreateRouteTableResp, err error) {
params := makeParams("CreateRouteTable")
params["VpcId"] = vpcId
Expand Down Expand Up @@ -121,15 +121,15 @@ func (ec2 *EC2) AssociateRouteTable(routeTableId, subnetId string) (resp *Associ

// DisassociateRouteTableResp represents the response from a DisassociateRouteTable request
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DisassociateRouteTable.html#query-DisassociateRouteTable-response-elements
// See http://goo.gl/1v4reT for more details.
type DisassociateRouteTableResp struct {
RequestId string `xml:"requestId"`
Return bool `xml:"return"` // True if the request succeeds
}

// DisassociateRouteTable disassociates a subnet from a route table.
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DisassociateRouteTable.html
// See http://goo.gl/A4NJum for more details.
func (ec2 *EC2) DisassociateRouteTable(associationId string) (resp *DisassociateRouteTableResp, err error) {
params := makeParams("DisassociateRouteTable")
params["AssociationId"] = associationId
Expand All @@ -143,15 +143,15 @@ func (ec2 *EC2) DisassociateRouteTable(associationId string) (resp *Disassociate

// ReplaceRouteTableAssociationResp represents a response from a ReplaceRouteTableAssociation call
//
// See for more details.
// See http://goo.gl/VhILGe for more details.
type ReplaceRouteTableAssociationResp struct {
RequestId string `xml:"requestId"`
NewAssociationId string `xml:"newAssociationId"`
}

// ReplaceRouteTableAssociation changes the route table associated with a given subnet in a VPC.
//
// See for more details.
// See http://goo.gl/kiit8j for more details.
func (ec2 *EC2) ReplaceRouteTableAssociation(associationId, routeTableId string) (resp *ReplaceRouteTableAssociationResp, err error) {
params := makeParams("ReplaceRouteTableAssociation")
params["AssociationId"] = associationId
Expand All @@ -166,7 +166,7 @@ func (ec2 *EC2) ReplaceRouteTableAssociation(associationId, routeTableId string)

// DeleteRouteTableResp represents a response from a DeleteRouteTable request
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteRouteTable.html#query-DeleteRouteTable-response-elements
// See http://goo.gl/b8usig for more details.
type DeleteRouteTableResp struct {
RequestId string `xml:"requestId"`
Return bool `xml:"return"` // True if the request succeeds
Expand All @@ -176,7 +176,7 @@ type DeleteRouteTableResp struct {
// You must disassociate the route table from any subnets before you can delete it.
// You can't delete the main route table.
//
// http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteRouteTable.html
// See http://goo.gl/crHxT2 for more details.
func (ec2 *EC2) DeleteRouteTable(routeTableId string) (resp *DeleteRouteTableResp, err error) {
params := makeParams("DeleteRouteTable")
params["RouteTableId"] = routeTableId
Expand Down

0 comments on commit 83c6520

Please sign in to comment.