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.

DeleteClientVpnRouteInput

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

type DeleteClientVpnRouteInput struct { ClientVpnEndpointId *string `type:"string" required:"true"` DestinationCidrBlock *string `type:"string" required:"true"` DryRun *bool `type:"boolean"` TargetVpcSubnetId *string `type:"string"` }

ClientVpnEndpointId

Type: *string

The ID of the Client VPN endpoint from which the route is to be deleted.

ClientVpnEndpointId is a required field

DestinationCidrBlock

Type: *string

The IPv4 address range, in CIDR notation, of the route to be deleted.

DestinationCidrBlock is a required field

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.

TargetVpcSubnetId

Type: *string

The ID of the target subnet used by the route.

Method

GoString

func (s DeleteClientVpnRouteInput) GoString() string

GoString returns the string representation

SetClientVpnEndpointId

func (s *DeleteClientVpnRouteInput) SetClientVpnEndpointId(v string) *DeleteClientVpnRouteInput

SetClientVpnEndpointId sets the ClientVpnEndpointId field's value.

SetDestinationCidrBlock

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

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetTargetVpcSubnetId

func (s *DeleteClientVpnRouteInput) SetTargetVpcSubnetId(v string) *DeleteClientVpnRouteInput

SetTargetVpcSubnetId sets the TargetVpcSubnetId field's value.

String

func (s DeleteClientVpnRouteInput) String() string

String returns the string representation

Validate

func (s *DeleteClientVpnRouteInput) Validate() error

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

On this page: