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.

BasePathMapping

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

type BasePathMapping struct { BasePath *string `locationName:"basePath" type:"string"` RestApiId *string `locationName:"restApiId" type:"string"` Stage *string `locationName:"stage" type:"string"` }

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account. Use Custom Domain Names (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html)

BasePath

Type: *string

The base path name that callers of the API must provide as part of the URL after the domain name.

RestApiId

Type: *string

The string identifier of the associated RestApi.

Stage

Type: *string

The name of the associated stage.

Method

GoString

func (s BasePathMapping) GoString() string

GoString returns the string representation

SetBasePath

func (s *BasePathMapping) SetBasePath(v string) *BasePathMapping

SetBasePath sets the BasePath field's value.

SetRestApiId

func (s *BasePathMapping) SetRestApiId(v string) *BasePathMapping

SetRestApiId sets the RestApiId field's value.

SetStage

func (s *BasePathMapping) SetStage(v string) *BasePathMapping

SetStage sets the Stage field's value.

String

func (s BasePathMapping) String() string

String returns the string representation

On this page: