Documentation ¶
Overview ¶
Package serverlessapplicationrepository provides the client and types for making API requests to AWSServerlessApplicationRepository.
AWS Serverless Application Repository ¶
See https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08 for more information on this service.
See serverlessapplicationrepository package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/serverlessapplicationrepository/
Using the Client ¶
To AWSServerlessApplicationRepository with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWSServerlessApplicationRepository client ServerlessApplicationRepository for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/serverlessapplicationrepository/#New
Index ¶
- Constants
- type ApplicationPolicyStatement
- func (s ApplicationPolicyStatement) GoString() string
- func (s *ApplicationPolicyStatement) SetActions(v []string) *ApplicationPolicyStatement
- func (s *ApplicationPolicyStatement) SetPrincipals(v []string) *ApplicationPolicyStatement
- func (s *ApplicationPolicyStatement) SetStatementId(v string) *ApplicationPolicyStatement
- func (s ApplicationPolicyStatement) String() string
- type ApplicationSummary
- func (s ApplicationSummary) GoString() string
- func (s *ApplicationSummary) SetApplicationId(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetAuthor(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetCreationTime(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetDescription(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetLabels(v []string) *ApplicationSummary
- func (s *ApplicationSummary) SetName(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetSpdxLicenseId(v string) *ApplicationSummary
- func (s ApplicationSummary) String() string
- type CreateApplicationInput
- func (s CreateApplicationInput) GoString() string
- func (s *CreateApplicationInput) SetAuthor(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetLabels(v []string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetLicenseBody(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetLicenseUrl(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetReadmeBody(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetReadmeUrl(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetSemanticVersion(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetSourceCodeUrl(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetSpdxLicenseId(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetTemplateBody(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetTemplateUrl(v string) *CreateApplicationInput
- func (s CreateApplicationInput) String() string
- type CreateApplicationOutput
- func (s CreateApplicationOutput) GoString() string
- func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response
- func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetAuthor(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetCreationTime(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetLabels(v []string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetLicenseUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetReadmeUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetSpdxLicenseId(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput
- func (s CreateApplicationOutput) String() string
- type CreateApplicationRequest
- type CreateApplicationVersionInput
- func (s CreateApplicationVersionInput) GoString() string
- func (s *CreateApplicationVersionInput) SetApplicationId(v string) *CreateApplicationVersionInput
- func (s *CreateApplicationVersionInput) SetSemanticVersion(v string) *CreateApplicationVersionInput
- func (s *CreateApplicationVersionInput) SetSourceCodeUrl(v string) *CreateApplicationVersionInput
- func (s *CreateApplicationVersionInput) SetTemplateBody(v string) *CreateApplicationVersionInput
- func (s *CreateApplicationVersionInput) SetTemplateUrl(v string) *CreateApplicationVersionInput
- func (s CreateApplicationVersionInput) String() string
- func (s *CreateApplicationVersionInput) Validate() error
- type CreateApplicationVersionOutput
- func (s CreateApplicationVersionOutput) GoString() string
- func (s CreateApplicationVersionOutput) SDKResponseMetadata() aws.Response
- func (s *CreateApplicationVersionOutput) SetApplicationId(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetCreationTime(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetParameterDefinitions(v []ParameterDefinition) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetSemanticVersion(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetSourceCodeUrl(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetTemplateUrl(v string) *CreateApplicationVersionOutput
- func (s CreateApplicationVersionOutput) String() string
- type CreateApplicationVersionRequest
- type CreateCloudFormationChangeSetInput
- func (s CreateCloudFormationChangeSetInput) GoString() string
- func (s *CreateCloudFormationChangeSetInput) SetApplicationId(v string) *CreateCloudFormationChangeSetInput
- func (s *CreateCloudFormationChangeSetInput) SetParameterOverrides(v []ParameterValue) *CreateCloudFormationChangeSetInput
- func (s *CreateCloudFormationChangeSetInput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetInput
- func (s *CreateCloudFormationChangeSetInput) SetStackName(v string) *CreateCloudFormationChangeSetInput
- func (s CreateCloudFormationChangeSetInput) String() string
- func (s *CreateCloudFormationChangeSetInput) Validate() error
- type CreateCloudFormationChangeSetOutput
- func (s CreateCloudFormationChangeSetOutput) GoString() string
- func (s CreateCloudFormationChangeSetOutput) SDKResponseMetadata() aws.Response
- func (s *CreateCloudFormationChangeSetOutput) SetApplicationId(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetChangeSetId(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetStackId(v string) *CreateCloudFormationChangeSetOutput
- func (s CreateCloudFormationChangeSetOutput) String() string
- type CreateCloudFormationChangeSetRequest
- type GetApplicationInput
- type GetApplicationOutput
- func (s GetApplicationOutput) GoString() string
- func (s GetApplicationOutput) SDKResponseMetadata() aws.Response
- func (s *GetApplicationOutput) SetApplicationId(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetAuthor(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetCreationTime(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetLabels(v []string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetLicenseUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetReadmeUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetSpdxLicenseId(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetVersion(v *Version) *GetApplicationOutput
- func (s GetApplicationOutput) String() string
- type GetApplicationPolicyInput
- type GetApplicationPolicyOutput
- type GetApplicationPolicyRequest
- type GetApplicationRequest
- type ListApplicationVersionsInput
- func (s ListApplicationVersionsInput) GoString() string
- func (s *ListApplicationVersionsInput) SetApplicationId(v string) *ListApplicationVersionsInput
- func (s *ListApplicationVersionsInput) SetMaxItems(v int64) *ListApplicationVersionsInput
- func (s *ListApplicationVersionsInput) SetNextToken(v string) *ListApplicationVersionsInput
- func (s ListApplicationVersionsInput) String() string
- func (s *ListApplicationVersionsInput) Validate() error
- type ListApplicationVersionsOutput
- func (s ListApplicationVersionsOutput) GoString() string
- func (s ListApplicationVersionsOutput) SDKResponseMetadata() aws.Response
- func (s *ListApplicationVersionsOutput) SetNextToken(v string) *ListApplicationVersionsOutput
- func (s *ListApplicationVersionsOutput) SetVersions(v []VersionSummary) *ListApplicationVersionsOutput
- func (s ListApplicationVersionsOutput) String() string
- type ListApplicationVersionsRequest
- type ListApplicationsInput
- type ListApplicationsOutput
- func (s ListApplicationsOutput) GoString() string
- func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response
- func (s *ListApplicationsOutput) SetApplications(v []ApplicationSummary) *ListApplicationsOutput
- func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
- func (s ListApplicationsOutput) String() string
- type ListApplicationsRequest
- type ParameterDefinition
- func (s ParameterDefinition) GoString() string
- func (s *ParameterDefinition) SetAllowedPattern(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetAllowedValues(v []string) *ParameterDefinition
- func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetDefaultValue(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetMaxLength(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMaxValue(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMinLength(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMinValue(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetName(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetNoEcho(v bool) *ParameterDefinition
- func (s *ParameterDefinition) SetReferencedByResources(v []string) *ParameterDefinition
- func (s *ParameterDefinition) SetType(v string) *ParameterDefinition
- func (s ParameterDefinition) String() string
- type ParameterValue
- type PutApplicationPolicyInput
- func (s PutApplicationPolicyInput) GoString() string
- func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput
- func (s *PutApplicationPolicyInput) SetStatements(v []ApplicationPolicyStatement) *PutApplicationPolicyInput
- func (s PutApplicationPolicyInput) String() string
- func (s *PutApplicationPolicyInput) Validate() error
- type PutApplicationPolicyOutput
- type PutApplicationPolicyRequest
- type ServerlessApplicationRepository
- func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
- func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) CreateApplicationVersionRequest
- func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetInput) CreateCloudFormationChangeSetRequest
- func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) GetApplicationPolicyRequest
- func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest
- func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) ListApplicationVersionsRequest
- func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
- func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) PutApplicationPolicyRequest
- func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- type UpdateApplicationInput
- func (s UpdateApplicationInput) GoString() string
- func (s *UpdateApplicationInput) SetApplicationId(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetAuthor(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetLabels(v []string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetReadmeBody(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetReadmeUrl(v string) *UpdateApplicationInput
- func (s UpdateApplicationInput) String() string
- func (s *UpdateApplicationInput) Validate() error
- type UpdateApplicationOutput
- func (s UpdateApplicationOutput) GoString() string
- func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateApplicationOutput) SetApplicationId(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetAuthor(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetCreationTime(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetLabels(v []string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetLicenseUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetReadmeUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetSpdxLicenseId(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput
- func (s UpdateApplicationOutput) String() string
- type UpdateApplicationRequest
- type Version
- func (s Version) GoString() string
- func (s *Version) SetApplicationId(v string) *Version
- func (s *Version) SetCreationTime(v string) *Version
- func (s *Version) SetParameterDefinitions(v []ParameterDefinition) *Version
- func (s *Version) SetSemanticVersion(v string) *Version
- func (s *Version) SetSourceCodeUrl(v string) *Version
- func (s *Version) SetTemplateUrl(v string) *Version
- func (s Version) String() string
- type VersionSummary
- func (s VersionSummary) GoString() string
- func (s *VersionSummary) SetApplicationId(v string) *VersionSummary
- func (s *VersionSummary) SetCreationTime(v string) *VersionSummary
- func (s *VersionSummary) SetSemanticVersion(v string) *VersionSummary
- func (s *VersionSummary) SetSourceCodeUrl(v string) *VersionSummary
- func (s VersionSummary) String() string
Constants ¶
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // One of the parameters in the request is invalid. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". // // The resource already exists. ErrCodeConflictException = "ConflictException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". // // The client is not authenticated. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // The AWS Serverless Application Repository service encountered an internal // error. ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The resource (for example, an access policy statement) specified in the request // does not exist. ErrCodeNotFoundException = "NotFoundException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The client is sending more than the allowed number of requests per unit time. ErrCodeTooManyRequestsException = "TooManyRequestsException" )
const ( ServiceName = "serverlessrepo" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationPolicyStatement ¶
type ApplicationPolicyStatement struct { // A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet // \n \n\n ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy // (Note: This action enables all other actions above.) Actions []string `locationName:"actions" type:"list"` // An AWS account ID, or * to make the application public. Principals []string `locationName:"principals" type:"list"` // A unique ID for the statement. StatementId *string `locationName:"statementId" type:"string"` // contains filtered or unexported fields }
Policy statement applied to the application. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationPolicyStatement
func (ApplicationPolicyStatement) GoString ¶
func (s ApplicationPolicyStatement) GoString() string
GoString returns the string representation
func (*ApplicationPolicyStatement) SetActions ¶
func (s *ApplicationPolicyStatement) SetActions(v []string) *ApplicationPolicyStatement
SetActions sets the Actions field's value.
func (*ApplicationPolicyStatement) SetPrincipals ¶
func (s *ApplicationPolicyStatement) SetPrincipals(v []string) *ApplicationPolicyStatement
SetPrincipals sets the Principals field's value.
func (*ApplicationPolicyStatement) SetStatementId ¶
func (s *ApplicationPolicyStatement) SetStatementId(v string) *ApplicationPolicyStatement
SetStatementId sets the StatementId field's value.
func (ApplicationPolicyStatement) String ¶
func (s ApplicationPolicyStatement) String() string
String returns the string representation
type ApplicationSummary ¶
type ApplicationSummary struct { // The application ARN. ApplicationId *string `locationName:"applicationId" type:"string"` // The name of the author publishing the app\nMin Length=1. Max Length=127.\nPattern // "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$"; Author *string `locationName:"author" type:"string"` // The date/time this resource was created. CreationTime *string `locationName:"creationTime" type:"string"` // The description of the application.\nMin Length=1. Max Length=256 Description *string `locationName:"description" type:"string"` // Labels to improve discovery of apps in search results.\nMin Length=1. Max // Length=127. Maximum number of labels: 10\nPattern: "^[a-zA-Z0-9+\\-_:\\/@]+$"; Labels []string `locationName:"labels" type:"list"` // The name of the application.\nMin Length=1. Max Length=140\nPattern: "[a-zA-Z0-9\\-]+"; Name *string `locationName:"name" type:"string"` // A valid identifier from https://spdx.org/licenses/ . SpdxLicenseId *string `locationName:"spdxLicenseId" type:"string"` // contains filtered or unexported fields }
Summary of details about the application. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationSummary
func (ApplicationSummary) GoString ¶
func (s ApplicationSummary) GoString() string
GoString returns the string representation
func (*ApplicationSummary) SetApplicationId ¶
func (s *ApplicationSummary) SetApplicationId(v string) *ApplicationSummary
SetApplicationId sets the ApplicationId field's value.
func (*ApplicationSummary) SetAuthor ¶
func (s *ApplicationSummary) SetAuthor(v string) *ApplicationSummary
SetAuthor sets the Author field's value.
func (*ApplicationSummary) SetCreationTime ¶
func (s *ApplicationSummary) SetCreationTime(v string) *ApplicationSummary
SetCreationTime sets the CreationTime field's value.
func (*ApplicationSummary) SetDescription ¶
func (s *ApplicationSummary) SetDescription(v string) *ApplicationSummary
SetDescription sets the Description field's value.
func (*ApplicationSummary) SetLabels ¶
func (s *ApplicationSummary) SetLabels(v []string) *ApplicationSummary
SetLabels sets the Labels field's value.
func (*ApplicationSummary) SetName ¶
func (s *ApplicationSummary) SetName(v string) *ApplicationSummary
SetName sets the Name field's value.
func (*ApplicationSummary) SetSpdxLicenseId ¶
func (s *ApplicationSummary) SetSpdxLicenseId(v string) *ApplicationSummary
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (ApplicationSummary) String ¶
func (s ApplicationSummary) String() string
String returns the string representation
type CreateApplicationInput ¶
type CreateApplicationInput struct { Author *string `locationName:"author" type:"string"` Description *string `locationName:"description" 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"` 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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationRequest
func (CreateApplicationInput) GoString ¶
func (s CreateApplicationInput) GoString() string
GoString returns the string representation
func (*CreateApplicationInput) SetAuthor ¶
func (s *CreateApplicationInput) SetAuthor(v string) *CreateApplicationInput
SetAuthor sets the Author field's value.
func (*CreateApplicationInput) SetDescription ¶
func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput
SetDescription sets the Description field's value.
func (*CreateApplicationInput) SetLabels ¶
func (s *CreateApplicationInput) SetLabels(v []string) *CreateApplicationInput
SetLabels sets the Labels field's value.
func (*CreateApplicationInput) SetLicenseBody ¶
func (s *CreateApplicationInput) SetLicenseBody(v string) *CreateApplicationInput
SetLicenseBody sets the LicenseBody field's value.
func (*CreateApplicationInput) SetLicenseUrl ¶
func (s *CreateApplicationInput) SetLicenseUrl(v string) *CreateApplicationInput
SetLicenseUrl sets the LicenseUrl field's value.
func (*CreateApplicationInput) SetName ¶
func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput
SetName sets the Name field's value.
func (*CreateApplicationInput) SetReadmeBody ¶
func (s *CreateApplicationInput) SetReadmeBody(v string) *CreateApplicationInput
SetReadmeBody sets the ReadmeBody field's value.
func (*CreateApplicationInput) SetReadmeUrl ¶
func (s *CreateApplicationInput) SetReadmeUrl(v string) *CreateApplicationInput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*CreateApplicationInput) SetSemanticVersion ¶
func (s *CreateApplicationInput) SetSemanticVersion(v string) *CreateApplicationInput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationInput) SetSourceCodeUrl ¶
func (s *CreateApplicationInput) SetSourceCodeUrl(v string) *CreateApplicationInput
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationInput) SetSpdxLicenseId ¶
func (s *CreateApplicationInput) SetSpdxLicenseId(v string) *CreateApplicationInput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*CreateApplicationInput) SetTemplateBody ¶
func (s *CreateApplicationInput) SetTemplateBody(v string) *CreateApplicationInput
SetTemplateBody sets the TemplateBody field's value.
func (*CreateApplicationInput) SetTemplateUrl ¶
func (s *CreateApplicationInput) SetTemplateUrl(v string) *CreateApplicationInput
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationInput) String ¶
func (s CreateApplicationInput) String() string
String returns the string representation
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { ApplicationId *string `locationName:"applicationId" type:"string"` Author *string `locationName:"author" type:"string"` CreationTime *string `locationName:"creationTime" type:"string"` Description *string `locationName:"description" type:"string"` Labels []string `locationName:"labels" type:"list"` LicenseUrl *string `locationName:"licenseUrl" type:"string"` Name *string `locationName:"name" type:"string"` ReadmeUrl *string `locationName:"readmeUrl" type:"string"` SpdxLicenseId *string `locationName:"spdxLicenseId" type:"string"` // Application version details. Version *Version `locationName:"version" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationResponse
func (CreateApplicationOutput) GoString ¶
func (s CreateApplicationOutput) GoString() string
GoString returns the string representation
func (CreateApplicationOutput) SDKResponseMetadata ¶
func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateApplicationOutput) SetApplicationId ¶
func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationOutput) SetAuthor ¶
func (s *CreateApplicationOutput) SetAuthor(v string) *CreateApplicationOutput
SetAuthor sets the Author field's value.
func (*CreateApplicationOutput) SetCreationTime ¶
func (s *CreateApplicationOutput) SetCreationTime(v string) *CreateApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateApplicationOutput) SetDescription ¶
func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput
SetDescription sets the Description field's value.
func (*CreateApplicationOutput) SetLabels ¶
func (s *CreateApplicationOutput) SetLabels(v []string) *CreateApplicationOutput
SetLabels sets the Labels field's value.
func (*CreateApplicationOutput) SetLicenseUrl ¶
func (s *CreateApplicationOutput) SetLicenseUrl(v string) *CreateApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*CreateApplicationOutput) SetName ¶
func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput
SetName sets the Name field's value.
func (*CreateApplicationOutput) SetReadmeUrl ¶
func (s *CreateApplicationOutput) SetReadmeUrl(v string) *CreateApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*CreateApplicationOutput) SetSpdxLicenseId ¶
func (s *CreateApplicationOutput) SetSpdxLicenseId(v string) *CreateApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*CreateApplicationOutput) SetVersion ¶
func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput
SetVersion sets the Version field's value.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput }
CreateApplicationRequest is a API request type for the CreateApplication API operation.
func (CreateApplicationRequest) Send ¶
func (r CreateApplicationRequest) Send() (*CreateApplicationOutput, error)
Send marshals and sends the CreateApplication API request.
type CreateApplicationVersionInput ¶
type CreateApplicationVersionInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` // SemanticVersion is a required field 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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionRequest
func (CreateApplicationVersionInput) GoString ¶
func (s CreateApplicationVersionInput) GoString() string
GoString returns the string representation
func (*CreateApplicationVersionInput) SetApplicationId ¶
func (s *CreateApplicationVersionInput) SetApplicationId(v string) *CreateApplicationVersionInput
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationVersionInput) SetSemanticVersion ¶
func (s *CreateApplicationVersionInput) SetSemanticVersion(v string) *CreateApplicationVersionInput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationVersionInput) SetSourceCodeUrl ¶
func (s *CreateApplicationVersionInput) SetSourceCodeUrl(v string) *CreateApplicationVersionInput
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationVersionInput) SetTemplateBody ¶
func (s *CreateApplicationVersionInput) SetTemplateBody(v string) *CreateApplicationVersionInput
SetTemplateBody sets the TemplateBody field's value.
func (*CreateApplicationVersionInput) SetTemplateUrl ¶
func (s *CreateApplicationVersionInput) SetTemplateUrl(v string) *CreateApplicationVersionInput
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationVersionInput) String ¶
func (s CreateApplicationVersionInput) String() string
String returns the string representation
func (*CreateApplicationVersionInput) Validate ¶
func (s *CreateApplicationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationVersionOutput ¶
type CreateApplicationVersionOutput struct { ApplicationId *string `locationName:"applicationId" type:"string"` CreationTime *string `locationName:"creationTime" type:"string"` ParameterDefinitions []ParameterDefinition `locationName:"parameterDefinitions" type:"list"` SemanticVersion *string `locationName:"semanticVersion" type:"string"` SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` TemplateUrl *string `locationName:"templateUrl" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionResponse
func (CreateApplicationVersionOutput) GoString ¶
func (s CreateApplicationVersionOutput) GoString() string
GoString returns the string representation
func (CreateApplicationVersionOutput) SDKResponseMetadata ¶
func (s CreateApplicationVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateApplicationVersionOutput) SetApplicationId ¶
func (s *CreateApplicationVersionOutput) SetApplicationId(v string) *CreateApplicationVersionOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationVersionOutput) SetCreationTime ¶
func (s *CreateApplicationVersionOutput) SetCreationTime(v string) *CreateApplicationVersionOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateApplicationVersionOutput) SetParameterDefinitions ¶
func (s *CreateApplicationVersionOutput) SetParameterDefinitions(v []ParameterDefinition) *CreateApplicationVersionOutput
SetParameterDefinitions sets the ParameterDefinitions field's value.
func (*CreateApplicationVersionOutput) SetSemanticVersion ¶
func (s *CreateApplicationVersionOutput) SetSemanticVersion(v string) *CreateApplicationVersionOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationVersionOutput) SetSourceCodeUrl ¶
func (s *CreateApplicationVersionOutput) SetSourceCodeUrl(v string) *CreateApplicationVersionOutput
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationVersionOutput) SetTemplateUrl ¶
func (s *CreateApplicationVersionOutput) SetTemplateUrl(v string) *CreateApplicationVersionOutput
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationVersionOutput) String ¶
func (s CreateApplicationVersionOutput) String() string
String returns the string representation
type CreateApplicationVersionRequest ¶
type CreateApplicationVersionRequest struct { *aws.Request Input *CreateApplicationVersionInput }
CreateApplicationVersionRequest is a API request type for the CreateApplicationVersion API operation.
func (CreateApplicationVersionRequest) Send ¶
func (r CreateApplicationVersionRequest) Send() (*CreateApplicationVersionOutput, error)
Send marshals and sends the CreateApplicationVersion API request.
type CreateCloudFormationChangeSetInput ¶
type CreateCloudFormationChangeSetInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` ParameterOverrides []ParameterValue `locationName:"parameterOverrides" type:"list"` SemanticVersion *string `locationName:"semanticVersion" type:"string"` StackName *string `locationName:"stackName" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetRequest
func (CreateCloudFormationChangeSetInput) GoString ¶
func (s CreateCloudFormationChangeSetInput) GoString() string
GoString returns the string representation
func (*CreateCloudFormationChangeSetInput) SetApplicationId ¶
func (s *CreateCloudFormationChangeSetInput) SetApplicationId(v string) *CreateCloudFormationChangeSetInput
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationChangeSetInput) SetParameterOverrides ¶
func (s *CreateCloudFormationChangeSetInput) SetParameterOverrides(v []ParameterValue) *CreateCloudFormationChangeSetInput
SetParameterOverrides sets the ParameterOverrides field's value.
func (*CreateCloudFormationChangeSetInput) SetSemanticVersion ¶
func (s *CreateCloudFormationChangeSetInput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetInput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateCloudFormationChangeSetInput) SetStackName ¶
func (s *CreateCloudFormationChangeSetInput) SetStackName(v string) *CreateCloudFormationChangeSetInput
SetStackName sets the StackName field's value.
func (CreateCloudFormationChangeSetInput) String ¶
func (s CreateCloudFormationChangeSetInput) String() string
String returns the string representation
func (*CreateCloudFormationChangeSetInput) Validate ¶
func (s *CreateCloudFormationChangeSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCloudFormationChangeSetOutput ¶
type CreateCloudFormationChangeSetOutput struct { ApplicationId *string `locationName:"applicationId" type:"string"` ChangeSetId *string `locationName:"changeSetId" type:"string"` SemanticVersion *string `locationName:"semanticVersion" type:"string"` StackId *string `locationName:"stackId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetResponse
func (CreateCloudFormationChangeSetOutput) GoString ¶
func (s CreateCloudFormationChangeSetOutput) GoString() string
GoString returns the string representation
func (CreateCloudFormationChangeSetOutput) SDKResponseMetadata ¶
func (s CreateCloudFormationChangeSetOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateCloudFormationChangeSetOutput) SetApplicationId ¶
func (s *CreateCloudFormationChangeSetOutput) SetApplicationId(v string) *CreateCloudFormationChangeSetOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationChangeSetOutput) SetChangeSetId ¶
func (s *CreateCloudFormationChangeSetOutput) SetChangeSetId(v string) *CreateCloudFormationChangeSetOutput
SetChangeSetId sets the ChangeSetId field's value.
func (*CreateCloudFormationChangeSetOutput) SetSemanticVersion ¶
func (s *CreateCloudFormationChangeSetOutput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateCloudFormationChangeSetOutput) SetStackId ¶
func (s *CreateCloudFormationChangeSetOutput) SetStackId(v string) *CreateCloudFormationChangeSetOutput
SetStackId sets the StackId field's value.
func (CreateCloudFormationChangeSetOutput) String ¶
func (s CreateCloudFormationChangeSetOutput) String() string
String returns the string representation
type CreateCloudFormationChangeSetRequest ¶
type CreateCloudFormationChangeSetRequest struct { *aws.Request Input *CreateCloudFormationChangeSetInput }
CreateCloudFormationChangeSetRequest is a API request type for the CreateCloudFormationChangeSet API operation.
func (CreateCloudFormationChangeSetRequest) Send ¶
func (r CreateCloudFormationChangeSetRequest) Send() (*CreateCloudFormationChangeSetOutput, error)
Send marshals and sends the CreateCloudFormationChangeSet API request.
type GetApplicationInput ¶
type GetApplicationInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` SemanticVersion *string `location:"querystring" locationName:"semanticVersion" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationRequest
func (GetApplicationInput) GoString ¶
func (s GetApplicationInput) GoString() string
GoString returns the string representation
func (*GetApplicationInput) SetApplicationId ¶
func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (*GetApplicationInput) SetSemanticVersion ¶
func (s *GetApplicationInput) SetSemanticVersion(v string) *GetApplicationInput
SetSemanticVersion sets the SemanticVersion field's value.
func (GetApplicationInput) String ¶
func (s GetApplicationInput) String() string
String returns the string representation
func (*GetApplicationInput) Validate ¶
func (s *GetApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApplicationOutput ¶
type GetApplicationOutput struct { ApplicationId *string `locationName:"applicationId" type:"string"` Author *string `locationName:"author" type:"string"` CreationTime *string `locationName:"creationTime" type:"string"` Description *string `locationName:"description" type:"string"` Labels []string `locationName:"labels" type:"list"` LicenseUrl *string `locationName:"licenseUrl" type:"string"` Name *string `locationName:"name" type:"string"` ReadmeUrl *string `locationName:"readmeUrl" type:"string"` SpdxLicenseId *string `locationName:"spdxLicenseId" type:"string"` // Application version details. Version *Version `locationName:"version" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationResponse
func (GetApplicationOutput) GoString ¶
func (s GetApplicationOutput) GoString() string
GoString returns the string representation
func (GetApplicationOutput) SDKResponseMetadata ¶
func (s GetApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetApplicationOutput) SetApplicationId ¶
func (s *GetApplicationOutput) SetApplicationId(v string) *GetApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*GetApplicationOutput) SetAuthor ¶
func (s *GetApplicationOutput) SetAuthor(v string) *GetApplicationOutput
SetAuthor sets the Author field's value.
func (*GetApplicationOutput) SetCreationTime ¶
func (s *GetApplicationOutput) SetCreationTime(v string) *GetApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*GetApplicationOutput) SetDescription ¶
func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput
SetDescription sets the Description field's value.
func (*GetApplicationOutput) SetLabels ¶
func (s *GetApplicationOutput) SetLabels(v []string) *GetApplicationOutput
SetLabels sets the Labels field's value.
func (*GetApplicationOutput) SetLicenseUrl ¶
func (s *GetApplicationOutput) SetLicenseUrl(v string) *GetApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*GetApplicationOutput) SetName ¶
func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput
SetName sets the Name field's value.
func (*GetApplicationOutput) SetReadmeUrl ¶
func (s *GetApplicationOutput) SetReadmeUrl(v string) *GetApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*GetApplicationOutput) SetSpdxLicenseId ¶
func (s *GetApplicationOutput) SetSpdxLicenseId(v string) *GetApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*GetApplicationOutput) SetVersion ¶
func (s *GetApplicationOutput) SetVersion(v *Version) *GetApplicationOutput
SetVersion sets the Version field's value.
func (GetApplicationOutput) String ¶
func (s GetApplicationOutput) String() string
String returns the string representation
type GetApplicationPolicyInput ¶
type GetApplicationPolicyInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyRequest
func (GetApplicationPolicyInput) GoString ¶
func (s GetApplicationPolicyInput) GoString() string
GoString returns the string representation
func (*GetApplicationPolicyInput) SetApplicationId ¶
func (s *GetApplicationPolicyInput) SetApplicationId(v string) *GetApplicationPolicyInput
SetApplicationId sets the ApplicationId field's value.
func (GetApplicationPolicyInput) String ¶
func (s GetApplicationPolicyInput) String() string
String returns the string representation
func (*GetApplicationPolicyInput) Validate ¶
func (s *GetApplicationPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApplicationPolicyOutput ¶
type GetApplicationPolicyOutput struct { Statements []ApplicationPolicyStatement `locationName:"statements" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyResponse
func (GetApplicationPolicyOutput) GoString ¶
func (s GetApplicationPolicyOutput) GoString() string
GoString returns the string representation
func (GetApplicationPolicyOutput) SDKResponseMetadata ¶
func (s GetApplicationPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetApplicationPolicyOutput) SetStatements ¶
func (s *GetApplicationPolicyOutput) SetStatements(v []ApplicationPolicyStatement) *GetApplicationPolicyOutput
SetStatements sets the Statements field's value.
func (GetApplicationPolicyOutput) String ¶
func (s GetApplicationPolicyOutput) String() string
String returns the string representation
type GetApplicationPolicyRequest ¶
type GetApplicationPolicyRequest struct { *aws.Request Input *GetApplicationPolicyInput }
GetApplicationPolicyRequest is a API request type for the GetApplicationPolicy API operation.
func (GetApplicationPolicyRequest) Send ¶
func (r GetApplicationPolicyRequest) Send() (*GetApplicationPolicyOutput, error)
Send marshals and sends the GetApplicationPolicy API request.
type GetApplicationRequest ¶
type GetApplicationRequest struct { *aws.Request Input *GetApplicationInput }
GetApplicationRequest is a API request type for the GetApplication API operation.
func (GetApplicationRequest) Send ¶
func (r GetApplicationRequest) Send() (*GetApplicationOutput, error)
Send marshals and sends the GetApplication API request.
type ListApplicationVersionsInput ¶
type ListApplicationVersionsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` MaxItems *int64 `location:"querystring" locationName:"maxItems" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsRequest
func (ListApplicationVersionsInput) GoString ¶
func (s ListApplicationVersionsInput) GoString() string
GoString returns the string representation
func (*ListApplicationVersionsInput) SetApplicationId ¶
func (s *ListApplicationVersionsInput) SetApplicationId(v string) *ListApplicationVersionsInput
SetApplicationId sets the ApplicationId field's value.
func (*ListApplicationVersionsInput) SetMaxItems ¶
func (s *ListApplicationVersionsInput) SetMaxItems(v int64) *ListApplicationVersionsInput
SetMaxItems sets the MaxItems field's value.
func (*ListApplicationVersionsInput) SetNextToken ¶
func (s *ListApplicationVersionsInput) SetNextToken(v string) *ListApplicationVersionsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationVersionsInput) String ¶
func (s ListApplicationVersionsInput) String() string
String returns the string representation
func (*ListApplicationVersionsInput) Validate ¶
func (s *ListApplicationVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationVersionsOutput ¶
type ListApplicationVersionsOutput struct { NextToken *string `locationName:"nextToken" type:"string"` Versions []VersionSummary `locationName:"versions" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsResponse
func (ListApplicationVersionsOutput) GoString ¶
func (s ListApplicationVersionsOutput) GoString() string
GoString returns the string representation
func (ListApplicationVersionsOutput) SDKResponseMetadata ¶
func (s ListApplicationVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListApplicationVersionsOutput) SetNextToken ¶
func (s *ListApplicationVersionsOutput) SetNextToken(v string) *ListApplicationVersionsOutput
SetNextToken sets the NextToken field's value.
func (*ListApplicationVersionsOutput) SetVersions ¶
func (s *ListApplicationVersionsOutput) SetVersions(v []VersionSummary) *ListApplicationVersionsOutput
SetVersions sets the Versions field's value.
func (ListApplicationVersionsOutput) String ¶
func (s ListApplicationVersionsOutput) String() string
String returns the string representation
type ListApplicationVersionsRequest ¶
type ListApplicationVersionsRequest struct { *aws.Request Input *ListApplicationVersionsInput }
ListApplicationVersionsRequest is a API request type for the ListApplicationVersions API operation.
func (ListApplicationVersionsRequest) Send ¶
func (r ListApplicationVersionsRequest) Send() (*ListApplicationVersionsOutput, error)
Send marshals and sends the ListApplicationVersions API request.
type ListApplicationsInput ¶
type ListApplicationsInput struct { MaxItems *int64 `location:"querystring" locationName:"maxItems" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsRequest
func (ListApplicationsInput) GoString ¶
func (s ListApplicationsInput) GoString() string
GoString returns the string representation
func (*ListApplicationsInput) SetMaxItems ¶
func (s *ListApplicationsInput) SetMaxItems(v int64) *ListApplicationsInput
SetMaxItems sets the MaxItems field's value.
func (*ListApplicationsInput) SetNextToken ¶
func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationsInput) String ¶
func (s ListApplicationsInput) String() string
String returns the string representation
func (*ListApplicationsInput) Validate ¶
func (s *ListApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { Applications []ApplicationSummary `locationName:"applications" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsResponse
func (ListApplicationsOutput) GoString ¶
func (s ListApplicationsOutput) GoString() string
GoString returns the string representation
func (ListApplicationsOutput) SDKResponseMetadata ¶
func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListApplicationsOutput) SetApplications ¶
func (s *ListApplicationsOutput) SetApplications(v []ApplicationSummary) *ListApplicationsOutput
SetApplications sets the Applications field's value.
func (*ListApplicationsOutput) SetNextToken ¶
func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { *aws.Request Input *ListApplicationsInput }
ListApplicationsRequest is a API request type for the ListApplications API operation.
func (ListApplicationsRequest) Send ¶
func (r ListApplicationsRequest) Send() (*ListApplicationsOutput, error)
Send marshals and sends the ListApplications API request.
type ParameterDefinition ¶
type ParameterDefinition struct { // A regular expression that represents the patterns to allow for String types. AllowedPattern *string `locationName:"allowedPattern" type:"string"` // Array containing the list of values allowed for the parameter. AllowedValues []string `locationName:"allowedValues" type:"list"` // A string that explains a constraint when the constraint is violated. For // example, without a constraint description,\n a parameter that has an allowed // pattern of [A-Za-z0-9]+ displays the following error message when the user\n // specifies an invalid value:\n\n Malformed input-Parameter MyParameter must // match pattern [A-Za-z0-9]+ \n \nBy adding a constraint description, such // as "must contain only uppercase and lowercase letters, and numbers," you // can display\n the following customized error message:\n\n Malformed input-Parameter // MyParameter must contain only uppercase and lowercase letters and numbers. ConstraintDescription *string `locationName:"constraintDescription" type:"string"` // A value of the appropriate type for the template to use if no value is specified // when a stack is created.\n If you define constraints for the parameter, you // must specify a value that adheres to those constraints. DefaultValue *string `locationName:"defaultValue" type:"string"` // A string of up to 4,000 characters that describes the parameter. Description *string `locationName:"description" type:"string"` // An integer value that determines the largest number of characters you want // to allow for String types. MaxLength *int64 `locationName:"maxLength" type:"integer"` // A numeric value that determines the largest numeric value you want to allow // for Number types. MaxValue *int64 `locationName:"maxValue" type:"integer"` // An integer value that determines the smallest number of characters you want // to allow for String types. MinLength *int64 `locationName:"minLength" type:"integer"` // A numeric value that determines the smallest numeric value you want to allow // for Number types. MinValue *int64 `locationName:"minValue" type:"integer"` // The name of the parameter. Name *string `locationName:"name" type:"string"` // Whether to mask the parameter value whenever anyone makes a call that describes // the stack. If you set the\n value to true, the parameter value is masked // with asterisks (*****). NoEcho *bool `locationName:"noEcho" type:"boolean"` // A list of SAM resources that use this parameter. ReferencedByResources []string `locationName:"referencedByResources" type:"list"` // The type of the parameter.\nValid values: String | Number | List | CommaDelimitedList // \n \n\n String : A literal string.\nFor example, users could specify "MyUserName" // .\n\n Number : An integer or float. AWS CloudFormation validates the parameter // value as a number; however, when you use the\n parameter elsewhere in your // template (for example, by using the Ref intrinsic function), the parameter // value becomes a string.\nFor example, users could specify "8888" .\n\n List // : An array of integers or floats that are separated by commas. AWS CloudFormation // validates the parameter value as numbers; however, when\n you use the parameter // elsewhere in your template (for example, by using the Ref intrinsic function), // the parameter value becomes a list of strings.\nFor example, users could // specify "80,20", and a Ref results in ["80","20"] .\n\n CommaDelimitedList // : An array of literal strings that are separated by commas. The total number // of strings should be one more than the total number of commas.\n Also, each // member string is space-trimmed.\nFor example, users could specify "test,dev,prod", // and a Ref results in ["test","dev","prod"] . Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Parameters supported by the application. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterDefinition
func (ParameterDefinition) GoString ¶
func (s ParameterDefinition) GoString() string
GoString returns the string representation
func (*ParameterDefinition) SetAllowedPattern ¶
func (s *ParameterDefinition) SetAllowedPattern(v string) *ParameterDefinition
SetAllowedPattern sets the AllowedPattern field's value.
func (*ParameterDefinition) SetAllowedValues ¶
func (s *ParameterDefinition) SetAllowedValues(v []string) *ParameterDefinition
SetAllowedValues sets the AllowedValues field's value.
func (*ParameterDefinition) SetConstraintDescription ¶
func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition
SetConstraintDescription sets the ConstraintDescription field's value.
func (*ParameterDefinition) SetDefaultValue ¶
func (s *ParameterDefinition) SetDefaultValue(v string) *ParameterDefinition
SetDefaultValue sets the DefaultValue field's value.
func (*ParameterDefinition) SetDescription ¶
func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition
SetDescription sets the Description field's value.
func (*ParameterDefinition) SetMaxLength ¶
func (s *ParameterDefinition) SetMaxLength(v int64) *ParameterDefinition
SetMaxLength sets the MaxLength field's value.
func (*ParameterDefinition) SetMaxValue ¶
func (s *ParameterDefinition) SetMaxValue(v int64) *ParameterDefinition
SetMaxValue sets the MaxValue field's value.
func (*ParameterDefinition) SetMinLength ¶
func (s *ParameterDefinition) SetMinLength(v int64) *ParameterDefinition
SetMinLength sets the MinLength field's value.
func (*ParameterDefinition) SetMinValue ¶
func (s *ParameterDefinition) SetMinValue(v int64) *ParameterDefinition
SetMinValue sets the MinValue field's value.
func (*ParameterDefinition) SetName ¶
func (s *ParameterDefinition) SetName(v string) *ParameterDefinition
SetName sets the Name field's value.
func (*ParameterDefinition) SetNoEcho ¶
func (s *ParameterDefinition) SetNoEcho(v bool) *ParameterDefinition
SetNoEcho sets the NoEcho field's value.
func (*ParameterDefinition) SetReferencedByResources ¶
func (s *ParameterDefinition) SetReferencedByResources(v []string) *ParameterDefinition
SetReferencedByResources sets the ReferencedByResources field's value.
func (*ParameterDefinition) SetType ¶
func (s *ParameterDefinition) SetType(v string) *ParameterDefinition
SetType sets the Type field's value.
func (ParameterDefinition) String ¶
func (s ParameterDefinition) String() string
String returns the string representation
type ParameterValue ¶
type ParameterValue struct { // The key associated with the parameter. If you don't specify a key and value // for a particular parameter, AWS CloudFormation\n uses the default value that // is specified in your template. Name *string `locationName:"name" type:"string"` // The input value associated with the parameter. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Parameter value of the application. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterValue
func (ParameterValue) GoString ¶
func (s ParameterValue) GoString() string
GoString returns the string representation
func (*ParameterValue) SetName ¶
func (s *ParameterValue) SetName(v string) *ParameterValue
SetName sets the Name field's value.
func (*ParameterValue) SetValue ¶
func (s *ParameterValue) SetValue(v string) *ParameterValue
SetValue sets the Value field's value.
func (ParameterValue) String ¶
func (s ParameterValue) String() string
String returns the string representation
type PutApplicationPolicyInput ¶
type PutApplicationPolicyInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` Statements []ApplicationPolicyStatement `locationName:"statements" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyRequest
func (PutApplicationPolicyInput) GoString ¶
func (s PutApplicationPolicyInput) GoString() string
GoString returns the string representation
func (*PutApplicationPolicyInput) SetApplicationId ¶
func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput
SetApplicationId sets the ApplicationId field's value.
func (*PutApplicationPolicyInput) SetStatements ¶
func (s *PutApplicationPolicyInput) SetStatements(v []ApplicationPolicyStatement) *PutApplicationPolicyInput
SetStatements sets the Statements field's value.
func (PutApplicationPolicyInput) String ¶
func (s PutApplicationPolicyInput) String() string
String returns the string representation
func (*PutApplicationPolicyInput) Validate ¶
func (s *PutApplicationPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutApplicationPolicyOutput ¶
type PutApplicationPolicyOutput struct { Statements []ApplicationPolicyStatement `locationName:"statements" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyResponse
func (PutApplicationPolicyOutput) GoString ¶
func (s PutApplicationPolicyOutput) GoString() string
GoString returns the string representation
func (PutApplicationPolicyOutput) SDKResponseMetadata ¶
func (s PutApplicationPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*PutApplicationPolicyOutput) SetStatements ¶
func (s *PutApplicationPolicyOutput) SetStatements(v []ApplicationPolicyStatement) *PutApplicationPolicyOutput
SetStatements sets the Statements field's value.
func (PutApplicationPolicyOutput) String ¶
func (s PutApplicationPolicyOutput) String() string
String returns the string representation
type PutApplicationPolicyRequest ¶
type PutApplicationPolicyRequest struct { *aws.Request Input *PutApplicationPolicyInput }
PutApplicationPolicyRequest is a API request type for the PutApplicationPolicy API operation.
func (PutApplicationPolicyRequest) Send ¶
func (r PutApplicationPolicyRequest) Send() (*PutApplicationPolicyOutput, error)
Send marshals and sends the PutApplicationPolicy API request.
type ServerlessApplicationRepository ¶
ServerlessApplicationRepository provides the API operation methods for making requests to AWSServerlessApplicationRepository. See this package's package overview docs for details on the service.
ServerlessApplicationRepository methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(config aws.Config) *ServerlessApplicationRepository
New creates a new instance of the ServerlessApplicationRepository client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ServerlessApplicationRepository client from just a config. svc := serverlessapplicationrepository.New(myConfig) // Create a ServerlessApplicationRepository client with additional configuration svc := serverlessapplicationrepository.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*ServerlessApplicationRepository) CreateApplicationRequest ¶
func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
CreateApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
// Example sending a request using the CreateApplicationRequest method. req := client.CreateApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication
func (*ServerlessApplicationRepository) CreateApplicationVersionRequest ¶
func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) CreateApplicationVersionRequest
CreateApplicationVersionRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Creates an application version.
// Example sending a request using the CreateApplicationVersionRequest method. req := client.CreateApplicationVersionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion
func (*ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest ¶
func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetInput) CreateCloudFormationChangeSetRequest
CreateCloudFormationChangeSetRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Creates an AWS CloudFormation ChangeSet for the given application.
// Example sending a request using the CreateCloudFormationChangeSetRequest method. req := client.CreateCloudFormationChangeSetRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet
func (*ServerlessApplicationRepository) GetApplicationPolicyRequest ¶
func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) GetApplicationPolicyRequest
GetApplicationPolicyRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Gets the policy for the specified application.
// Example sending a request using the GetApplicationPolicyRequest method. req := client.GetApplicationPolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy
func (*ServerlessApplicationRepository) GetApplicationRequest ¶
func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest
GetApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Gets the specified application.
// Example sending a request using the GetApplicationRequest method. req := client.GetApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication
func (*ServerlessApplicationRepository) ListApplicationVersionsRequest ¶
func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) ListApplicationVersionsRequest
ListApplicationVersionsRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Lists versions for the specified application.
// Example sending a request using the ListApplicationVersionsRequest method. req := client.ListApplicationVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions
func (*ServerlessApplicationRepository) ListApplicationsRequest ¶
func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
ListApplicationsRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Lists applications owned by the requester.
// Example sending a request using the ListApplicationsRequest method. req := client.ListApplicationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications
func (*ServerlessApplicationRepository) PutApplicationPolicyRequest ¶
func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) PutApplicationPolicyRequest
PutApplicationPolicyRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Puts the policy for the specified application.
// Example sending a request using the PutApplicationPolicyRequest method. req := client.PutApplicationPolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy
func (*ServerlessApplicationRepository) UpdateApplicationRequest ¶
func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
UpdateApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Updates the specified application.
// Example sending a request using the UpdateApplicationRequest method. req := client.UpdateApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` Author *string `locationName:"author" type:"string"` Description *string `locationName:"description" type:"string"` Labels []string `locationName:"labels" type:"list"` ReadmeBody *string `locationName:"readmeBody" type:"string"` ReadmeUrl *string `locationName:"readmeUrl" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationRequest
func (UpdateApplicationInput) GoString ¶
func (s UpdateApplicationInput) GoString() string
GoString returns the string representation
func (*UpdateApplicationInput) SetApplicationId ¶
func (s *UpdateApplicationInput) SetApplicationId(v string) *UpdateApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateApplicationInput) SetAuthor ¶
func (s *UpdateApplicationInput) SetAuthor(v string) *UpdateApplicationInput
SetAuthor sets the Author field's value.
func (*UpdateApplicationInput) SetDescription ¶
func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput
SetDescription sets the Description field's value.
func (*UpdateApplicationInput) SetLabels ¶
func (s *UpdateApplicationInput) SetLabels(v []string) *UpdateApplicationInput
SetLabels sets the Labels field's value.
func (*UpdateApplicationInput) SetReadmeBody ¶
func (s *UpdateApplicationInput) SetReadmeBody(v string) *UpdateApplicationInput
SetReadmeBody sets the ReadmeBody field's value.
func (*UpdateApplicationInput) SetReadmeUrl ¶
func (s *UpdateApplicationInput) SetReadmeUrl(v string) *UpdateApplicationInput
SetReadmeUrl sets the ReadmeUrl field's value.
func (UpdateApplicationInput) String ¶
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { ApplicationId *string `locationName:"applicationId" type:"string"` Author *string `locationName:"author" type:"string"` CreationTime *string `locationName:"creationTime" type:"string"` Description *string `locationName:"description" type:"string"` Labels []string `locationName:"labels" type:"list"` LicenseUrl *string `locationName:"licenseUrl" type:"string"` Name *string `locationName:"name" type:"string"` ReadmeUrl *string `locationName:"readmeUrl" type:"string"` SpdxLicenseId *string `locationName:"spdxLicenseId" type:"string"` // Application version details. Version *Version `locationName:"version" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationResponse
func (UpdateApplicationOutput) GoString ¶
func (s UpdateApplicationOutput) GoString() string
GoString returns the string representation
func (UpdateApplicationOutput) SDKResponseMetadata ¶
func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateApplicationOutput) SetApplicationId ¶
func (s *UpdateApplicationOutput) SetApplicationId(v string) *UpdateApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateApplicationOutput) SetAuthor ¶
func (s *UpdateApplicationOutput) SetAuthor(v string) *UpdateApplicationOutput
SetAuthor sets the Author field's value.
func (*UpdateApplicationOutput) SetCreationTime ¶
func (s *UpdateApplicationOutput) SetCreationTime(v string) *UpdateApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*UpdateApplicationOutput) SetDescription ¶
func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput
SetDescription sets the Description field's value.
func (*UpdateApplicationOutput) SetLabels ¶
func (s *UpdateApplicationOutput) SetLabels(v []string) *UpdateApplicationOutput
SetLabels sets the Labels field's value.
func (*UpdateApplicationOutput) SetLicenseUrl ¶
func (s *UpdateApplicationOutput) SetLicenseUrl(v string) *UpdateApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*UpdateApplicationOutput) SetName ¶
func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput
SetName sets the Name field's value.
func (*UpdateApplicationOutput) SetReadmeUrl ¶
func (s *UpdateApplicationOutput) SetReadmeUrl(v string) *UpdateApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*UpdateApplicationOutput) SetSpdxLicenseId ¶
func (s *UpdateApplicationOutput) SetSpdxLicenseId(v string) *UpdateApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*UpdateApplicationOutput) SetVersion ¶
func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput
SetVersion sets the Version field's value.
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput }
UpdateApplicationRequest is a API request type for the UpdateApplication API operation.
func (UpdateApplicationRequest) Send ¶
func (r UpdateApplicationRequest) Send() (*UpdateApplicationOutput, error)
Send marshals and sends the UpdateApplication API request.
type Version ¶
type Version struct { // The application Amazon Resource Name (ARN). ApplicationId *string `locationName:"applicationId" type:"string"` // The date/time this resource was created. CreationTime *string `locationName:"creationTime" type:"string"` // Array of parameter types supported by the application. ParameterDefinitions []ParameterDefinition `locationName:"parameterDefinitions" type:"list"` // The semantic version of the application:\n\n https://semver.org/ SemanticVersion *string `locationName:"semanticVersion" type:"string"` // A link to a public repository for the source code of your application. SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` // A link to the packaged SAM template of your application. TemplateUrl *string `locationName:"templateUrl" type:"string"` // contains filtered or unexported fields }
Application version details. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Version
func (*Version) SetApplicationId ¶
SetApplicationId sets the ApplicationId field's value.
func (*Version) SetCreationTime ¶
SetCreationTime sets the CreationTime field's value.
func (*Version) SetParameterDefinitions ¶
func (s *Version) SetParameterDefinitions(v []ParameterDefinition) *Version
SetParameterDefinitions sets the ParameterDefinitions field's value.
func (*Version) SetSemanticVersion ¶
SetSemanticVersion sets the SemanticVersion field's value.
func (*Version) SetSourceCodeUrl ¶
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*Version) SetTemplateUrl ¶
SetTemplateUrl sets the TemplateUrl field's value.
type VersionSummary ¶
type VersionSummary struct { // The application Amazon Resource Name (ARN). ApplicationId *string `locationName:"applicationId" type:"string"` // The date/time this resource was created. CreationTime *string `locationName:"creationTime" type:"string"` // The semantic version of the application:\n\n https://semver.org/ SemanticVersion *string `locationName:"semanticVersion" type:"string"` // A link to a public repository for the source code of your application. SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` // contains filtered or unexported fields }
Application version summary. Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/VersionSummary
func (VersionSummary) GoString ¶
func (s VersionSummary) GoString() string
GoString returns the string representation
func (*VersionSummary) SetApplicationId ¶
func (s *VersionSummary) SetApplicationId(v string) *VersionSummary
SetApplicationId sets the ApplicationId field's value.
func (*VersionSummary) SetCreationTime ¶
func (s *VersionSummary) SetCreationTime(v string) *VersionSummary
SetCreationTime sets the CreationTime field's value.
func (*VersionSummary) SetSemanticVersion ¶
func (s *VersionSummary) SetSemanticVersion(v string) *VersionSummary
SetSemanticVersion sets the SemanticVersion field's value.
func (*VersionSummary) SetSourceCodeUrl ¶
func (s *VersionSummary) SetSourceCodeUrl(v string) *VersionSummary
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (VersionSummary) String ¶
func (s VersionSummary) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package serverlessapplicationrepositoryiface provides an interface to enable mocking the AWSServerlessApplicationRepository service client for testing your code.
|
Package serverlessapplicationrepositoryiface provides an interface to enable mocking the AWSServerlessApplicationRepository service client for testing your code. |