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.

GetSdkInput

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

type GetSdkInput struct { Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` SdkType *string `location:"uri" locationName:"sdk_type" type:"string" required:"true"` StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` }

Request a new generated client SDK for a RestApi and Stage.

Parameters

Type: map[string]*string

A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.

RestApiId

Type: *string

[Required] The string identifier of the associated RestApi.

RestApiId is a required field

SdkType

Type: *string

[Required] The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

SdkType is a required field

StageName

Type: *string

[Required] The name of the Stage that the SDK will use.

StageName is a required field

Method

GoString

func (s GetSdkInput) GoString() string

GoString returns the string representation

SetParameters

func (s *GetSdkInput) SetParameters(v map[string]*string) *GetSdkInput

SetParameters sets the Parameters field's value.

SetRestApiId

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

SetRestApiId sets the RestApiId field's value.

SetSdkType

func (s *GetSdkInput) SetSdkType(v string) *GetSdkInput

SetSdkType sets the SdkType field's value.

SetStageName

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

SetStageName sets the StageName field's value.

String

func (s GetSdkInput) String() string

String returns the string representation

Validate

func (s *GetSdkInput) Validate() error

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

On this page: