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.

CreateApplicationVersionRequest

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

type CreateApplicationVersionRequest struct { ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` SemanticVersion *string `location:"uri" locationName:"semanticVersion" type:"string" required:"true"` SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` TemplateBody *string `locationName:"templateBody" type:"string"` TemplateUrl *string `locationName:"templateUrl" type:"string"` }

ApplicationId

Type: *string

ApplicationId is a required field

SemanticVersion

Type: *string

SemanticVersion is a required field

SourceCodeUrl

Type: *string

TemplateBody

Type: *string

TemplateUrl

Type: *string

Method

GoString

func (s CreateApplicationVersionRequest) GoString() string

GoString returns the string representation

SetApplicationId

func (s *CreateApplicationVersionRequest) SetApplicationId(v string) *CreateApplicationVersionRequest

SetApplicationId sets the ApplicationId field's value.

SetSemanticVersion

func (s *CreateApplicationVersionRequest) SetSemanticVersion(v string) *CreateApplicationVersionRequest

SetSemanticVersion sets the SemanticVersion field's value.

SetSourceCodeUrl

func (s *CreateApplicationVersionRequest) SetSourceCodeUrl(v string) *CreateApplicationVersionRequest

SetSourceCodeUrl sets the SourceCodeUrl field's value.

SetTemplateBody

func (s *CreateApplicationVersionRequest) SetTemplateBody(v string) *CreateApplicationVersionRequest

SetTemplateBody sets the TemplateBody field's value.

SetTemplateUrl

func (s *CreateApplicationVersionRequest) SetTemplateUrl(v string) *CreateApplicationVersionRequest

SetTemplateUrl sets the TemplateUrl field's value.

String

func (s CreateApplicationVersionRequest) String() string

String returns the string representation

Validate

func (s *CreateApplicationVersionRequest) Validate() error

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

On this page: