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.

StageKey

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

type StageKey struct { RestApiId *string `locationName:"restApiId" type:"string"` StageName *string `locationName:"stageName" type:"string"` }

A reference to a unique stage identified in the format {restApiId}/{stage}.

RestApiId

Type: *string

The string identifier of the associated RestApi.

StageName

Type: *string

The stage name associated with the stage key.

Method

GoString

func (s StageKey) GoString() string

GoString returns the string representation

SetRestApiId

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

SetRestApiId sets the RestApiId field's value.

SetStageName

func (s *StageKey) SetStageName(v string) *StageKey

SetStageName sets the StageName field's value.

String

func (s StageKey) String() string

String returns the string representation

On this page: