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.

AssociateRouteTableInput

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

type AssociateRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` SubnetId *string `locationName:"subnetId" type:"string" required:"true"` }

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

SubnetId

Type: *string

The ID of the subnet.

SubnetId is a required field

Method

GoString

func (s AssociateRouteTableInput) GoString() string

GoString returns the string representation

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetRouteTableId

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

SetRouteTableId sets the RouteTableId field's value.

SetSubnetId

func (s *AssociateRouteTableInput) SetSubnetId(v string) *AssociateRouteTableInput

SetSubnetId sets the SubnetId field's value.

String

func (s AssociateRouteTableInput) String() string

String returns the string representation

Validate

func (s *AssociateRouteTableInput) Validate() error

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

On this page: