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.

GetBasePathMappingInput

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

type GetBasePathMappingInput struct { BasePath *string `location:"uri" locationName:"base_path" type:"string" required:"true"` DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` }

Request to describe a BasePathMapping resource.

BasePath

Type: *string

[Required] The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify any base path name after the domain name.

BasePath is a required field

DomainName

Type: *string

[Required] The domain name of the BasePathMapping resource to be described.

DomainName is a required field

Method

GoString

func (s GetBasePathMappingInput) GoString() string

GoString returns the string representation

SetBasePath

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

SetBasePath sets the BasePath field's value.

SetDomainName

func (s *GetBasePathMappingInput) SetDomainName(v string) *GetBasePathMappingInput

SetDomainName sets the DomainName field's value.

String

func (s GetBasePathMappingInput) String() string

String returns the string representation

Validate

func (s *GetBasePathMappingInput) Validate() error

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

On this page: