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.

CreateApplicationRequest

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

type CreateApplicationRequest struct { Author *string `locationName:"author" type:"string" required:"true"` Description *string `locationName:"description" type:"string" required:"true"` HomePageUrl *string `locationName:"homePageUrl" type:"string"` Labels []*string `locationName:"labels" type:"list"` LicenseBody *string `locationName:"licenseBody" type:"string"` LicenseUrl *string `locationName:"licenseUrl" type:"string"` Name *string `locationName:"name" type:"string" required:"true"` ReadmeBody *string `locationName:"readmeBody" type:"string"` ReadmeUrl *string `locationName:"readmeUrl" type:"string"` SemanticVersion *string `locationName:"semanticVersion" type:"string"` SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` SpdxLicenseId *string `locationName:"spdxLicenseId" type:"string"` TemplateBody *string `locationName:"templateBody" type:"string"` TemplateUrl *string `locationName:"templateUrl" type:"string"` }

Author

Type: *string

Author is a required field

Description

Type: *string

Description is a required field

HomePageUrl

Type: *string

Labels

Type: []*string

LicenseBody

Type: *string

LicenseUrl

Type: *string

Name

Type: *string

Name is a required field

ReadmeBody

Type: *string

ReadmeUrl

Type: *string

SemanticVersion

Type: *string

SourceCodeUrl

Type: *string

SpdxLicenseId

Type: *string

TemplateBody

Type: *string

TemplateUrl

Type: *string

Method

GoString

func (s CreateApplicationRequest) GoString() string

GoString returns the string representation

SetAuthor

func (s *CreateApplicationRequest) SetAuthor(v string) *CreateApplicationRequest

SetAuthor sets the Author field's value.

SetDescription

func (s *CreateApplicationRequest) SetDescription(v string) *CreateApplicationRequest

SetDescription sets the Description field's value.

SetHomePageUrl

func (s *CreateApplicationRequest) SetHomePageUrl(v string) *CreateApplicationRequest

SetHomePageUrl sets the HomePageUrl field's value.

SetLabels

func (s *CreateApplicationRequest) SetLabels(v []*string) *CreateApplicationRequest

SetLabels sets the Labels field's value.

SetLicenseBody

func (s *CreateApplicationRequest) SetLicenseBody(v string) *CreateApplicationRequest

SetLicenseBody sets the LicenseBody field's value.

SetLicenseUrl

func (s *CreateApplicationRequest) SetLicenseUrl(v string) *CreateApplicationRequest

SetLicenseUrl sets the LicenseUrl field's value.

SetName

func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest

SetName sets the Name field's value.

SetReadmeBody

func (s *CreateApplicationRequest) SetReadmeBody(v string) *CreateApplicationRequest

SetReadmeBody sets the ReadmeBody field's value.

SetReadmeUrl

func (s *CreateApplicationRequest) SetReadmeUrl(v string) *CreateApplicationRequest

SetReadmeUrl sets the ReadmeUrl field's value.

SetSemanticVersion

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

SetSemanticVersion sets the SemanticVersion field's value.

SetSourceCodeUrl

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

SetSourceCodeUrl sets the SourceCodeUrl field's value.

SetSpdxLicenseId

func (s *CreateApplicationRequest) SetSpdxLicenseId(v string) *CreateApplicationRequest

SetSpdxLicenseId sets the SpdxLicenseId field's value.

SetTemplateBody

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

SetTemplateBody sets the TemplateBody field's value.

SetTemplateUrl

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

SetTemplateUrl sets the TemplateUrl field's value.

String

func (s CreateApplicationRequest) String() string

String returns the string representation

Validate

func (s *CreateApplicationRequest) Validate() error

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

On this page: