Documentation ¶
Overview ¶
Package serverlessapplicationrepository provides the client and types for making API requests to AWSServerlessApplicationRepository.
The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find and deploy serverless applications in the AWS Cloud. For more information about serverless applications, see Serverless Computing and Applications on the AWS website.
The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of all levels can get started with serverless computing without needing to learn anything new. You can use category keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, configure any required fields, and deploy it with a few clicks.
You can also easily publish applications, sharing them publicly with the community at large, or privately within your team or across your organization. To publish a serverless application (or app), you can use the AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template. For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs GitHub repository.
The AWS Serverless Application Repository Developer Guide contains more information about the two developer experiences available:
- Consuming Applications – Browse for applications and view information about them, including source code and readme files. Also install, configure, and deploy applications of your choosing.
Publishing Applications – Configure and upload applications to make them
available to other developers, and publish new versions of applications.
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
- type ApplicationSummary
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateApplicationVersionInput
- type CreateApplicationVersionOutput
- type CreateApplicationVersionRequest
- type CreateCloudFormationChangeSetInput
- type CreateCloudFormationChangeSetOutput
- type CreateCloudFormationChangeSetRequest
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteApplicationRequest
- type GetApplicationInput
- type GetApplicationOutput
- type GetApplicationPolicyInput
- type GetApplicationPolicyOutput
- type GetApplicationPolicyRequest
- type GetApplicationRequest
- type ListApplicationVersionsInput
- type ListApplicationVersionsOutput
- type ListApplicationVersionsPager
- type ListApplicationVersionsRequest
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListApplicationsPager
- type ListApplicationsRequest
- type ParameterDefinition
- type ParameterValue
- type PutApplicationPolicyInput
- 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) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
- 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
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type Version
- type VersionSummary
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: // // GetApplication // // CreateCloudFormationChangeSet // // ListApplicationVersions // // SearchApplications // // Deploy (Note: This action enables all other actions above.) // // Actions is a required field Actions []string `locationName:"actions" type:"list" required:"true"` // An AWS account ID, or * to make the application public. // // Principals is a required field Principals []string `locationName:"principals" type:"list" required:"true"` // 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) MarshalFields ¶
func (s ApplicationPolicyStatement) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ApplicationPolicyStatement) String ¶
func (s ApplicationPolicyStatement) String() string
String returns the string representation
func (*ApplicationPolicyStatement) Validate ¶
func (s *ApplicationPolicyStatement) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApplicationSummary ¶
type ApplicationSummary struct { // The application ARN. // // ApplicationId is a required field ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` // The name of the author publishing the app. // // Min Length=1. Max Length=127. // // Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$"; // // Author is a required field Author *string `locationName:"author" type:"string" required:"true"` // The date/time this resource was created. CreationTime *string `locationName:"creationTime" type:"string"` // The description of the application. // // Min Length=1. Max Length=256 // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` // A URL with more information about the application, for example the location // of your GitHub repository for the application. HomePageUrl *string `locationName:"homePageUrl" type:"string"` // Labels to improve discovery of apps in search results. // // Min Length=1. Max Length=127. Maximum number of labels: 10 // // Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$"; Labels []string `locationName:"labels" type:"list"` // The name of the application. // // Min Length=1. Max Length=140 // // Pattern: "[a-zA-Z0-9\\-]+"; // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A valid identifier from https://spdx.org/licenses/ (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) MarshalFields ¶
func (s ApplicationSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` 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"` 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) MarshalFields ¶
func (s CreateApplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` HomePageUrl *string `locationName:"homePageUrl" 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) MarshalFields ¶
func (s CreateApplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApplicationOutput) SDKResponseMetadata ¶
func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput Copy func(*CreateApplicationInput) CreateApplicationRequest }
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) MarshalFields ¶
func (s CreateApplicationVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateApplicationVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApplicationVersionOutput) SDKResponseMetadata ¶
func (s CreateApplicationVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateApplicationVersionOutput) String ¶
func (s CreateApplicationVersionOutput) String() string
String returns the string representation
type CreateApplicationVersionRequest ¶
type CreateApplicationVersionRequest struct { *aws.Request Input *CreateApplicationVersionInput Copy func(*CreateApplicationVersionInput) CreateApplicationVersionRequest }
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) MarshalFields ¶
func (s CreateCloudFormationChangeSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateCloudFormationChangeSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateCloudFormationChangeSetOutput) SDKResponseMetadata ¶
func (s CreateCloudFormationChangeSetOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateCloudFormationChangeSetOutput) String ¶
func (s CreateCloudFormationChangeSetOutput) String() string
String returns the string representation
type CreateCloudFormationChangeSetRequest ¶
type CreateCloudFormationChangeSetRequest struct { *aws.Request Input *CreateCloudFormationChangeSetInput Copy func(*CreateCloudFormationChangeSetInput) CreateCloudFormationChangeSetRequest }
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 DeleteApplicationInput ¶
type DeleteApplicationInput 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/DeleteApplicationRequest
func (DeleteApplicationInput) GoString ¶
func (s DeleteApplicationInput) GoString() string
GoString returns the string representation
func (DeleteApplicationInput) MarshalFields ¶
func (s DeleteApplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApplicationInput) String ¶
func (s DeleteApplicationInput) String() string
String returns the string representation
func (*DeleteApplicationInput) Validate ¶
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplicationOutput
func (DeleteApplicationOutput) GoString ¶
func (s DeleteApplicationOutput) GoString() string
GoString returns the string representation
func (DeleteApplicationOutput) MarshalFields ¶
func (s DeleteApplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApplicationOutput) SDKResponseMetadata ¶
func (s DeleteApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteApplicationOutput) String ¶
func (s DeleteApplicationOutput) String() string
String returns the string representation
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *aws.Request Input *DeleteApplicationInput Copy func(*DeleteApplicationInput) DeleteApplicationRequest }
DeleteApplicationRequest is a API request type for the DeleteApplication API operation.
func (DeleteApplicationRequest) Send ¶
func (r DeleteApplicationRequest) Send() (*DeleteApplicationOutput, error)
Send marshals and sends the DeleteApplication 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) MarshalFields ¶
func (s GetApplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` HomePageUrl *string `locationName:"homePageUrl" 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) MarshalFields ¶
func (s GetApplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetApplicationOutput) SDKResponseMetadata ¶
func (s GetApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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) MarshalFields ¶
func (s GetApplicationPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s GetApplicationPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetApplicationPolicyOutput) SDKResponseMetadata ¶
func (s GetApplicationPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetApplicationPolicyOutput) String ¶
func (s GetApplicationPolicyOutput) String() string
String returns the string representation
type GetApplicationPolicyRequest ¶
type GetApplicationPolicyRequest struct { *aws.Request Input *GetApplicationPolicyInput Copy func(*GetApplicationPolicyInput) GetApplicationPolicyRequest }
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 Copy func(*GetApplicationInput) GetApplicationRequest }
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) MarshalFields ¶
func (s ListApplicationVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s ListApplicationVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListApplicationVersionsOutput) SDKResponseMetadata ¶
func (s ListApplicationVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListApplicationVersionsOutput) String ¶
func (s ListApplicationVersionsOutput) String() string
String returns the string representation
type ListApplicationVersionsPager ¶
ListApplicationVersionsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListApplicationVersionsPager) CurrentPage ¶
func (p *ListApplicationVersionsPager) CurrentPage() *ListApplicationVersionsOutput
type ListApplicationVersionsRequest ¶
type ListApplicationVersionsRequest struct { *aws.Request Input *ListApplicationVersionsInput Copy func(*ListApplicationVersionsInput) ListApplicationVersionsRequest }
ListApplicationVersionsRequest is a API request type for the ListApplicationVersions API operation.
func (*ListApplicationVersionsRequest) Paginate ¶
func (p *ListApplicationVersionsRequest) Paginate(opts ...aws.Option) ListApplicationVersionsPager
Paginate pages iterates over the pages of a ListApplicationVersionsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplicationVersions operation. req := client.ListApplicationVersionsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
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) MarshalFields ¶
func (s ListApplicationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s ListApplicationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListApplicationsOutput) SDKResponseMetadata ¶
func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListApplicationsPager ¶
ListApplicationsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListApplicationsPager) CurrentPage ¶
func (p *ListApplicationsPager) CurrentPage() *ListApplicationsOutput
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { *aws.Request Input *ListApplicationsInput Copy func(*ListApplicationsInput) ListApplicationsRequest }
ListApplicationsRequest is a API request type for the ListApplications API operation.
func (*ListApplicationsRequest) Paginate ¶
func (p *ListApplicationsRequest) Paginate(opts ...aws.Option) ListApplicationsPager
Paginate pages iterates over the pages of a ListApplicationsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplications operation. req := client.ListApplicationsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
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, a parameter that has an allowed // pattern of [A-Za-z0-9]+ displays the following error message when the user // specifies an invalid value: // // Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+ // // By adding a constraint description, such as "must contain only uppercase // and lowercase letters, and numbers," you can display the following customized // error message: // // 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. 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 is a required field Name *string `locationName:"name" type:"string" required:"true"` // Whether to mask the parameter value whenever anyone makes a call that describes // the stack. If you set the value to true, the parameter value is masked with // asterisks (*****). NoEcho *bool `locationName:"noEcho" type:"boolean"` // A list of AWS SAM resources that use this parameter. // // ReferencedByResources is a required field ReferencedByResources []string `locationName:"referencedByResources" type:"list" required:"true"` // The type of the parameter. // // Valid values: String | Number | List<Number> | CommaDelimitedList // // String: A literal string. // // For example, users could specify "MyUserName". // // Number: An integer or float. AWS CloudFormation validates the parameter value // as a number; however, when you use the parameter elsewhere in your template // (for example, by using the Ref intrinsic function), the parameter value becomes // a string. // // For example, users could specify "8888". // // List<Number>: An array of integers or floats that are separated by commas. // AWS CloudFormation validates the parameter value as numbers; however, when // you use the parameter elsewhere in your template (for example, by using the // Ref intrinsic function), the parameter value becomes a list of strings. // // For example, users could specify "80,20", and a Ref results in ["80","20"]. // // 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. // Also, each member string is space-trimmed. // // For 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) MarshalFields ¶
func (s ParameterDefinition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 uses the default value that // is specified in your template. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The input value associated with the parameter. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // 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) MarshalFields ¶
func (s ParameterValue) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ParameterValue) String ¶
func (s ParameterValue) String() string
String returns the string representation
func (*ParameterValue) Validate ¶
func (s *ParameterValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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) MarshalFields ¶
func (s PutApplicationPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s PutApplicationPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutApplicationPolicyOutput) SDKResponseMetadata ¶
func (s PutApplicationPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutApplicationPolicyOutput) String ¶
func (s PutApplicationPolicyOutput) String() string
String returns the string representation
type PutApplicationPolicyRequest ¶
type PutApplicationPolicyRequest struct { *aws.Request Input *PutApplicationPolicyInput Copy func(*PutApplicationPolicyInput) PutApplicationPolicyRequest }
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.
Example:
// Create a ServerlessApplicationRepository client from just a config. svc := serverlessapplicationrepository.New(myConfig)
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) DeleteApplicationRequest ¶
func (c *ServerlessApplicationRepository) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
DeleteApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.
Deletes the specified application.
// Example sending a request using the DeleteApplicationRequest method. req := client.DeleteApplicationRequest(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/DeleteApplication
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"` HomePageUrl *string `locationName:"homePageUrl" 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) MarshalFields ¶
func (s UpdateApplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` HomePageUrl *string `locationName:"homePageUrl" 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) MarshalFields ¶
func (s UpdateApplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApplicationOutput) SDKResponseMetadata ¶
func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput Copy func(*UpdateApplicationInput) UpdateApplicationRequest }
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 is a required field ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` // The date/time this resource was created. // // CreationTime is a required field CreationTime *string `locationName:"creationTime" type:"string" required:"true"` // Array of parameter types supported by the application. // // ParameterDefinitions is a required field ParameterDefinitions []ParameterDefinition `locationName:"parameterDefinitions" type:"list" required:"true"` // The semantic version of the application: // // https://semver.org/ (https://semver.org/) // // SemanticVersion is a required field SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"` // A link to a public repository for the source code of your application. SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"` // A link to the packaged AWS SAM template of your application. // // TemplateUrl is a required field TemplateUrl *string `locationName:"templateUrl" type:"string" required:"true"` // 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) MarshalFields ¶
func (s Version) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type VersionSummary ¶
type VersionSummary struct { // The application Amazon Resource Name (ARN). // // ApplicationId is a required field ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` // The date/time this resource was created. // // CreationTime is a required field CreationTime *string `locationName:"creationTime" type:"string" required:"true"` // The semantic version of the application: // // https://semver.org/ (https://semver.org/) // // SemanticVersion is a required field SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"` // 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) MarshalFields ¶
func (s VersionSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. |