serverlessapplicationrepository

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 16

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 use 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 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/serverlessapplicationrepository/#New

Index

Constants

View Source
const (
	ServiceName = "AWSServerlessApplicationRepository" // Service's name
	ServiceID   = "ServerlessApplicationRepository"    // Service's identifier
	EndpointsID = "serverlessrepo"                     // Service's Endpoint identifier
)
View Source
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
	// doesn't exist.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// The client is sending more than the allowed number of requests per unit of
	// time.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationDependencySummary added in v0.6.0

type ApplicationDependencySummary struct {

	// The Amazon Resource Name (ARN) of the nested application.
	//
	// ApplicationId is a required field
	ApplicationId *string `locationName:"applicationId" type:"string" required:"true"`

	// The semantic version of the nested application.
	//
	// SemanticVersion is a required field
	SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A nested application summary.

func (ApplicationDependencySummary) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApplicationDependencySummary) String added in v0.6.0

String returns the string representation

type ApplicationPolicyStatement

type ApplicationPolicyStatement struct {

	// For the list of actions supported for this operation, see Application Permissions
	// (https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions).
	//
	// Actions is a required field
	Actions []string `locationName:"actions" type:"list" required:"true"`

	// An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#principal-org-id)
	// global condition key.
	PrincipalOrgIDs []string `locationName:"principalOrgIDs" type:"list"`

	// An array of AWS account IDs, 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.

func (ApplicationPolicyStatement) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApplicationPolicyStatement) String

String returns the string representation

func (*ApplicationPolicyStatement) Validate added in v0.3.0

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 Amazon Resource Name (ARN).
	//
	// ApplicationId is a required field
	ApplicationId *string `locationName:"applicationId" type:"string" required:"true"`

	// The name of the author publishing the app.
	//
	// Minimum length=1. Maximum 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 and time this resource was created.
	CreationTime *string `locationName:"creationTime" type:"string"`

	// The description of the application.
	//
	// Minimum length=1. Maximum 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.
	//
	// Minimum length=1. Maximum length=127. Maximum number of labels: 10
	//
	// Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
	Labels []string `locationName:"labels" type:"list"`

	// The name of the application.
	//
	// Minimum length=1. Maximum 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.

func (ApplicationSummary) MarshalFields added in v0.3.0

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 Capability added in v0.6.0

type Capability string

Values that must be specified in order to deploy some applications.

const (
	CapabilityCapabilityIam            Capability = "CAPABILITY_IAM"
	CapabilityCapabilityNamedIam       Capability = "CAPABILITY_NAMED_IAM"
	CapabilityCapabilityAutoExpand     Capability = "CAPABILITY_AUTO_EXPAND"
	CapabilityCapabilityResourcePolicy Capability = "CAPABILITY_RESOURCE_POLICY"
)

Enum values for Capability

func (Capability) MarshalValue added in v0.6.0

func (enum Capability) MarshalValue() (string, error)

func (Capability) MarshalValueBuf added in v0.6.0

func (enum Capability) MarshalValueBuf(b []byte) ([]byte, error)

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWSServerlessApplicationRepository. See this package's package overview docs for details on the service.

The client's 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) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := serverlessapplicationrepository.New(myConfig)

func (*Client) CreateApplicationRequest added in v0.9.0

func (c *Client) 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 CreateApplicationRequest.
req := client.CreateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication

func (*Client) CreateApplicationVersionRequest added in v0.9.0

func (c *Client) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) CreateApplicationVersionRequest

CreateApplicationVersionRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Creates an application version.

// Example sending a request using CreateApplicationVersionRequest.
req := client.CreateApplicationVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion

func (*Client) CreateCloudFormationChangeSetRequest added in v0.9.0

func (c *Client) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetInput) CreateCloudFormationChangeSetRequest

CreateCloudFormationChangeSetRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Creates an AWS CloudFormation change set for the given application.

// Example sending a request using CreateCloudFormationChangeSetRequest.
req := client.CreateCloudFormationChangeSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet

func (*Client) CreateCloudFormationTemplateRequest added in v0.9.0

func (c *Client) CreateCloudFormationTemplateRequest(input *CreateCloudFormationTemplateInput) CreateCloudFormationTemplateRequest

CreateCloudFormationTemplateRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Creates an AWS CloudFormation template.

// Example sending a request using CreateCloudFormationTemplateRequest.
req := client.CreateCloudFormationTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate

func (*Client) DeleteApplicationRequest added in v0.9.0

func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest

DeleteApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Deletes the specified application.

// Example sending a request using DeleteApplicationRequest.
req := client.DeleteApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplication

func (*Client) GetApplicationPolicyRequest added in v0.9.0

func (c *Client) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) GetApplicationPolicyRequest

GetApplicationPolicyRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Retrieves the policy for the application.

// Example sending a request using GetApplicationPolicyRequest.
req := client.GetApplicationPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy

func (*Client) GetApplicationRequest added in v0.9.0

func (c *Client) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest

GetApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Gets the specified application.

// Example sending a request using GetApplicationRequest.
req := client.GetApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication

func (*Client) GetCloudFormationTemplateRequest added in v0.9.0

func (c *Client) GetCloudFormationTemplateRequest(input *GetCloudFormationTemplateInput) GetCloudFormationTemplateRequest

GetCloudFormationTemplateRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Gets the specified AWS CloudFormation template.

// Example sending a request using GetCloudFormationTemplateRequest.
req := client.GetCloudFormationTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate

func (*Client) ListApplicationDependenciesRequest added in v0.9.0

func (c *Client) ListApplicationDependenciesRequest(input *ListApplicationDependenciesInput) ListApplicationDependenciesRequest

ListApplicationDependenciesRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Retrieves the list of applications nested in the containing application.

// Example sending a request using ListApplicationDependenciesRequest.
req := client.ListApplicationDependenciesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationDependencies

func (*Client) ListApplicationVersionsRequest added in v0.9.0

func (c *Client) 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 ListApplicationVersionsRequest.
req := client.ListApplicationVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions

func (*Client) ListApplicationsRequest added in v0.9.0

func (c *Client) 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 ListApplicationsRequest.
req := client.ListApplicationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications

func (*Client) PutApplicationPolicyRequest added in v0.9.0

func (c *Client) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) PutApplicationPolicyRequest

PutApplicationPolicyRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions (https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions) .

// Example sending a request using PutApplicationPolicyRequest.
req := client.PutApplicationPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy

func (*Client) UnshareApplicationRequest added in v0.20.0

func (c *Client) UnshareApplicationRequest(input *UnshareApplicationInput) UnshareApplicationRequest

UnshareApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Unshares an application from an AWS Organization.

This operation can be called only from the organization's master account.

// Example sending a request using UnshareApplicationRequest.
req := client.UnshareApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication

func (*Client) UpdateApplicationRequest added in v0.9.0

func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest

UpdateApplicationRequest returns a request value for making API operation for AWSServerlessApplicationRepository.

Updates the specified application.

// Example sending a request using UpdateApplicationRequest.
req := client.UpdateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication

type CreateApplicationInput

type CreateApplicationInput struct {

	// Author is a required field
	Author *string `locationName:"author" type:"string" required:"true"`

	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	HomePageUrl *string `locationName:"homePageUrl" type:"string"`

	Labels []string `locationName:"labels" type:"list"`

	LicenseBody *string `locationName:"licenseBody" type:"string"`

	LicenseUrl *string `locationName:"licenseUrl" type:"string"`

	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	ReadmeBody *string `locationName:"readmeBody" type:"string"`

	ReadmeUrl *string `locationName:"readmeUrl" type:"string"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`

	SourceCodeArchiveUrl *string `locationName:"sourceCodeArchiveUrl" 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
}

func (CreateApplicationInput) MarshalFields added in v0.3.0

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

func (*CreateApplicationInput) Validate added in v0.5.0

func (s *CreateApplicationInput) Validate() error

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

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"`

	IsVerifiedAuthor *bool `locationName:"isVerifiedAuthor" type:"boolean"`

	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"`

	VerifiedAuthorUrl *string `locationName:"verifiedAuthorUrl" type:"string"`

	// Application version details.
	Version *Version `locationName:"version" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateApplicationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 the request type for the CreateApplication API operation.

func (CreateApplicationRequest) Send

Send marshals and sends the CreateApplication API request.

type CreateApplicationResponse added in v0.9.0

type CreateApplicationResponse struct {
	*CreateApplicationOutput
	// contains filtered or unexported fields
}

CreateApplicationResponse is the response type for the CreateApplication API operation.

func (*CreateApplicationResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApplication 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"`

	SourceCodeArchiveUrl *string `locationName:"sourceCodeArchiveUrl" type:"string"`

	SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"`

	TemplateBody *string `locationName:"templateBody" type:"string"`

	TemplateUrl *string `locationName:"templateUrl" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApplicationVersionInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationVersionInput) 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"`

	RequiredCapabilities []Capability `locationName:"requiredCapabilities" type:"list"`

	ResourcesSupported *bool `locationName:"resourcesSupported" type:"boolean"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`

	SourceCodeArchiveUrl *string `locationName:"sourceCodeArchiveUrl" type:"string"`

	SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"`

	TemplateUrl *string `locationName:"templateUrl" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApplicationVersionOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationVersionOutput) String

String returns the string representation

type CreateApplicationVersionRequest

type CreateApplicationVersionRequest struct {
	*aws.Request
	Input *CreateApplicationVersionInput
	Copy  func(*CreateApplicationVersionInput) CreateApplicationVersionRequest
}

CreateApplicationVersionRequest is the request type for the CreateApplicationVersion API operation.

func (CreateApplicationVersionRequest) Send

Send marshals and sends the CreateApplicationVersion API request.

type CreateApplicationVersionResponse added in v0.9.0

type CreateApplicationVersionResponse struct {
	*CreateApplicationVersionOutput
	// contains filtered or unexported fields
}

CreateApplicationVersionResponse is the response type for the CreateApplicationVersion API operation.

func (*CreateApplicationVersionResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateApplicationVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApplicationVersion request.

type CreateCloudFormationChangeSetInput

type CreateCloudFormationChangeSetInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"`

	Capabilities []string `locationName:"capabilities" type:"list"`

	ChangeSetName *string `locationName:"changeSetName" type:"string"`

	ClientToken *string `locationName:"clientToken" type:"string"`

	Description *string `locationName:"description" type:"string"`

	NotificationArns []string `locationName:"notificationArns" type:"list"`

	ParameterOverrides []ParameterValue `locationName:"parameterOverrides" type:"list"`

	ResourceTypes []string `locationName:"resourceTypes" type:"list"`

	// This property corresponds to the AWS CloudFormation RollbackConfiguration
	// (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration)
	// Data Type.
	RollbackConfiguration *RollbackConfiguration `locationName:"rollbackConfiguration" type:"structure"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`

	// StackName is a required field
	StackName *string `locationName:"stackName" type:"string" required:"true"`

	Tags []Tag `locationName:"tags" type:"list"`

	TemplateId *string `locationName:"templateId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateCloudFormationChangeSetInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCloudFormationChangeSetInput) String

String returns the string representation

func (*CreateCloudFormationChangeSetInput) Validate

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
}

func (CreateCloudFormationChangeSetOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCloudFormationChangeSetOutput) String

String returns the string representation

type CreateCloudFormationChangeSetRequest

type CreateCloudFormationChangeSetRequest struct {
	*aws.Request
	Input *CreateCloudFormationChangeSetInput
	Copy  func(*CreateCloudFormationChangeSetInput) CreateCloudFormationChangeSetRequest
}

CreateCloudFormationChangeSetRequest is the request type for the CreateCloudFormationChangeSet API operation.

func (CreateCloudFormationChangeSetRequest) Send

Send marshals and sends the CreateCloudFormationChangeSet API request.

type CreateCloudFormationChangeSetResponse added in v0.9.0

type CreateCloudFormationChangeSetResponse struct {
	*CreateCloudFormationChangeSetOutput
	// contains filtered or unexported fields
}

CreateCloudFormationChangeSetResponse is the response type for the CreateCloudFormationChangeSet API operation.

func (*CreateCloudFormationChangeSetResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateCloudFormationChangeSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateCloudFormationChangeSet request.

type CreateCloudFormationTemplateInput added in v0.6.0

type CreateCloudFormationTemplateInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`
	// contains filtered or unexported fields
}

func (CreateCloudFormationTemplateInput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCloudFormationTemplateInput) String added in v0.6.0

String returns the string representation

func (*CreateCloudFormationTemplateInput) Validate added in v0.6.0

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

type CreateCloudFormationTemplateOutput added in v0.6.0

type CreateCloudFormationTemplateOutput struct {
	ApplicationId *string `locationName:"applicationId" type:"string"`

	CreationTime *string `locationName:"creationTime" type:"string"`

	ExpirationTime *string `locationName:"expirationTime" type:"string"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`

	Status Status `locationName:"status" type:"string" enum:"true"`

	TemplateId *string `locationName:"templateId" type:"string"`

	TemplateUrl *string `locationName:"templateUrl" type:"string"`
	// contains filtered or unexported fields
}

func (CreateCloudFormationTemplateOutput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCloudFormationTemplateOutput) String added in v0.6.0

String returns the string representation

type CreateCloudFormationTemplateRequest added in v0.6.0

type CreateCloudFormationTemplateRequest struct {
	*aws.Request
	Input *CreateCloudFormationTemplateInput
	Copy  func(*CreateCloudFormationTemplateInput) CreateCloudFormationTemplateRequest
}

CreateCloudFormationTemplateRequest is the request type for the CreateCloudFormationTemplate API operation.

func (CreateCloudFormationTemplateRequest) Send added in v0.6.0

Send marshals and sends the CreateCloudFormationTemplate API request.

type CreateCloudFormationTemplateResponse added in v0.9.0

type CreateCloudFormationTemplateResponse struct {
	*CreateCloudFormationTemplateOutput
	// contains filtered or unexported fields
}

CreateCloudFormationTemplateResponse is the response type for the CreateCloudFormationTemplate API operation.

func (*CreateCloudFormationTemplateResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateCloudFormationTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateCloudFormationTemplate request.

type DeleteApplicationInput added in v0.3.0

type DeleteApplicationInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApplicationInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationInput) String added in v0.3.0

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate added in v0.3.0

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput added in v0.3.0

type DeleteApplicationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApplicationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationOutput) String added in v0.3.0

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationRequest added in v0.3.0

type DeleteApplicationRequest struct {
	*aws.Request
	Input *DeleteApplicationInput
	Copy  func(*DeleteApplicationInput) DeleteApplicationRequest
}

DeleteApplicationRequest is the request type for the DeleteApplication API operation.

func (DeleteApplicationRequest) Send added in v0.3.0

Send marshals and sends the DeleteApplication API request.

type DeleteApplicationResponse added in v0.9.0

type DeleteApplicationResponse struct {
	*DeleteApplicationOutput
	// contains filtered or unexported fields
}

DeleteApplicationResponse is the response type for the DeleteApplication API operation.

func (*DeleteApplicationResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApplication 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
}

func (GetApplicationInput) MarshalFields added in v0.3.0

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"`

	IsVerifiedAuthor *bool `locationName:"isVerifiedAuthor" type:"boolean"`

	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"`

	VerifiedAuthorUrl *string `locationName:"verifiedAuthorUrl" type:"string"`

	// Application version details.
	Version *Version `locationName:"version" type:"structure"`
	// contains filtered or unexported fields
}

func (GetApplicationOutput) MarshalFields added in v0.3.0

func (s GetApplicationOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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
}

func (GetApplicationPolicyInput) MarshalFields added in v0.3.0

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
}

func (GetApplicationPolicyOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationPolicyOutput) String

String returns the string representation

type GetApplicationPolicyRequest

type GetApplicationPolicyRequest struct {
	*aws.Request
	Input *GetApplicationPolicyInput
	Copy  func(*GetApplicationPolicyInput) GetApplicationPolicyRequest
}

GetApplicationPolicyRequest is the request type for the GetApplicationPolicy API operation.

func (GetApplicationPolicyRequest) Send

Send marshals and sends the GetApplicationPolicy API request.

type GetApplicationPolicyResponse added in v0.9.0

type GetApplicationPolicyResponse struct {
	*GetApplicationPolicyOutput
	// contains filtered or unexported fields
}

GetApplicationPolicyResponse is the response type for the GetApplicationPolicy API operation.

func (*GetApplicationPolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApplicationPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApplicationPolicy request.

type GetApplicationRequest

type GetApplicationRequest struct {
	*aws.Request
	Input *GetApplicationInput
	Copy  func(*GetApplicationInput) GetApplicationRequest
}

GetApplicationRequest is the request type for the GetApplication API operation.

func (GetApplicationRequest) Send

Send marshals and sends the GetApplication API request.

type GetApplicationResponse added in v0.9.0

type GetApplicationResponse struct {
	*GetApplicationOutput
	// contains filtered or unexported fields
}

GetApplicationResponse is the response type for the GetApplication API operation.

func (*GetApplicationResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApplication request.

type GetCloudFormationTemplateInput added in v0.6.0

type GetCloudFormationTemplateInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"`

	// TemplateId is a required field
	TemplateId *string `location:"uri" locationName:"templateId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCloudFormationTemplateInput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCloudFormationTemplateInput) String added in v0.6.0

String returns the string representation

func (*GetCloudFormationTemplateInput) Validate added in v0.6.0

func (s *GetCloudFormationTemplateInput) Validate() error

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

type GetCloudFormationTemplateOutput added in v0.6.0

type GetCloudFormationTemplateOutput struct {
	ApplicationId *string `locationName:"applicationId" type:"string"`

	CreationTime *string `locationName:"creationTime" type:"string"`

	ExpirationTime *string `locationName:"expirationTime" type:"string"`

	SemanticVersion *string `locationName:"semanticVersion" type:"string"`

	Status Status `locationName:"status" type:"string" enum:"true"`

	TemplateId *string `locationName:"templateId" type:"string"`

	TemplateUrl *string `locationName:"templateUrl" type:"string"`
	// contains filtered or unexported fields
}

func (GetCloudFormationTemplateOutput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCloudFormationTemplateOutput) String added in v0.6.0

String returns the string representation

type GetCloudFormationTemplateRequest added in v0.6.0

type GetCloudFormationTemplateRequest struct {
	*aws.Request
	Input *GetCloudFormationTemplateInput
	Copy  func(*GetCloudFormationTemplateInput) GetCloudFormationTemplateRequest
}

GetCloudFormationTemplateRequest is the request type for the GetCloudFormationTemplate API operation.

func (GetCloudFormationTemplateRequest) Send added in v0.6.0

Send marshals and sends the GetCloudFormationTemplate API request.

type GetCloudFormationTemplateResponse added in v0.9.0

type GetCloudFormationTemplateResponse struct {
	*GetCloudFormationTemplateOutput
	// contains filtered or unexported fields
}

GetCloudFormationTemplateResponse is the response type for the GetCloudFormationTemplate API operation.

func (*GetCloudFormationTemplateResponse) SDKResponseMetdata added in v0.9.0

func (r *GetCloudFormationTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetCloudFormationTemplate request.

type ListApplicationDependenciesInput added in v0.6.0

type ListApplicationDependenciesInput 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"`

	SemanticVersion *string `location:"querystring" locationName:"semanticVersion" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationDependenciesInput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationDependenciesInput) String added in v0.6.0

String returns the string representation

func (*ListApplicationDependenciesInput) Validate added in v0.6.0

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

type ListApplicationDependenciesOutput added in v0.6.0

type ListApplicationDependenciesOutput struct {
	Dependencies []ApplicationDependencySummary `locationName:"dependencies" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationDependenciesOutput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationDependenciesOutput) String added in v0.6.0

String returns the string representation

type ListApplicationDependenciesPaginator added in v0.9.0

type ListApplicationDependenciesPaginator struct {
	aws.Pager
}

ListApplicationDependenciesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListApplicationDependenciesPaginator added in v0.9.0

func NewListApplicationDependenciesPaginator(req ListApplicationDependenciesRequest) ListApplicationDependenciesPaginator

NewListApplicationDependenciesRequestPaginator returns a paginator for ListApplicationDependencies. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListApplicationDependenciesRequest(input)
p := serverlessapplicationrepository.NewListApplicationDependenciesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListApplicationDependenciesPaginator) CurrentPage added in v0.9.0

type ListApplicationDependenciesRequest added in v0.6.0

type ListApplicationDependenciesRequest struct {
	*aws.Request
	Input *ListApplicationDependenciesInput
	Copy  func(*ListApplicationDependenciesInput) ListApplicationDependenciesRequest
}

ListApplicationDependenciesRequest is the request type for the ListApplicationDependencies API operation.

func (ListApplicationDependenciesRequest) Send added in v0.6.0

Send marshals and sends the ListApplicationDependencies API request.

type ListApplicationDependenciesResponse added in v0.9.0

type ListApplicationDependenciesResponse struct {
	*ListApplicationDependenciesOutput
	// contains filtered or unexported fields
}

ListApplicationDependenciesResponse is the response type for the ListApplicationDependencies API operation.

func (*ListApplicationDependenciesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListApplicationDependenciesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApplicationDependencies 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
}

func (ListApplicationVersionsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationVersionsInput) 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
}

func (ListApplicationVersionsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationVersionsOutput) String

String returns the string representation

type ListApplicationVersionsPaginator added in v0.9.0

type ListApplicationVersionsPaginator struct {
	aws.Pager
}

ListApplicationVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListApplicationVersionsPaginator added in v0.9.0

func NewListApplicationVersionsPaginator(req ListApplicationVersionsRequest) ListApplicationVersionsPaginator

NewListApplicationVersionsRequestPaginator returns a paginator for ListApplicationVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListApplicationVersionsRequest(input)
p := serverlessapplicationrepository.NewListApplicationVersionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListApplicationVersionsPaginator) CurrentPage added in v0.9.0

type ListApplicationVersionsRequest

type ListApplicationVersionsRequest struct {
	*aws.Request
	Input *ListApplicationVersionsInput
	Copy  func(*ListApplicationVersionsInput) ListApplicationVersionsRequest
}

ListApplicationVersionsRequest is the request type for the ListApplicationVersions API operation.

func (ListApplicationVersionsRequest) Send

Send marshals and sends the ListApplicationVersions API request.

type ListApplicationVersionsResponse added in v0.9.0

type ListApplicationVersionsResponse struct {
	*ListApplicationVersionsOutput
	// contains filtered or unexported fields
}

ListApplicationVersionsResponse is the response type for the ListApplicationVersions API operation.

func (*ListApplicationVersionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListApplicationVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApplicationVersions 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
}

func (ListApplicationsInput) MarshalFields added in v0.3.0

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
}

func (ListApplicationsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationsOutput) String

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListApplicationsPaginator added in v0.9.0

type ListApplicationsPaginator struct {
	aws.Pager
}

ListApplicationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListApplicationsPaginator added in v0.9.0

func NewListApplicationsPaginator(req ListApplicationsRequest) ListApplicationsPaginator

NewListApplicationsRequestPaginator returns a paginator for ListApplications. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListApplicationsRequest(input)
p := serverlessapplicationrepository.NewListApplicationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListApplicationsPaginator) CurrentPage added in v0.9.0

type ListApplicationsRequest

type ListApplicationsRequest struct {
	*aws.Request
	Input *ListApplicationsInput
	Copy  func(*ListApplicationsInput) ListApplicationsRequest
}

ListApplicationsRequest is the request type for the ListApplications API operation.

func (ListApplicationsRequest) Send

Send marshals and sends the ListApplications API request.

type ListApplicationsResponse added in v0.9.0

type ListApplicationsResponse struct {
	*ListApplicationsOutput
	// contains filtered or unexported fields
}

ListApplicationsResponse is the response type for the ListApplications API operation.

func (*ListApplicationsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListApplicationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApplications request.

type ParameterDefinition

type ParameterDefinition struct {

	// A regular expression that represents the patterns to allow for String types.
	AllowedPattern *string `locationName:"allowedPattern" type:"string"`

	// An 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 that you
	// want to allow for String types.
	MaxLength *int64 `locationName:"maxLength" type:"integer"`

	// A numeric value that determines the largest numeric value that you want to
	// allow for Number types.
	MaxValue *int64 `locationName:"maxValue" type:"integer"`

	// An integer value that determines the smallest number of characters that you
	// want to allow for String types.
	MinLength *int64 `locationName:"minLength" type:"integer"`

	// A numeric value that determines the smallest numeric value that 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 can 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 might 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 might specify "80,20", and then 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 might specify "test,dev,prod", and then Ref results in
	// ["test","dev","prod"].
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Parameters supported by the application.

func (ParameterDefinition) MarshalFields added in v0.3.0

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.

func (ParameterValue) MarshalFields added in v0.3.0

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 added in v0.3.0

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 is a required field
	Statements []ApplicationPolicyStatement `locationName:"statements" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (PutApplicationPolicyInput) MarshalFields added in v0.3.0

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
}

func (PutApplicationPolicyOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutApplicationPolicyOutput) String

String returns the string representation

type PutApplicationPolicyRequest

type PutApplicationPolicyRequest struct {
	*aws.Request
	Input *PutApplicationPolicyInput
	Copy  func(*PutApplicationPolicyInput) PutApplicationPolicyRequest
}

PutApplicationPolicyRequest is the request type for the PutApplicationPolicy API operation.

func (PutApplicationPolicyRequest) Send

Send marshals and sends the PutApplicationPolicy API request.

type PutApplicationPolicyResponse added in v0.9.0

type PutApplicationPolicyResponse struct {
	*PutApplicationPolicyOutput
	// contains filtered or unexported fields
}

PutApplicationPolicyResponse is the response type for the PutApplicationPolicy API operation.

func (*PutApplicationPolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *PutApplicationPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutApplicationPolicy request.

type RollbackConfiguration added in v0.6.0

type RollbackConfiguration struct {

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// RollbackConfiguration (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration)
	// Data Type.
	MonitoringTimeInMinutes *int64 `locationName:"monitoringTimeInMinutes" type:"integer"`

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// RollbackConfiguration (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration)
	// Data Type.
	RollbackTriggers []RollbackTrigger `locationName:"rollbackTriggers" type:"list"`
	// contains filtered or unexported fields
}

This property corresponds to the AWS CloudFormation RollbackConfiguration (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration) Data Type.

func (RollbackConfiguration) MarshalFields added in v0.6.0

func (s RollbackConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RollbackConfiguration) String added in v0.6.0

func (s RollbackConfiguration) String() string

String returns the string representation

func (*RollbackConfiguration) Validate added in v0.6.0

func (s *RollbackConfiguration) Validate() error

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

type RollbackTrigger added in v0.6.0

type RollbackTrigger struct {

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger)
	// Data Type.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger)
	// Data Type.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This property corresponds to the AWS CloudFormation RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger) Data Type.

func (RollbackTrigger) MarshalFields added in v0.6.0

func (s RollbackTrigger) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RollbackTrigger) String added in v0.6.0

func (s RollbackTrigger) String() string

String returns the string representation

func (*RollbackTrigger) Validate added in v0.6.0

func (s *RollbackTrigger) Validate() error

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

type Status added in v0.6.0

type Status string
const (
	StatusPreparing Status = "PREPARING"
	StatusActive    Status = "ACTIVE"
	StatusExpired   Status = "EXPIRED"
)

Enum values for Status

func (Status) MarshalValue added in v0.6.0

func (enum Status) MarshalValue() (string, error)

func (Status) MarshalValueBuf added in v0.6.0

func (enum Status) MarshalValueBuf(b []byte) ([]byte, error)

type Tag added in v0.6.0

type Tag struct {

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// Tag (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag)
	// Data Type.
	//
	// Key is a required field
	Key *string `locationName:"key" type:"string" required:"true"`

	// This property corresponds to the content of the same name for the AWS CloudFormation
	// Tag (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag)
	// Data Type.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This property corresponds to the AWS CloudFormation Tag (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag) Data Type.

func (Tag) MarshalFields added in v0.6.0

func (s Tag) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Tag) String added in v0.6.0

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v0.6.0

func (s *Tag) Validate() error

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

type UnshareApplicationInput added in v0.20.0

type UnshareApplicationInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"`

	// OrganizationId is a required field
	OrganizationId *string `locationName:"organizationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UnshareApplicationInput) MarshalFields added in v0.20.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UnshareApplicationInput) String added in v0.20.0

func (s UnshareApplicationInput) String() string

String returns the string representation

func (*UnshareApplicationInput) Validate added in v0.20.0

func (s *UnshareApplicationInput) Validate() error

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

type UnshareApplicationOutput added in v0.20.0

type UnshareApplicationOutput struct {
	// contains filtered or unexported fields
}

func (UnshareApplicationOutput) MarshalFields added in v0.20.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UnshareApplicationOutput) String added in v0.20.0

func (s UnshareApplicationOutput) String() string

String returns the string representation

type UnshareApplicationRequest added in v0.20.0

type UnshareApplicationRequest struct {
	*aws.Request
	Input *UnshareApplicationInput
	Copy  func(*UnshareApplicationInput) UnshareApplicationRequest
}

UnshareApplicationRequest is the request type for the UnshareApplication API operation.

func (UnshareApplicationRequest) Send added in v0.20.0

Send marshals and sends the UnshareApplication API request.

type UnshareApplicationResponse added in v0.20.0

type UnshareApplicationResponse struct {
	*UnshareApplicationOutput
	// contains filtered or unexported fields
}

UnshareApplicationResponse is the response type for the UnshareApplication API operation.

func (*UnshareApplicationResponse) SDKResponseMetdata added in v0.20.0

func (r *UnshareApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnshareApplication request.

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
}

func (UpdateApplicationInput) MarshalFields added in v0.3.0

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"`

	IsVerifiedAuthor *bool `locationName:"isVerifiedAuthor" type:"boolean"`

	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"`

	VerifiedAuthorUrl *string `locationName:"verifiedAuthorUrl" type:"string"`

	// Application version details.
	Version *Version `locationName:"version" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateApplicationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 the request type for the UpdateApplication API operation.

func (UpdateApplicationRequest) Send

Send marshals and sends the UpdateApplication API request.

type UpdateApplicationResponse added in v0.9.0

type UpdateApplicationResponse struct {
	*UpdateApplicationOutput
	// contains filtered or unexported fields
}

UpdateApplicationResponse is the response type for the UpdateApplication API operation.

func (*UpdateApplicationResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApplication 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 and time this resource was created.
	//
	// CreationTime is a required field
	CreationTime *string `locationName:"creationTime" type:"string" required:"true"`

	// An array of parameter types supported by the application.
	//
	// ParameterDefinitions is a required field
	ParameterDefinitions []ParameterDefinition `locationName:"parameterDefinitions" type:"list" required:"true"`

	// A list of values that you must specify before you can deploy certain applications.
	// Some applications might include resources that can affect permissions in
	// your AWS account, for example, by creating new AWS Identity and Access Management
	// (IAM) users. For those applications, you must explicitly acknowledge their
	// capabilities by specifying this parameter.
	//
	// The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY,
	// and CAPABILITY_AUTO_EXPAND.
	//
	// The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM:
	// AWS::IAM::Group (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html),
	// AWS::IAM::InstanceProfile (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html),
	// AWS::IAM::Policy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html),
	// and AWS::IAM::Role (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html).
	// If the application contains IAM resources, you can specify either CAPABILITY_IAM
	// or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom
	// names, you must specify CAPABILITY_NAMED_IAM.
	//
	// The following resources require you to specify CAPABILITY_RESOURCE_POLICY:
	// AWS::Lambda::Permission (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html),
	// AWS::IAM:Policy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html),
	// AWS::ApplicationAutoScaling::ScalingPolicy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html),
	// AWS::S3::BucketPolicy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html),
	// AWS::SQS::QueuePolicy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html),
	// and AWS::SNS::TopicPolicy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html).
	//
	// Applications that contain one or more nested applications require you to
	// specify CAPABILITY_AUTO_EXPAND.
	//
	// If your application template contains any of the above resources, we recommend
	// that you review all permissions associated with the application before deploying.
	// If you don't specify this parameter for an application that requires capabilities,
	// the call will fail.
	//
	// RequiredCapabilities is a required field
	RequiredCapabilities []Capability `locationName:"requiredCapabilities" type:"list" required:"true"`

	// Whether all of the AWS resources contained in this application are supported
	// in the region in which it is being retrieved.
	//
	// ResourcesSupported is a required field
	ResourcesSupported *bool `locationName:"resourcesSupported" type:"boolean" 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 the S3 object that contains the ZIP archive of the source code
	// for this version of your application.
	//
	// Maximum size 50 MB
	SourceCodeArchiveUrl *string `locationName:"sourceCodeArchiveUrl" type:"string"`

	// A link to a public repository for the source code of your application, for
	// example the URL of a specific GitHub commit.
	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.

func (Version) MarshalFields added in v0.3.0

func (s Version) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Version) String

func (s Version) String() string

String returns the string representation

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 and 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, for
	// example the URL of a specific GitHub commit.
	SourceCodeUrl *string `locationName:"sourceCodeUrl" type:"string"`
	// contains filtered or unexported fields
}

An application version summary.

func (VersionSummary) MarshalFields added in v0.3.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL