AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DeleteRouteInput

import "github.com/aws/aws-sdk-go/service/ec2"

type DeleteRouteInput struct { DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` DestinationIpv6CidrBlock *string `locationName:"destinationIpv6CidrBlock" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` }

DestinationCidrBlock

Type: *string

The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.

DestinationIpv6CidrBlock

Type: *string

The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.

DryRun

Type: *bool

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.

RouteTableId

Type: *string

The ID of the route table.

RouteTableId is a required field

Method

GoString

func (s DeleteRouteInput) GoString() string

GoString returns the string representation

SetDestinationCidrBlock

func (s *DeleteRouteInput) SetDestinationCidrBlock(v string) *DeleteRouteInput

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

SetDestinationIpv6CidrBlock

func (s *DeleteRouteInput) SetDestinationIpv6CidrBlock(v string) *DeleteRouteInput

SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value.

SetDryRun

func (s *DeleteRouteInput) SetDryRun(v bool) *DeleteRouteInput

SetDryRun sets the DryRun field's value.

SetRouteTableId

func (s *DeleteRouteInput) SetRouteTableId(v string) *DeleteRouteInput

SetRouteTableId sets the RouteTableId field's value.

String

func (s DeleteRouteInput) String() string

String returns the string representation

Validate

func (s *DeleteRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: