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 contact 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
- func Capability_Values() []string
- func Status_Values() []string
- type ApplicationDependencySummary
- func (s ApplicationDependencySummary) GoString() string
- func (s *ApplicationDependencySummary) SetApplicationId(v string) *ApplicationDependencySummary
- func (s *ApplicationDependencySummary) SetSemanticVersion(v string) *ApplicationDependencySummary
- func (s ApplicationDependencySummary) String() string
- type ApplicationPolicyStatement
- func (s ApplicationPolicyStatement) GoString() string
- func (s *ApplicationPolicyStatement) SetActions(v []*string) *ApplicationPolicyStatement
- func (s *ApplicationPolicyStatement) SetPrincipalOrgIDs(v []*string) *ApplicationPolicyStatement
- func (s *ApplicationPolicyStatement) SetPrincipals(v []*string) *ApplicationPolicyStatement
- func (s *ApplicationPolicyStatement) SetStatementId(v string) *ApplicationPolicyStatement
- func (s ApplicationPolicyStatement) String() string
- func (s *ApplicationPolicyStatement) Validate() error
- type ApplicationSummary
- func (s ApplicationSummary) GoString() string
- func (s *ApplicationSummary) SetApplicationId(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetAuthor(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetCreationTime(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetDescription(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetHomePageUrl(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetLabels(v []*string) *ApplicationSummary
- func (s *ApplicationSummary) SetName(v string) *ApplicationSummary
- func (s *ApplicationSummary) SetSpdxLicenseId(v string) *ApplicationSummary
- func (s ApplicationSummary) String() string
- type BadRequestException
- func (s *BadRequestException) Code() string
- func (s *BadRequestException) Error() string
- func (s BadRequestException) GoString() string
- func (s *BadRequestException) Message() string
- func (s *BadRequestException) OrigErr() error
- func (s *BadRequestException) RequestID() string
- func (s *BadRequestException) StatusCode() int
- func (s BadRequestException) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateApplicationOutput
- func (s CreateApplicationOutput) GoString() string
- func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetAuthor(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetCreationTime(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetHomePageUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetIsVerifiedAuthor(v bool) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetLabels(v []*string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetLicenseUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetReadmeUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetSpdxLicenseId(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetVerifiedAuthorUrl(v string) *CreateApplicationOutput
- func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput
- func (s CreateApplicationOutput) String() string
- type CreateApplicationRequest
- func (s CreateApplicationRequest) GoString() string
- func (s *CreateApplicationRequest) SetAuthor(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetDescription(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetHomePageUrl(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetLabels(v []*string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetLicenseBody(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetLicenseUrl(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetReadmeBody(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetReadmeUrl(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetSemanticVersion(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetSourceCodeArchiveUrl(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetSourceCodeUrl(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetSpdxLicenseId(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetTemplateBody(v string) *CreateApplicationRequest
- func (s *CreateApplicationRequest) SetTemplateUrl(v string) *CreateApplicationRequest
- func (s CreateApplicationRequest) String() string
- func (s *CreateApplicationRequest) Validate() error
- type CreateApplicationVersionOutput
- func (s CreateApplicationVersionOutput) GoString() string
- func (s *CreateApplicationVersionOutput) SetApplicationId(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetCreationTime(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetParameterDefinitions(v []*ParameterDefinition) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetRequiredCapabilities(v []*string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetResourcesSupported(v bool) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetSemanticVersion(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetSourceCodeArchiveUrl(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetSourceCodeUrl(v string) *CreateApplicationVersionOutput
- func (s *CreateApplicationVersionOutput) SetTemplateUrl(v string) *CreateApplicationVersionOutput
- func (s CreateApplicationVersionOutput) String() string
- type CreateApplicationVersionRequest
- func (s CreateApplicationVersionRequest) GoString() string
- func (s *CreateApplicationVersionRequest) SetApplicationId(v string) *CreateApplicationVersionRequest
- func (s *CreateApplicationVersionRequest) SetSemanticVersion(v string) *CreateApplicationVersionRequest
- func (s *CreateApplicationVersionRequest) SetSourceCodeArchiveUrl(v string) *CreateApplicationVersionRequest
- func (s *CreateApplicationVersionRequest) SetSourceCodeUrl(v string) *CreateApplicationVersionRequest
- func (s *CreateApplicationVersionRequest) SetTemplateBody(v string) *CreateApplicationVersionRequest
- func (s *CreateApplicationVersionRequest) SetTemplateUrl(v string) *CreateApplicationVersionRequest
- func (s CreateApplicationVersionRequest) String() string
- func (s *CreateApplicationVersionRequest) Validate() error
- type CreateCloudFormationChangeSetOutput
- func (s CreateCloudFormationChangeSetOutput) GoString() string
- func (s *CreateCloudFormationChangeSetOutput) SetApplicationId(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetChangeSetId(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetOutput
- func (s *CreateCloudFormationChangeSetOutput) SetStackId(v string) *CreateCloudFormationChangeSetOutput
- func (s CreateCloudFormationChangeSetOutput) String() string
- type CreateCloudFormationChangeSetRequest
- func (s CreateCloudFormationChangeSetRequest) GoString() string
- func (s *CreateCloudFormationChangeSetRequest) SetApplicationId(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetCapabilities(v []*string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetChangeSetName(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetClientToken(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetDescription(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetNotificationArns(v []*string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetParameterOverrides(v []*ParameterValue) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetResourceTypes(v []*string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetRollbackConfiguration(v *RollbackConfiguration) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetSemanticVersion(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetStackName(v string) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetTags(v []*Tag) *CreateCloudFormationChangeSetRequest
- func (s *CreateCloudFormationChangeSetRequest) SetTemplateId(v string) *CreateCloudFormationChangeSetRequest
- func (s CreateCloudFormationChangeSetRequest) String() string
- func (s *CreateCloudFormationChangeSetRequest) Validate() error
- type CreateCloudFormationTemplateInput
- func (s CreateCloudFormationTemplateInput) GoString() string
- func (s *CreateCloudFormationTemplateInput) SetApplicationId(v string) *CreateCloudFormationTemplateInput
- func (s *CreateCloudFormationTemplateInput) SetSemanticVersion(v string) *CreateCloudFormationTemplateInput
- func (s CreateCloudFormationTemplateInput) String() string
- func (s *CreateCloudFormationTemplateInput) Validate() error
- type CreateCloudFormationTemplateOutput
- func (s CreateCloudFormationTemplateOutput) GoString() string
- func (s *CreateCloudFormationTemplateOutput) SetApplicationId(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetCreationTime(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetExpirationTime(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetSemanticVersion(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetStatus(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetTemplateId(v string) *CreateCloudFormationTemplateOutput
- func (s *CreateCloudFormationTemplateOutput) SetTemplateUrl(v string) *CreateCloudFormationTemplateOutput
- func (s CreateCloudFormationTemplateOutput) String() string
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type ForbiddenException
- func (s *ForbiddenException) Code() string
- func (s *ForbiddenException) Error() string
- func (s ForbiddenException) GoString() string
- func (s *ForbiddenException) Message() string
- func (s *ForbiddenException) OrigErr() error
- func (s *ForbiddenException) RequestID() string
- func (s *ForbiddenException) StatusCode() int
- func (s ForbiddenException) String() string
- type GetApplicationInput
- type GetApplicationOutput
- func (s GetApplicationOutput) GoString() string
- func (s *GetApplicationOutput) SetApplicationId(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetAuthor(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetCreationTime(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetHomePageUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetIsVerifiedAuthor(v bool) *GetApplicationOutput
- func (s *GetApplicationOutput) SetLabels(v []*string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetLicenseUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetReadmeUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetSpdxLicenseId(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetVerifiedAuthorUrl(v string) *GetApplicationOutput
- func (s *GetApplicationOutput) SetVersion(v *Version) *GetApplicationOutput
- func (s GetApplicationOutput) String() string
- type GetApplicationPolicyInput
- type GetApplicationPolicyOutput
- type GetCloudFormationTemplateInput
- func (s GetCloudFormationTemplateInput) GoString() string
- func (s *GetCloudFormationTemplateInput) SetApplicationId(v string) *GetCloudFormationTemplateInput
- func (s *GetCloudFormationTemplateInput) SetTemplateId(v string) *GetCloudFormationTemplateInput
- func (s GetCloudFormationTemplateInput) String() string
- func (s *GetCloudFormationTemplateInput) Validate() error
- type GetCloudFormationTemplateOutput
- func (s GetCloudFormationTemplateOutput) GoString() string
- func (s *GetCloudFormationTemplateOutput) SetApplicationId(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetCreationTime(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetExpirationTime(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetSemanticVersion(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetStatus(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetTemplateId(v string) *GetCloudFormationTemplateOutput
- func (s *GetCloudFormationTemplateOutput) SetTemplateUrl(v string) *GetCloudFormationTemplateOutput
- func (s GetCloudFormationTemplateOutput) String() string
- type InternalServerErrorException
- func (s *InternalServerErrorException) Code() string
- func (s *InternalServerErrorException) Error() string
- func (s InternalServerErrorException) GoString() string
- func (s *InternalServerErrorException) Message() string
- func (s *InternalServerErrorException) OrigErr() error
- func (s *InternalServerErrorException) RequestID() string
- func (s *InternalServerErrorException) StatusCode() int
- func (s InternalServerErrorException) String() string
- type ListApplicationDependenciesInput
- func (s ListApplicationDependenciesInput) GoString() string
- func (s *ListApplicationDependenciesInput) SetApplicationId(v string) *ListApplicationDependenciesInput
- func (s *ListApplicationDependenciesInput) SetMaxItems(v int64) *ListApplicationDependenciesInput
- func (s *ListApplicationDependenciesInput) SetNextToken(v string) *ListApplicationDependenciesInput
- func (s *ListApplicationDependenciesInput) SetSemanticVersion(v string) *ListApplicationDependenciesInput
- func (s ListApplicationDependenciesInput) String() string
- func (s *ListApplicationDependenciesInput) Validate() error
- type ListApplicationDependenciesOutput
- func (s ListApplicationDependenciesOutput) GoString() string
- func (s *ListApplicationDependenciesOutput) SetDependencies(v []*ApplicationDependencySummary) *ListApplicationDependenciesOutput
- func (s *ListApplicationDependenciesOutput) SetNextToken(v string) *ListApplicationDependenciesOutput
- func (s ListApplicationDependenciesOutput) String() string
- type ListApplicationVersionsInput
- func (s ListApplicationVersionsInput) GoString() string
- func (s *ListApplicationVersionsInput) SetApplicationId(v string) *ListApplicationVersionsInput
- func (s *ListApplicationVersionsInput) SetMaxItems(v int64) *ListApplicationVersionsInput
- func (s *ListApplicationVersionsInput) SetNextToken(v string) *ListApplicationVersionsInput
- func (s ListApplicationVersionsInput) String() string
- func (s *ListApplicationVersionsInput) Validate() error
- type ListApplicationVersionsOutput
- func (s ListApplicationVersionsOutput) GoString() string
- func (s *ListApplicationVersionsOutput) SetNextToken(v string) *ListApplicationVersionsOutput
- func (s *ListApplicationVersionsOutput) SetVersions(v []*VersionSummary) *ListApplicationVersionsOutput
- func (s ListApplicationVersionsOutput) String() string
- type ListApplicationsInput
- type ListApplicationsOutput
- type NotFoundException
- func (s *NotFoundException) Code() string
- func (s *NotFoundException) Error() string
- func (s NotFoundException) GoString() string
- func (s *NotFoundException) Message() string
- func (s *NotFoundException) OrigErr() error
- func (s *NotFoundException) RequestID() string
- func (s *NotFoundException) StatusCode() int
- func (s NotFoundException) String() string
- type ParameterDefinition
- func (s ParameterDefinition) GoString() string
- func (s *ParameterDefinition) SetAllowedPattern(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetAllowedValues(v []*string) *ParameterDefinition
- func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetDefaultValue(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetMaxLength(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMaxValue(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMinLength(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetMinValue(v int64) *ParameterDefinition
- func (s *ParameterDefinition) SetName(v string) *ParameterDefinition
- func (s *ParameterDefinition) SetNoEcho(v bool) *ParameterDefinition
- func (s *ParameterDefinition) SetReferencedByResources(v []*string) *ParameterDefinition
- func (s *ParameterDefinition) SetType(v string) *ParameterDefinition
- func (s ParameterDefinition) String() string
- type ParameterValue
- type PutApplicationPolicyInput
- func (s PutApplicationPolicyInput) GoString() string
- func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput
- func (s *PutApplicationPolicyInput) SetStatements(v []*ApplicationPolicyStatement) *PutApplicationPolicyInput
- func (s PutApplicationPolicyInput) String() string
- func (s *PutApplicationPolicyInput) Validate() error
- type PutApplicationPolicyOutput
- type RollbackConfiguration
- func (s RollbackConfiguration) GoString() string
- func (s *RollbackConfiguration) SetMonitoringTimeInMinutes(v int64) *RollbackConfiguration
- func (s *RollbackConfiguration) SetRollbackTriggers(v []*RollbackTrigger) *RollbackConfiguration
- func (s RollbackConfiguration) String() string
- func (s *RollbackConfiguration) Validate() error
- type RollbackTrigger
- type ServerlessApplicationRepository
- func (c *ServerlessApplicationRepository) CreateApplication(input *CreateApplicationRequest) (*CreateApplicationOutput, error)
- func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *CreateApplicationRequest) (req *request.Request, output *CreateApplicationOutput)
- func (c *ServerlessApplicationRepository) CreateApplicationVersion(input *CreateApplicationVersionRequest) (*CreateApplicationVersionOutput, error)
- func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input *CreateApplicationVersionRequest) (req *request.Request, output *CreateApplicationVersionOutput)
- func (c *ServerlessApplicationRepository) CreateApplicationVersionWithContext(ctx aws.Context, input *CreateApplicationVersionRequest, ...) (*CreateApplicationVersionOutput, error)
- func (c *ServerlessApplicationRepository) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationRequest, opts ...request.Option) (*CreateApplicationOutput, error)
- func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSet(input *CreateCloudFormationChangeSetRequest) (*CreateCloudFormationChangeSetOutput, error)
- func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetRequest) (req *request.Request, output *CreateCloudFormationChangeSetOutput)
- func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetWithContext(ctx aws.Context, input *CreateCloudFormationChangeSetRequest, ...) (*CreateCloudFormationChangeSetOutput, error)
- func (c *ServerlessApplicationRepository) CreateCloudFormationTemplate(input *CreateCloudFormationTemplateInput) (*CreateCloudFormationTemplateOutput, error)
- func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateRequest(input *CreateCloudFormationTemplateInput) (req *request.Request, output *CreateCloudFormationTemplateOutput)
- func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateWithContext(ctx aws.Context, input *CreateCloudFormationTemplateInput, ...) (*CreateCloudFormationTemplateOutput, error)
- func (c *ServerlessApplicationRepository) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)
- func (c *ServerlessApplicationRepository) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)
- func (c *ServerlessApplicationRepository) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)
- func (c *ServerlessApplicationRepository) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error)
- func (c *ServerlessApplicationRepository) GetApplicationPolicy(input *GetApplicationPolicyInput) (*GetApplicationPolicyOutput, error)
- func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) (req *request.Request, output *GetApplicationPolicyOutput)
- func (c *ServerlessApplicationRepository) GetApplicationPolicyWithContext(ctx aws.Context, input *GetApplicationPolicyInput, opts ...request.Option) (*GetApplicationPolicyOutput, error)
- func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput)
- func (c *ServerlessApplicationRepository) GetApplicationWithContext(ctx aws.Context, input *GetApplicationInput, opts ...request.Option) (*GetApplicationOutput, error)
- func (c *ServerlessApplicationRepository) GetCloudFormationTemplate(input *GetCloudFormationTemplateInput) (*GetCloudFormationTemplateOutput, error)
- func (c *ServerlessApplicationRepository) GetCloudFormationTemplateRequest(input *GetCloudFormationTemplateInput) (req *request.Request, output *GetCloudFormationTemplateOutput)
- func (c *ServerlessApplicationRepository) GetCloudFormationTemplateWithContext(ctx aws.Context, input *GetCloudFormationTemplateInput, opts ...request.Option) (*GetCloudFormationTemplateOutput, error)
- func (c *ServerlessApplicationRepository) ListApplicationDependencies(input *ListApplicationDependenciesInput) (*ListApplicationDependenciesOutput, error)
- func (c *ServerlessApplicationRepository) ListApplicationDependenciesPages(input *ListApplicationDependenciesInput, ...) error
- func (c *ServerlessApplicationRepository) ListApplicationDependenciesPagesWithContext(ctx aws.Context, input *ListApplicationDependenciesInput, ...) error
- func (c *ServerlessApplicationRepository) ListApplicationDependenciesRequest(input *ListApplicationDependenciesInput) (req *request.Request, output *ListApplicationDependenciesOutput)
- func (c *ServerlessApplicationRepository) ListApplicationDependenciesWithContext(ctx aws.Context, input *ListApplicationDependenciesInput, ...) (*ListApplicationDependenciesOutput, error)
- func (c *ServerlessApplicationRepository) ListApplicationVersions(input *ListApplicationVersionsInput) (*ListApplicationVersionsOutput, error)
- func (c *ServerlessApplicationRepository) ListApplicationVersionsPages(input *ListApplicationVersionsInput, ...) error
- func (c *ServerlessApplicationRepository) ListApplicationVersionsPagesWithContext(ctx aws.Context, input *ListApplicationVersionsInput, ...) error
- func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) (req *request.Request, output *ListApplicationVersionsOutput)
- func (c *ServerlessApplicationRepository) ListApplicationVersionsWithContext(ctx aws.Context, input *ListApplicationVersionsInput, opts ...request.Option) (*ListApplicationVersionsOutput, error)
- func (c *ServerlessApplicationRepository) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)
- func (c *ServerlessApplicationRepository) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error
- func (c *ServerlessApplicationRepository) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, ...) error
- func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)
- func (c *ServerlessApplicationRepository) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)
- func (c *ServerlessApplicationRepository) PutApplicationPolicy(input *PutApplicationPolicyInput) (*PutApplicationPolicyOutput, error)
- func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) (req *request.Request, output *PutApplicationPolicyOutput)
- func (c *ServerlessApplicationRepository) PutApplicationPolicyWithContext(ctx aws.Context, input *PutApplicationPolicyInput, opts ...request.Option) (*PutApplicationPolicyOutput, error)
- func (c *ServerlessApplicationRepository) UnshareApplication(input *UnshareApplicationInput) (*UnshareApplicationOutput, error)
- func (c *ServerlessApplicationRepository) UnshareApplicationRequest(input *UnshareApplicationInput) (req *request.Request, output *UnshareApplicationOutput)
- func (c *ServerlessApplicationRepository) UnshareApplicationWithContext(ctx aws.Context, input *UnshareApplicationInput, opts ...request.Option) (*UnshareApplicationOutput, error)
- func (c *ServerlessApplicationRepository) UpdateApplication(input *UpdateApplicationRequest) (*UpdateApplicationOutput, error)
- func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *UpdateApplicationRequest) (req *request.Request, output *UpdateApplicationOutput)
- func (c *ServerlessApplicationRepository) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationRequest, opts ...request.Option) (*UpdateApplicationOutput, error)
- type Tag
- type TooManyRequestsException
- func (s *TooManyRequestsException) Code() string
- func (s *TooManyRequestsException) Error() string
- func (s TooManyRequestsException) GoString() string
- func (s *TooManyRequestsException) Message() string
- func (s *TooManyRequestsException) OrigErr() error
- func (s *TooManyRequestsException) RequestID() string
- func (s *TooManyRequestsException) StatusCode() int
- func (s TooManyRequestsException) String() string
- type UnshareApplicationInput
- func (s UnshareApplicationInput) GoString() string
- func (s *UnshareApplicationInput) SetApplicationId(v string) *UnshareApplicationInput
- func (s *UnshareApplicationInput) SetOrganizationId(v string) *UnshareApplicationInput
- func (s UnshareApplicationInput) String() string
- func (s *UnshareApplicationInput) Validate() error
- type UnshareApplicationOutput
- type UpdateApplicationOutput
- func (s UpdateApplicationOutput) GoString() string
- func (s *UpdateApplicationOutput) SetApplicationId(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetAuthor(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetCreationTime(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetHomePageUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetIsVerifiedAuthor(v bool) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetLabels(v []*string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetLicenseUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetReadmeUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetSpdxLicenseId(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetVerifiedAuthorUrl(v string) *UpdateApplicationOutput
- func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput
- func (s UpdateApplicationOutput) String() string
- type UpdateApplicationRequest
- func (s UpdateApplicationRequest) GoString() string
- func (s *UpdateApplicationRequest) SetApplicationId(v string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetAuthor(v string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetDescription(v string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetHomePageUrl(v string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetLabels(v []*string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetReadmeBody(v string) *UpdateApplicationRequest
- func (s *UpdateApplicationRequest) SetReadmeUrl(v string) *UpdateApplicationRequest
- func (s UpdateApplicationRequest) String() string
- func (s *UpdateApplicationRequest) Validate() error
- type Version
- func (s Version) GoString() string
- func (s *Version) SetApplicationId(v string) *Version
- func (s *Version) SetCreationTime(v string) *Version
- func (s *Version) SetParameterDefinitions(v []*ParameterDefinition) *Version
- func (s *Version) SetRequiredCapabilities(v []*string) *Version
- func (s *Version) SetResourcesSupported(v bool) *Version
- func (s *Version) SetSemanticVersion(v string) *Version
- func (s *Version) SetSourceCodeArchiveUrl(v string) *Version
- func (s *Version) SetSourceCodeUrl(v string) *Version
- func (s *Version) SetTemplateUrl(v string) *Version
- func (s Version) String() string
- type VersionSummary
- func (s VersionSummary) GoString() string
- func (s *VersionSummary) SetApplicationId(v string) *VersionSummary
- func (s *VersionSummary) SetCreationTime(v string) *VersionSummary
- func (s *VersionSummary) SetSemanticVersion(v string) *VersionSummary
- func (s *VersionSummary) SetSourceCodeUrl(v string) *VersionSummary
- func (s VersionSummary) String() string
Constants ¶
const ( // CapabilityCapabilityIam is a Capability enum value CapabilityCapabilityIam = "CAPABILITY_IAM" // CapabilityCapabilityNamedIam is a Capability enum value CapabilityCapabilityNamedIam = "CAPABILITY_NAMED_IAM" // CapabilityCapabilityAutoExpand is a Capability enum value CapabilityCapabilityAutoExpand = "CAPABILITY_AUTO_EXPAND" // CapabilityCapabilityResourcePolicy is a Capability enum value CapabilityCapabilityResourcePolicy = "CAPABILITY_RESOURCE_POLICY" )
Values that must be specified in order to deploy some applications.
const ( // StatusPreparing is a Status enum value StatusPreparing = "PREPARING" // StatusActive is a Status enum value StatusActive = "ACTIVE" // StatusExpired is a Status enum value StatusExpired = "EXPIRED" )
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" )
const ( ServiceName = "serverlessrepo" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "ServerlessApplicationRepository" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func Capability_Values ¶ added in v1.34.3
func Capability_Values() []string
Capability_Values returns all elements of the Capability enum
func Status_Values ¶ added in v1.34.3
func Status_Values() []string
Status_Values returns all elements of the Status enum
Types ¶
type ApplicationDependencySummary ¶ added in v1.15.87
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) GoString ¶ added in v1.15.87
func (s ApplicationDependencySummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ApplicationDependencySummary) SetApplicationId ¶ added in v1.15.87
func (s *ApplicationDependencySummary) SetApplicationId(v string) *ApplicationDependencySummary
SetApplicationId sets the ApplicationId field's value.
func (*ApplicationDependencySummary) SetSemanticVersion ¶ added in v1.15.87
func (s *ApplicationDependencySummary) SetSemanticVersion(v string) *ApplicationDependencySummary
SetSemanticVersion sets the SemanticVersion field's value.
func (ApplicationDependencySummary) String ¶ added in v1.15.87
func (s ApplicationDependencySummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ApplicationPolicyStatement) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ApplicationPolicyStatement) SetActions ¶
func (s *ApplicationPolicyStatement) SetActions(v []*string) *ApplicationPolicyStatement
SetActions sets the Actions field's value.
func (*ApplicationPolicyStatement) SetPrincipalOrgIDs ¶ added in v1.29.21
func (s *ApplicationPolicyStatement) SetPrincipalOrgIDs(v []*string) *ApplicationPolicyStatement
SetPrincipalOrgIDs sets the PrincipalOrgIDs field's value.
func (*ApplicationPolicyStatement) SetPrincipals ¶
func (s *ApplicationPolicyStatement) SetPrincipals(v []*string) *ApplicationPolicyStatement
SetPrincipals sets the Principals field's value.
func (*ApplicationPolicyStatement) SetStatementId ¶
func (s *ApplicationPolicyStatement) SetStatementId(v string) *ApplicationPolicyStatement
SetStatementId sets the StatementId field's value.
func (ApplicationPolicyStatement) String ¶
func (s ApplicationPolicyStatement) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ApplicationPolicyStatement) Validate ¶ added in v1.13.2
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) GoString ¶
func (s ApplicationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ApplicationSummary) SetApplicationId ¶
func (s *ApplicationSummary) SetApplicationId(v string) *ApplicationSummary
SetApplicationId sets the ApplicationId field's value.
func (*ApplicationSummary) SetAuthor ¶
func (s *ApplicationSummary) SetAuthor(v string) *ApplicationSummary
SetAuthor sets the Author field's value.
func (*ApplicationSummary) SetCreationTime ¶
func (s *ApplicationSummary) SetCreationTime(v string) *ApplicationSummary
SetCreationTime sets the CreationTime field's value.
func (*ApplicationSummary) SetDescription ¶
func (s *ApplicationSummary) SetDescription(v string) *ApplicationSummary
SetDescription sets the Description field's value.
func (*ApplicationSummary) SetHomePageUrl ¶ added in v1.13.2
func (s *ApplicationSummary) SetHomePageUrl(v string) *ApplicationSummary
SetHomePageUrl sets the HomePageUrl field's value.
func (*ApplicationSummary) SetLabels ¶
func (s *ApplicationSummary) SetLabels(v []*string) *ApplicationSummary
SetLabels sets the Labels field's value.
func (*ApplicationSummary) SetName ¶
func (s *ApplicationSummary) SetName(v string) *ApplicationSummary
SetName sets the Name field's value.
func (*ApplicationSummary) SetSpdxLicenseId ¶
func (s *ApplicationSummary) SetSpdxLicenseId(v string) *ApplicationSummary
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (ApplicationSummary) String ¶
func (s ApplicationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestException ¶ added in v1.28.0
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 400 ErrorCode *string `locationName:"errorCode" type:"string"` // One of the parameters in the request is invalid. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
One of the parameters in the request is invalid.
func (*BadRequestException) Code ¶ added in v1.28.0
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (*BadRequestException) Error ¶ added in v1.28.0
func (s *BadRequestException) Error() string
func (BadRequestException) GoString ¶ added in v1.28.0
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BadRequestException) Message ¶ added in v1.28.0
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (*BadRequestException) OrigErr ¶ added in v1.28.0
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*BadRequestException) RequestID ¶ added in v1.28.0
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*BadRequestException) StatusCode ¶ added in v1.28.0
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (BadRequestException) String ¶ added in v1.28.0
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶ added in v1.28.0
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 409 ErrorCode *string `locationName:"errorCode" type:"string"` // The resource already exists. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The resource already exists.
func (*ConflictException) Code ¶ added in v1.28.0
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶ added in v1.28.0
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶ added in v1.28.0
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶ added in v1.28.0
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶ added in v1.28.0
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶ added in v1.28.0
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶ added in v1.28.0
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶ added in v1.28.0
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s CreateApplicationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationOutput) SetApplicationId ¶
func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationOutput) SetAuthor ¶
func (s *CreateApplicationOutput) SetAuthor(v string) *CreateApplicationOutput
SetAuthor sets the Author field's value.
func (*CreateApplicationOutput) SetCreationTime ¶
func (s *CreateApplicationOutput) SetCreationTime(v string) *CreateApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateApplicationOutput) SetDescription ¶
func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput
SetDescription sets the Description field's value.
func (*CreateApplicationOutput) SetHomePageUrl ¶ added in v1.13.2
func (s *CreateApplicationOutput) SetHomePageUrl(v string) *CreateApplicationOutput
SetHomePageUrl sets the HomePageUrl field's value.
func (*CreateApplicationOutput) SetIsVerifiedAuthor ¶ added in v1.25.43
func (s *CreateApplicationOutput) SetIsVerifiedAuthor(v bool) *CreateApplicationOutput
SetIsVerifiedAuthor sets the IsVerifiedAuthor field's value.
func (*CreateApplicationOutput) SetLabels ¶
func (s *CreateApplicationOutput) SetLabels(v []*string) *CreateApplicationOutput
SetLabels sets the Labels field's value.
func (*CreateApplicationOutput) SetLicenseUrl ¶
func (s *CreateApplicationOutput) SetLicenseUrl(v string) *CreateApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*CreateApplicationOutput) SetName ¶
func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput
SetName sets the Name field's value.
func (*CreateApplicationOutput) SetReadmeUrl ¶
func (s *CreateApplicationOutput) SetReadmeUrl(v string) *CreateApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*CreateApplicationOutput) SetSpdxLicenseId ¶
func (s *CreateApplicationOutput) SetSpdxLicenseId(v string) *CreateApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*CreateApplicationOutput) SetVerifiedAuthorUrl ¶ added in v1.25.43
func (s *CreateApplicationOutput) SetVerifiedAuthorUrl(v string) *CreateApplicationOutput
SetVerifiedAuthorUrl sets the VerifiedAuthorUrl field's value.
func (*CreateApplicationOutput) SetVersion ¶
func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput
SetVersion sets the Version field's value.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateApplicationRequest ¶
type CreateApplicationRequest 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 (CreateApplicationRequest) GoString ¶
func (s CreateApplicationRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationRequest) SetAuthor ¶
func (s *CreateApplicationRequest) SetAuthor(v string) *CreateApplicationRequest
SetAuthor sets the Author field's value.
func (*CreateApplicationRequest) SetDescription ¶
func (s *CreateApplicationRequest) SetDescription(v string) *CreateApplicationRequest
SetDescription sets the Description field's value.
func (*CreateApplicationRequest) SetHomePageUrl ¶ added in v1.13.2
func (s *CreateApplicationRequest) SetHomePageUrl(v string) *CreateApplicationRequest
SetHomePageUrl sets the HomePageUrl field's value.
func (*CreateApplicationRequest) SetLabels ¶
func (s *CreateApplicationRequest) SetLabels(v []*string) *CreateApplicationRequest
SetLabels sets the Labels field's value.
func (*CreateApplicationRequest) SetLicenseBody ¶
func (s *CreateApplicationRequest) SetLicenseBody(v string) *CreateApplicationRequest
SetLicenseBody sets the LicenseBody field's value.
func (*CreateApplicationRequest) SetLicenseUrl ¶
func (s *CreateApplicationRequest) SetLicenseUrl(v string) *CreateApplicationRequest
SetLicenseUrl sets the LicenseUrl field's value.
func (*CreateApplicationRequest) SetName ¶
func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest
SetName sets the Name field's value.
func (*CreateApplicationRequest) SetReadmeBody ¶
func (s *CreateApplicationRequest) SetReadmeBody(v string) *CreateApplicationRequest
SetReadmeBody sets the ReadmeBody field's value.
func (*CreateApplicationRequest) SetReadmeUrl ¶
func (s *CreateApplicationRequest) SetReadmeUrl(v string) *CreateApplicationRequest
SetReadmeUrl sets the ReadmeUrl field's value.
func (*CreateApplicationRequest) SetSemanticVersion ¶
func (s *CreateApplicationRequest) SetSemanticVersion(v string) *CreateApplicationRequest
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationRequest) SetSourceCodeArchiveUrl ¶ added in v1.18.1
func (s *CreateApplicationRequest) SetSourceCodeArchiveUrl(v string) *CreateApplicationRequest
SetSourceCodeArchiveUrl sets the SourceCodeArchiveUrl field's value.
func (*CreateApplicationRequest) SetSourceCodeUrl ¶
func (s *CreateApplicationRequest) SetSourceCodeUrl(v string) *CreateApplicationRequest
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationRequest) SetSpdxLicenseId ¶
func (s *CreateApplicationRequest) SetSpdxLicenseId(v string) *CreateApplicationRequest
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*CreateApplicationRequest) SetTemplateBody ¶
func (s *CreateApplicationRequest) SetTemplateBody(v string) *CreateApplicationRequest
SetTemplateBody sets the TemplateBody field's value.
func (*CreateApplicationRequest) SetTemplateUrl ¶
func (s *CreateApplicationRequest) SetTemplateUrl(v string) *CreateApplicationRequest
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationRequest) String ¶
func (s CreateApplicationRequest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationRequest) Validate ¶ added in v1.14.21
func (s *CreateApplicationRequest) 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 []*string `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) GoString ¶
func (s CreateApplicationVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationVersionOutput) SetApplicationId ¶
func (s *CreateApplicationVersionOutput) SetApplicationId(v string) *CreateApplicationVersionOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationVersionOutput) SetCreationTime ¶
func (s *CreateApplicationVersionOutput) SetCreationTime(v string) *CreateApplicationVersionOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateApplicationVersionOutput) SetParameterDefinitions ¶
func (s *CreateApplicationVersionOutput) SetParameterDefinitions(v []*ParameterDefinition) *CreateApplicationVersionOutput
SetParameterDefinitions sets the ParameterDefinitions field's value.
func (*CreateApplicationVersionOutput) SetRequiredCapabilities ¶ added in v1.15.69
func (s *CreateApplicationVersionOutput) SetRequiredCapabilities(v []*string) *CreateApplicationVersionOutput
SetRequiredCapabilities sets the RequiredCapabilities field's value.
func (*CreateApplicationVersionOutput) SetResourcesSupported ¶ added in v1.15.69
func (s *CreateApplicationVersionOutput) SetResourcesSupported(v bool) *CreateApplicationVersionOutput
SetResourcesSupported sets the ResourcesSupported field's value.
func (*CreateApplicationVersionOutput) SetSemanticVersion ¶
func (s *CreateApplicationVersionOutput) SetSemanticVersion(v string) *CreateApplicationVersionOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationVersionOutput) SetSourceCodeArchiveUrl ¶ added in v1.18.1
func (s *CreateApplicationVersionOutput) SetSourceCodeArchiveUrl(v string) *CreateApplicationVersionOutput
SetSourceCodeArchiveUrl sets the SourceCodeArchiveUrl field's value.
func (*CreateApplicationVersionOutput) SetSourceCodeUrl ¶
func (s *CreateApplicationVersionOutput) SetSourceCodeUrl(v string) *CreateApplicationVersionOutput
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationVersionOutput) SetTemplateUrl ¶
func (s *CreateApplicationVersionOutput) SetTemplateUrl(v string) *CreateApplicationVersionOutput
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationVersionOutput) String ¶
func (s CreateApplicationVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateApplicationVersionRequest ¶
type CreateApplicationVersionRequest 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 (CreateApplicationVersionRequest) GoString ¶
func (s CreateApplicationVersionRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationVersionRequest) SetApplicationId ¶
func (s *CreateApplicationVersionRequest) SetApplicationId(v string) *CreateApplicationVersionRequest
SetApplicationId sets the ApplicationId field's value.
func (*CreateApplicationVersionRequest) SetSemanticVersion ¶
func (s *CreateApplicationVersionRequest) SetSemanticVersion(v string) *CreateApplicationVersionRequest
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateApplicationVersionRequest) SetSourceCodeArchiveUrl ¶ added in v1.18.1
func (s *CreateApplicationVersionRequest) SetSourceCodeArchiveUrl(v string) *CreateApplicationVersionRequest
SetSourceCodeArchiveUrl sets the SourceCodeArchiveUrl field's value.
func (*CreateApplicationVersionRequest) SetSourceCodeUrl ¶
func (s *CreateApplicationVersionRequest) SetSourceCodeUrl(v string) *CreateApplicationVersionRequest
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*CreateApplicationVersionRequest) SetTemplateBody ¶
func (s *CreateApplicationVersionRequest) SetTemplateBody(v string) *CreateApplicationVersionRequest
SetTemplateBody sets the TemplateBody field's value.
func (*CreateApplicationVersionRequest) SetTemplateUrl ¶
func (s *CreateApplicationVersionRequest) SetTemplateUrl(v string) *CreateApplicationVersionRequest
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateApplicationVersionRequest) String ¶
func (s CreateApplicationVersionRequest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateApplicationVersionRequest) Validate ¶
func (s *CreateApplicationVersionRequest) 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 }
func (CreateCloudFormationChangeSetOutput) GoString ¶
func (s CreateCloudFormationChangeSetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationChangeSetOutput) SetApplicationId ¶
func (s *CreateCloudFormationChangeSetOutput) SetApplicationId(v string) *CreateCloudFormationChangeSetOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationChangeSetOutput) SetChangeSetId ¶
func (s *CreateCloudFormationChangeSetOutput) SetChangeSetId(v string) *CreateCloudFormationChangeSetOutput
SetChangeSetId sets the ChangeSetId field's value.
func (*CreateCloudFormationChangeSetOutput) SetSemanticVersion ¶
func (s *CreateCloudFormationChangeSetOutput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateCloudFormationChangeSetOutput) SetStackId ¶
func (s *CreateCloudFormationChangeSetOutput) SetStackId(v string) *CreateCloudFormationChangeSetOutput
SetStackId sets the StackId field's value.
func (CreateCloudFormationChangeSetOutput) String ¶
func (s CreateCloudFormationChangeSetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateCloudFormationChangeSetRequest ¶
type CreateCloudFormationChangeSetRequest 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 (CreateCloudFormationChangeSetRequest) GoString ¶
func (s CreateCloudFormationChangeSetRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationChangeSetRequest) SetApplicationId ¶
func (s *CreateCloudFormationChangeSetRequest) SetApplicationId(v string) *CreateCloudFormationChangeSetRequest
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationChangeSetRequest) SetCapabilities ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetCapabilities(v []*string) *CreateCloudFormationChangeSetRequest
SetCapabilities sets the Capabilities field's value.
func (*CreateCloudFormationChangeSetRequest) SetChangeSetName ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetChangeSetName(v string) *CreateCloudFormationChangeSetRequest
SetChangeSetName sets the ChangeSetName field's value.
func (*CreateCloudFormationChangeSetRequest) SetClientToken ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetClientToken(v string) *CreateCloudFormationChangeSetRequest
SetClientToken sets the ClientToken field's value.
func (*CreateCloudFormationChangeSetRequest) SetDescription ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetDescription(v string) *CreateCloudFormationChangeSetRequest
SetDescription sets the Description field's value.
func (*CreateCloudFormationChangeSetRequest) SetNotificationArns ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetNotificationArns(v []*string) *CreateCloudFormationChangeSetRequest
SetNotificationArns sets the NotificationArns field's value.
func (*CreateCloudFormationChangeSetRequest) SetParameterOverrides ¶
func (s *CreateCloudFormationChangeSetRequest) SetParameterOverrides(v []*ParameterValue) *CreateCloudFormationChangeSetRequest
SetParameterOverrides sets the ParameterOverrides field's value.
func (*CreateCloudFormationChangeSetRequest) SetResourceTypes ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetResourceTypes(v []*string) *CreateCloudFormationChangeSetRequest
SetResourceTypes sets the ResourceTypes field's value.
func (*CreateCloudFormationChangeSetRequest) SetRollbackConfiguration ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetRollbackConfiguration(v *RollbackConfiguration) *CreateCloudFormationChangeSetRequest
SetRollbackConfiguration sets the RollbackConfiguration field's value.
func (*CreateCloudFormationChangeSetRequest) SetSemanticVersion ¶
func (s *CreateCloudFormationChangeSetRequest) SetSemanticVersion(v string) *CreateCloudFormationChangeSetRequest
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateCloudFormationChangeSetRequest) SetStackName ¶
func (s *CreateCloudFormationChangeSetRequest) SetStackName(v string) *CreateCloudFormationChangeSetRequest
SetStackName sets the StackName field's value.
func (*CreateCloudFormationChangeSetRequest) SetTags ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetTags(v []*Tag) *CreateCloudFormationChangeSetRequest
SetTags sets the Tags field's value.
func (*CreateCloudFormationChangeSetRequest) SetTemplateId ¶ added in v1.15.69
func (s *CreateCloudFormationChangeSetRequest) SetTemplateId(v string) *CreateCloudFormationChangeSetRequest
SetTemplateId sets the TemplateId field's value.
func (CreateCloudFormationChangeSetRequest) String ¶
func (s CreateCloudFormationChangeSetRequest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationChangeSetRequest) Validate ¶
func (s *CreateCloudFormationChangeSetRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCloudFormationTemplateInput ¶ added in v1.15.69
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) GoString ¶ added in v1.15.69
func (s CreateCloudFormationTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationTemplateInput) SetApplicationId ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateInput) SetApplicationId(v string) *CreateCloudFormationTemplateInput
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationTemplateInput) SetSemanticVersion ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateInput) SetSemanticVersion(v string) *CreateCloudFormationTemplateInput
SetSemanticVersion sets the SemanticVersion field's value.
func (CreateCloudFormationTemplateInput) String ¶ added in v1.15.69
func (s CreateCloudFormationTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationTemplateInput) Validate ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCloudFormationTemplateOutput ¶ added in v1.15.69
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 *string `locationName:"status" type:"string" enum:"Status"` TemplateId *string `locationName:"templateId" type:"string"` TemplateUrl *string `locationName:"templateUrl" type:"string"` // contains filtered or unexported fields }
func (CreateCloudFormationTemplateOutput) GoString ¶ added in v1.15.69
func (s CreateCloudFormationTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCloudFormationTemplateOutput) SetApplicationId ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetApplicationId(v string) *CreateCloudFormationTemplateOutput
SetApplicationId sets the ApplicationId field's value.
func (*CreateCloudFormationTemplateOutput) SetCreationTime ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetCreationTime(v string) *CreateCloudFormationTemplateOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateCloudFormationTemplateOutput) SetExpirationTime ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetExpirationTime(v string) *CreateCloudFormationTemplateOutput
SetExpirationTime sets the ExpirationTime field's value.
func (*CreateCloudFormationTemplateOutput) SetSemanticVersion ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetSemanticVersion(v string) *CreateCloudFormationTemplateOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*CreateCloudFormationTemplateOutput) SetStatus ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetStatus(v string) *CreateCloudFormationTemplateOutput
SetStatus sets the Status field's value.
func (*CreateCloudFormationTemplateOutput) SetTemplateId ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetTemplateId(v string) *CreateCloudFormationTemplateOutput
SetTemplateId sets the TemplateId field's value.
func (*CreateCloudFormationTemplateOutput) SetTemplateUrl ¶ added in v1.15.69
func (s *CreateCloudFormationTemplateOutput) SetTemplateUrl(v string) *CreateCloudFormationTemplateOutput
SetTemplateUrl sets the TemplateUrl field's value.
func (CreateCloudFormationTemplateOutput) String ¶ added in v1.15.69
func (s CreateCloudFormationTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteApplicationInput ¶ added in v1.13.2
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) GoString ¶ added in v1.13.2
func (s DeleteApplicationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteApplicationInput) SetApplicationId ¶ added in v1.13.2
func (s *DeleteApplicationInput) SetApplicationId(v string) *DeleteApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (DeleteApplicationInput) String ¶ added in v1.13.2
func (s DeleteApplicationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteApplicationInput) Validate ¶ added in v1.13.2
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput ¶ added in v1.13.2
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
func (DeleteApplicationOutput) GoString ¶ added in v1.13.2
func (s DeleteApplicationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteApplicationOutput) String ¶ added in v1.13.2
func (s DeleteApplicationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ForbiddenException ¶ added in v1.28.0
type ForbiddenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 403 ErrorCode *string `locationName:"errorCode" type:"string"` // The client is not authenticated. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The client is not authenticated.
func (*ForbiddenException) Code ¶ added in v1.28.0
func (s *ForbiddenException) Code() string
Code returns the exception type name.
func (*ForbiddenException) Error ¶ added in v1.28.0
func (s *ForbiddenException) Error() string
func (ForbiddenException) GoString ¶ added in v1.28.0
func (s ForbiddenException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ForbiddenException) Message ¶ added in v1.28.0
func (s *ForbiddenException) Message() string
Message returns the exception's message.
func (*ForbiddenException) OrigErr ¶ added in v1.28.0
func (s *ForbiddenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ForbiddenException) RequestID ¶ added in v1.28.0
func (s *ForbiddenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ForbiddenException) StatusCode ¶ added in v1.28.0
func (s *ForbiddenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ForbiddenException) String ¶ added in v1.28.0
func (s ForbiddenException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s GetApplicationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetApplicationInput) SetApplicationId ¶
func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (*GetApplicationInput) SetSemanticVersion ¶
func (s *GetApplicationInput) SetSemanticVersion(v string) *GetApplicationInput
SetSemanticVersion sets the SemanticVersion field's value.
func (GetApplicationInput) String ¶
func (s GetApplicationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s GetApplicationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetApplicationOutput) SetApplicationId ¶
func (s *GetApplicationOutput) SetApplicationId(v string) *GetApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*GetApplicationOutput) SetAuthor ¶
func (s *GetApplicationOutput) SetAuthor(v string) *GetApplicationOutput
SetAuthor sets the Author field's value.
func (*GetApplicationOutput) SetCreationTime ¶
func (s *GetApplicationOutput) SetCreationTime(v string) *GetApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*GetApplicationOutput) SetDescription ¶
func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput
SetDescription sets the Description field's value.
func (*GetApplicationOutput) SetHomePageUrl ¶ added in v1.13.2
func (s *GetApplicationOutput) SetHomePageUrl(v string) *GetApplicationOutput
SetHomePageUrl sets the HomePageUrl field's value.
func (*GetApplicationOutput) SetIsVerifiedAuthor ¶ added in v1.25.43
func (s *GetApplicationOutput) SetIsVerifiedAuthor(v bool) *GetApplicationOutput
SetIsVerifiedAuthor sets the IsVerifiedAuthor field's value.
func (*GetApplicationOutput) SetLabels ¶
func (s *GetApplicationOutput) SetLabels(v []*string) *GetApplicationOutput
SetLabels sets the Labels field's value.
func (*GetApplicationOutput) SetLicenseUrl ¶
func (s *GetApplicationOutput) SetLicenseUrl(v string) *GetApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*GetApplicationOutput) SetName ¶
func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput
SetName sets the Name field's value.
func (*GetApplicationOutput) SetReadmeUrl ¶
func (s *GetApplicationOutput) SetReadmeUrl(v string) *GetApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*GetApplicationOutput) SetSpdxLicenseId ¶
func (s *GetApplicationOutput) SetSpdxLicenseId(v string) *GetApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*GetApplicationOutput) SetVerifiedAuthorUrl ¶ added in v1.25.43
func (s *GetApplicationOutput) SetVerifiedAuthorUrl(v string) *GetApplicationOutput
SetVerifiedAuthorUrl sets the VerifiedAuthorUrl field's value.
func (*GetApplicationOutput) SetVersion ¶
func (s *GetApplicationOutput) SetVersion(v *Version) *GetApplicationOutput
SetVersion sets the Version field's value.
func (GetApplicationOutput) String ¶
func (s GetApplicationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s GetApplicationPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetApplicationPolicyInput) SetApplicationId ¶
func (s *GetApplicationPolicyInput) SetApplicationId(v string) *GetApplicationPolicyInput
SetApplicationId sets the ApplicationId field's value.
func (GetApplicationPolicyInput) String ¶
func (s GetApplicationPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s GetApplicationPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetApplicationPolicyOutput) SetStatements ¶
func (s *GetApplicationPolicyOutput) SetStatements(v []*ApplicationPolicyStatement) *GetApplicationPolicyOutput
SetStatements sets the Statements field's value.
func (GetApplicationPolicyOutput) String ¶
func (s GetApplicationPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCloudFormationTemplateInput ¶ added in v1.15.69
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) GoString ¶ added in v1.15.69
func (s GetCloudFormationTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCloudFormationTemplateInput) SetApplicationId ¶ added in v1.15.69
func (s *GetCloudFormationTemplateInput) SetApplicationId(v string) *GetCloudFormationTemplateInput
SetApplicationId sets the ApplicationId field's value.
func (*GetCloudFormationTemplateInput) SetTemplateId ¶ added in v1.15.69
func (s *GetCloudFormationTemplateInput) SetTemplateId(v string) *GetCloudFormationTemplateInput
SetTemplateId sets the TemplateId field's value.
func (GetCloudFormationTemplateInput) String ¶ added in v1.15.69
func (s GetCloudFormationTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCloudFormationTemplateInput) Validate ¶ added in v1.15.69
func (s *GetCloudFormationTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCloudFormationTemplateOutput ¶ added in v1.15.69
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 *string `locationName:"status" type:"string" enum:"Status"` TemplateId *string `locationName:"templateId" type:"string"` TemplateUrl *string `locationName:"templateUrl" type:"string"` // contains filtered or unexported fields }
func (GetCloudFormationTemplateOutput) GoString ¶ added in v1.15.69
func (s GetCloudFormationTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCloudFormationTemplateOutput) SetApplicationId ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetApplicationId(v string) *GetCloudFormationTemplateOutput
SetApplicationId sets the ApplicationId field's value.
func (*GetCloudFormationTemplateOutput) SetCreationTime ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetCreationTime(v string) *GetCloudFormationTemplateOutput
SetCreationTime sets the CreationTime field's value.
func (*GetCloudFormationTemplateOutput) SetExpirationTime ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetExpirationTime(v string) *GetCloudFormationTemplateOutput
SetExpirationTime sets the ExpirationTime field's value.
func (*GetCloudFormationTemplateOutput) SetSemanticVersion ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetSemanticVersion(v string) *GetCloudFormationTemplateOutput
SetSemanticVersion sets the SemanticVersion field's value.
func (*GetCloudFormationTemplateOutput) SetStatus ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetStatus(v string) *GetCloudFormationTemplateOutput
SetStatus sets the Status field's value.
func (*GetCloudFormationTemplateOutput) SetTemplateId ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetTemplateId(v string) *GetCloudFormationTemplateOutput
SetTemplateId sets the TemplateId field's value.
func (*GetCloudFormationTemplateOutput) SetTemplateUrl ¶ added in v1.15.69
func (s *GetCloudFormationTemplateOutput) SetTemplateUrl(v string) *GetCloudFormationTemplateOutput
SetTemplateUrl sets the TemplateUrl field's value.
func (GetCloudFormationTemplateOutput) String ¶ added in v1.15.69
func (s GetCloudFormationTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerErrorException ¶ added in v1.28.0
type InternalServerErrorException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 500 ErrorCode *string `locationName:"errorCode" type:"string"` // The AWS Serverless Application Repository service encountered an internal // error. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The AWS Serverless Application Repository service encountered an internal error.
func (*InternalServerErrorException) Code ¶ added in v1.28.0
func (s *InternalServerErrorException) Code() string
Code returns the exception type name.
func (*InternalServerErrorException) Error ¶ added in v1.28.0
func (s *InternalServerErrorException) Error() string
func (InternalServerErrorException) GoString ¶ added in v1.28.0
func (s InternalServerErrorException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerErrorException) Message ¶ added in v1.28.0
func (s *InternalServerErrorException) Message() string
Message returns the exception's message.
func (*InternalServerErrorException) OrigErr ¶ added in v1.28.0
func (s *InternalServerErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerErrorException) RequestID ¶ added in v1.28.0
func (s *InternalServerErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerErrorException) StatusCode ¶ added in v1.28.0
func (s *InternalServerErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerErrorException) String ¶ added in v1.28.0
func (s InternalServerErrorException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListApplicationDependenciesInput ¶ added in v1.15.87
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) GoString ¶ added in v1.15.87
func (s ListApplicationDependenciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationDependenciesInput) SetApplicationId ¶ added in v1.15.87
func (s *ListApplicationDependenciesInput) SetApplicationId(v string) *ListApplicationDependenciesInput
SetApplicationId sets the ApplicationId field's value.
func (*ListApplicationDependenciesInput) SetMaxItems ¶ added in v1.15.87
func (s *ListApplicationDependenciesInput) SetMaxItems(v int64) *ListApplicationDependenciesInput
SetMaxItems sets the MaxItems field's value.
func (*ListApplicationDependenciesInput) SetNextToken ¶ added in v1.15.87
func (s *ListApplicationDependenciesInput) SetNextToken(v string) *ListApplicationDependenciesInput
SetNextToken sets the NextToken field's value.
func (*ListApplicationDependenciesInput) SetSemanticVersion ¶ added in v1.15.87
func (s *ListApplicationDependenciesInput) SetSemanticVersion(v string) *ListApplicationDependenciesInput
SetSemanticVersion sets the SemanticVersion field's value.
func (ListApplicationDependenciesInput) String ¶ added in v1.15.87
func (s ListApplicationDependenciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationDependenciesInput) Validate ¶ added in v1.15.87
func (s *ListApplicationDependenciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationDependenciesOutput ¶ added in v1.15.87
type ListApplicationDependenciesOutput struct { Dependencies []*ApplicationDependencySummary `locationName:"dependencies" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListApplicationDependenciesOutput) GoString ¶ added in v1.15.87
func (s ListApplicationDependenciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationDependenciesOutput) SetDependencies ¶ added in v1.15.87
func (s *ListApplicationDependenciesOutput) SetDependencies(v []*ApplicationDependencySummary) *ListApplicationDependenciesOutput
SetDependencies sets the Dependencies field's value.
func (*ListApplicationDependenciesOutput) SetNextToken ¶ added in v1.15.87
func (s *ListApplicationDependenciesOutput) SetNextToken(v string) *ListApplicationDependenciesOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationDependenciesOutput) String ¶ added in v1.15.87
func (s ListApplicationDependenciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ListApplicationVersionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationVersionsInput) SetApplicationId ¶
func (s *ListApplicationVersionsInput) SetApplicationId(v string) *ListApplicationVersionsInput
SetApplicationId sets the ApplicationId field's value.
func (*ListApplicationVersionsInput) SetMaxItems ¶
func (s *ListApplicationVersionsInput) SetMaxItems(v int64) *ListApplicationVersionsInput
SetMaxItems sets the MaxItems field's value.
func (*ListApplicationVersionsInput) SetNextToken ¶
func (s *ListApplicationVersionsInput) SetNextToken(v string) *ListApplicationVersionsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationVersionsInput) String ¶
func (s ListApplicationVersionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ListApplicationVersionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationVersionsOutput) SetNextToken ¶
func (s *ListApplicationVersionsOutput) SetNextToken(v string) *ListApplicationVersionsOutput
SetNextToken sets the NextToken field's value.
func (*ListApplicationVersionsOutput) SetVersions ¶
func (s *ListApplicationVersionsOutput) SetVersions(v []*VersionSummary) *ListApplicationVersionsOutput
SetVersions sets the Versions field's value.
func (ListApplicationVersionsOutput) String ¶
func (s ListApplicationVersionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ListApplicationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationsInput) SetMaxItems ¶
func (s *ListApplicationsInput) SetMaxItems(v int64) *ListApplicationsInput
SetMaxItems sets the MaxItems field's value.
func (*ListApplicationsInput) SetNextToken ¶
func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationsInput) String ¶
func (s ListApplicationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ListApplicationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListApplicationsOutput) SetApplications ¶
func (s *ListApplicationsOutput) SetApplications(v []*ApplicationSummary) *ListApplicationsOutput
SetApplications sets the Applications field's value.
func (*ListApplicationsOutput) SetNextToken ¶
func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotFoundException ¶ added in v1.28.0
type NotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 404 ErrorCode *string `locationName:"errorCode" type:"string"` // The resource (for example, an access policy statement) specified in the request // doesn't exist. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The resource (for example, an access policy statement) specified in the request doesn't exist.
func (*NotFoundException) Code ¶ added in v1.28.0
func (s *NotFoundException) Code() string
Code returns the exception type name.
func (*NotFoundException) Error ¶ added in v1.28.0
func (s *NotFoundException) Error() string
func (NotFoundException) GoString ¶ added in v1.28.0
func (s NotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NotFoundException) Message ¶ added in v1.28.0
func (s *NotFoundException) Message() string
Message returns the exception's message.
func (*NotFoundException) OrigErr ¶ added in v1.28.0
func (s *NotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotFoundException) RequestID ¶ added in v1.28.0
func (s *NotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotFoundException) StatusCode ¶ added in v1.28.0
func (s *NotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotFoundException) String ¶ added in v1.28.0
func (s NotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ParameterDefinition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ParameterDefinition) SetAllowedPattern ¶
func (s *ParameterDefinition) SetAllowedPattern(v string) *ParameterDefinition
SetAllowedPattern sets the AllowedPattern field's value.
func (*ParameterDefinition) SetAllowedValues ¶
func (s *ParameterDefinition) SetAllowedValues(v []*string) *ParameterDefinition
SetAllowedValues sets the AllowedValues field's value.
func (*ParameterDefinition) SetConstraintDescription ¶
func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition
SetConstraintDescription sets the ConstraintDescription field's value.
func (*ParameterDefinition) SetDefaultValue ¶
func (s *ParameterDefinition) SetDefaultValue(v string) *ParameterDefinition
SetDefaultValue sets the DefaultValue field's value.
func (*ParameterDefinition) SetDescription ¶
func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition
SetDescription sets the Description field's value.
func (*ParameterDefinition) SetMaxLength ¶
func (s *ParameterDefinition) SetMaxLength(v int64) *ParameterDefinition
SetMaxLength sets the MaxLength field's value.
func (*ParameterDefinition) SetMaxValue ¶
func (s *ParameterDefinition) SetMaxValue(v int64) *ParameterDefinition
SetMaxValue sets the MaxValue field's value.
func (*ParameterDefinition) SetMinLength ¶
func (s *ParameterDefinition) SetMinLength(v int64) *ParameterDefinition
SetMinLength sets the MinLength field's value.
func (*ParameterDefinition) SetMinValue ¶
func (s *ParameterDefinition) SetMinValue(v int64) *ParameterDefinition
SetMinValue sets the MinValue field's value.
func (*ParameterDefinition) SetName ¶
func (s *ParameterDefinition) SetName(v string) *ParameterDefinition
SetName sets the Name field's value.
func (*ParameterDefinition) SetNoEcho ¶
func (s *ParameterDefinition) SetNoEcho(v bool) *ParameterDefinition
SetNoEcho sets the NoEcho field's value.
func (*ParameterDefinition) SetReferencedByResources ¶
func (s *ParameterDefinition) SetReferencedByResources(v []*string) *ParameterDefinition
SetReferencedByResources sets the ReferencedByResources field's value.
func (*ParameterDefinition) SetType ¶
func (s *ParameterDefinition) SetType(v string) *ParameterDefinition
SetType sets the Type field's value.
func (ParameterDefinition) String ¶
func (s ParameterDefinition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s ParameterValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ParameterValue) SetName ¶
func (s *ParameterValue) SetName(v string) *ParameterValue
SetName sets the Name field's value.
func (*ParameterValue) SetValue ¶
func (s *ParameterValue) SetValue(v string) *ParameterValue
SetValue sets the Value field's value.
func (ParameterValue) String ¶
func (s ParameterValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ParameterValue) Validate ¶ added in v1.13.2
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) GoString ¶
func (s PutApplicationPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutApplicationPolicyInput) SetApplicationId ¶
func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput
SetApplicationId sets the ApplicationId field's value.
func (*PutApplicationPolicyInput) SetStatements ¶
func (s *PutApplicationPolicyInput) SetStatements(v []*ApplicationPolicyStatement) *PutApplicationPolicyInput
SetStatements sets the Statements field's value.
func (PutApplicationPolicyInput) String ¶
func (s PutApplicationPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s PutApplicationPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutApplicationPolicyOutput) SetStatements ¶
func (s *PutApplicationPolicyOutput) SetStatements(v []*ApplicationPolicyStatement) *PutApplicationPolicyOutput
SetStatements sets the Statements field's value.
func (PutApplicationPolicyOutput) String ¶
func (s PutApplicationPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RollbackConfiguration ¶ added in v1.15.69
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) GoString ¶ added in v1.15.69
func (s RollbackConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RollbackConfiguration) SetMonitoringTimeInMinutes ¶ added in v1.15.69
func (s *RollbackConfiguration) SetMonitoringTimeInMinutes(v int64) *RollbackConfiguration
SetMonitoringTimeInMinutes sets the MonitoringTimeInMinutes field's value.
func (*RollbackConfiguration) SetRollbackTriggers ¶ added in v1.15.69
func (s *RollbackConfiguration) SetRollbackTriggers(v []*RollbackTrigger) *RollbackConfiguration
SetRollbackTriggers sets the RollbackTriggers field's value.
func (RollbackConfiguration) String ¶ added in v1.15.69
func (s RollbackConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RollbackConfiguration) Validate ¶ added in v1.15.69
func (s *RollbackConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RollbackTrigger ¶ added in v1.15.69
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) GoString ¶ added in v1.15.69
func (s RollbackTrigger) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RollbackTrigger) SetArn ¶ added in v1.15.69
func (s *RollbackTrigger) SetArn(v string) *RollbackTrigger
SetArn sets the Arn field's value.
func (*RollbackTrigger) SetType ¶ added in v1.15.69
func (s *RollbackTrigger) SetType(v string) *RollbackTrigger
SetType sets the Type field's value.
func (RollbackTrigger) String ¶ added in v1.15.69
func (s RollbackTrigger) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RollbackTrigger) Validate ¶ added in v1.15.69
func (s *RollbackTrigger) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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(p client.ConfigProvider, cfgs ...*aws.Config) *ServerlessApplicationRepository
New creates a new instance of the ServerlessApplicationRepository client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ServerlessApplicationRepository client from just a session. svc := serverlessapplicationrepository.New(mySession) // Create a ServerlessApplicationRepository client with additional configuration svc := serverlessapplicationrepository.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ServerlessApplicationRepository) CreateApplication ¶
func (c *ServerlessApplicationRepository) CreateApplication(input *CreateApplicationRequest) (*CreateApplicationOutput, error)
CreateApplication API operation for AWSServerlessApplicationRepository.
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation CreateApplication for usage and error information.
Returned Error Types:
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ConflictException The resource already exists.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication
func (*ServerlessApplicationRepository) CreateApplicationRequest ¶
func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *CreateApplicationRequest) (req *request.Request, output *CreateApplicationOutput)
CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApplication for more information on using the CreateApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApplicationRequest method. req, resp := client.CreateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication
func (*ServerlessApplicationRepository) CreateApplicationVersion ¶
func (c *ServerlessApplicationRepository) CreateApplicationVersion(input *CreateApplicationVersionRequest) (*CreateApplicationVersionOutput, error)
CreateApplicationVersion API operation for AWSServerlessApplicationRepository.
Creates an application version.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation CreateApplicationVersion for usage and error information.
Returned Error Types:
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ConflictException The resource already exists.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion
func (*ServerlessApplicationRepository) CreateApplicationVersionRequest ¶
func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input *CreateApplicationVersionRequest) (req *request.Request, output *CreateApplicationVersionOutput)
CreateApplicationVersionRequest generates a "aws/request.Request" representing the client's request for the CreateApplicationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApplicationVersion for more information on using the CreateApplicationVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApplicationVersionRequest method. req, resp := client.CreateApplicationVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion
func (*ServerlessApplicationRepository) CreateApplicationVersionWithContext ¶
func (c *ServerlessApplicationRepository) CreateApplicationVersionWithContext(ctx aws.Context, input *CreateApplicationVersionRequest, opts ...request.Option) (*CreateApplicationVersionOutput, error)
CreateApplicationVersionWithContext is the same as CreateApplicationVersion with the addition of the ability to pass a context and additional request options.
See CreateApplicationVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) CreateApplicationWithContext ¶
func (c *ServerlessApplicationRepository) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationRequest, opts ...request.Option) (*CreateApplicationOutput, error)
CreateApplicationWithContext is the same as CreateApplication with the addition of the ability to pass a context and additional request options.
See CreateApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) CreateCloudFormationChangeSet ¶
func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSet(input *CreateCloudFormationChangeSetRequest) (*CreateCloudFormationChangeSetOutput, error)
CreateCloudFormationChangeSet API operation for AWSServerlessApplicationRepository.
Creates an AWS CloudFormation change set for the given application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation CreateCloudFormationChangeSet for usage and error information.
Returned Error Types:
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet
func (*ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest ¶
func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetRequest) (req *request.Request, output *CreateCloudFormationChangeSetOutput)
CreateCloudFormationChangeSetRequest generates a "aws/request.Request" representing the client's request for the CreateCloudFormationChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCloudFormationChangeSet for more information on using the CreateCloudFormationChangeSet API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateCloudFormationChangeSetRequest method. req, resp := client.CreateCloudFormationChangeSetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet
func (*ServerlessApplicationRepository) CreateCloudFormationChangeSetWithContext ¶
func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetWithContext(ctx aws.Context, input *CreateCloudFormationChangeSetRequest, opts ...request.Option) (*CreateCloudFormationChangeSetOutput, error)
CreateCloudFormationChangeSetWithContext is the same as CreateCloudFormationChangeSet with the addition of the ability to pass a context and additional request options.
See CreateCloudFormationChangeSet for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) CreateCloudFormationTemplate ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) CreateCloudFormationTemplate(input *CreateCloudFormationTemplateInput) (*CreateCloudFormationTemplateOutput, error)
CreateCloudFormationTemplate API operation for AWSServerlessApplicationRepository.
Creates an AWS CloudFormation template.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation CreateCloudFormationTemplate for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate
func (*ServerlessApplicationRepository) CreateCloudFormationTemplateRequest ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateRequest(input *CreateCloudFormationTemplateInput) (req *request.Request, output *CreateCloudFormationTemplateOutput)
CreateCloudFormationTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateCloudFormationTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCloudFormationTemplate for more information on using the CreateCloudFormationTemplate API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateCloudFormationTemplateRequest method. req, resp := client.CreateCloudFormationTemplateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate
func (*ServerlessApplicationRepository) CreateCloudFormationTemplateWithContext ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateWithContext(ctx aws.Context, input *CreateCloudFormationTemplateInput, opts ...request.Option) (*CreateCloudFormationTemplateOutput, error)
CreateCloudFormationTemplateWithContext is the same as CreateCloudFormationTemplate with the addition of the ability to pass a context and additional request options.
See CreateCloudFormationTemplate for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) DeleteApplication ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)
DeleteApplication API operation for AWSServerlessApplicationRepository.
Deletes the specified application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation DeleteApplication for usage and error information.
Returned Error Types:
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
ConflictException The resource already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplication
func (*ServerlessApplicationRepository) DeleteApplicationRequest ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)
DeleteApplicationRequest generates a "aws/request.Request" representing the client's request for the DeleteApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApplication for more information on using the DeleteApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApplicationRequest method. req, resp := client.DeleteApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplication
func (*ServerlessApplicationRepository) DeleteApplicationWithContext ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)
DeleteApplicationWithContext is the same as DeleteApplication with the addition of the ability to pass a context and additional request options.
See DeleteApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) GetApplication ¶
func (c *ServerlessApplicationRepository) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error)
GetApplication API operation for AWSServerlessApplicationRepository.
Gets the specified application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation GetApplication for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication
func (*ServerlessApplicationRepository) GetApplicationPolicy ¶
func (c *ServerlessApplicationRepository) GetApplicationPolicy(input *GetApplicationPolicyInput) (*GetApplicationPolicyOutput, error)
GetApplicationPolicy API operation for AWSServerlessApplicationRepository.
Retrieves the policy for the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation GetApplicationPolicy for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy
func (*ServerlessApplicationRepository) GetApplicationPolicyRequest ¶
func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) (req *request.Request, output *GetApplicationPolicyOutput)
GetApplicationPolicyRequest generates a "aws/request.Request" representing the client's request for the GetApplicationPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApplicationPolicy for more information on using the GetApplicationPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApplicationPolicyRequest method. req, resp := client.GetApplicationPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy
func (*ServerlessApplicationRepository) GetApplicationPolicyWithContext ¶
func (c *ServerlessApplicationRepository) GetApplicationPolicyWithContext(ctx aws.Context, input *GetApplicationPolicyInput, opts ...request.Option) (*GetApplicationPolicyOutput, error)
GetApplicationPolicyWithContext is the same as GetApplicationPolicy with the addition of the ability to pass a context and additional request options.
See GetApplicationPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) GetApplicationRequest ¶
func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput)
GetApplicationRequest generates a "aws/request.Request" representing the client's request for the GetApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApplication for more information on using the GetApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApplicationRequest method. req, resp := client.GetApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication
func (*ServerlessApplicationRepository) GetApplicationWithContext ¶
func (c *ServerlessApplicationRepository) GetApplicationWithContext(ctx aws.Context, input *GetApplicationInput, opts ...request.Option) (*GetApplicationOutput, error)
GetApplicationWithContext is the same as GetApplication with the addition of the ability to pass a context and additional request options.
See GetApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) GetCloudFormationTemplate ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) GetCloudFormationTemplate(input *GetCloudFormationTemplateInput) (*GetCloudFormationTemplateOutput, error)
GetCloudFormationTemplate API operation for AWSServerlessApplicationRepository.
Gets the specified AWS CloudFormation template.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation GetCloudFormationTemplate for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate
func (*ServerlessApplicationRepository) GetCloudFormationTemplateRequest ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) GetCloudFormationTemplateRequest(input *GetCloudFormationTemplateInput) (req *request.Request, output *GetCloudFormationTemplateOutput)
GetCloudFormationTemplateRequest generates a "aws/request.Request" representing the client's request for the GetCloudFormationTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetCloudFormationTemplate for more information on using the GetCloudFormationTemplate API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetCloudFormationTemplateRequest method. req, resp := client.GetCloudFormationTemplateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate
func (*ServerlessApplicationRepository) GetCloudFormationTemplateWithContext ¶ added in v1.15.69
func (c *ServerlessApplicationRepository) GetCloudFormationTemplateWithContext(ctx aws.Context, input *GetCloudFormationTemplateInput, opts ...request.Option) (*GetCloudFormationTemplateOutput, error)
GetCloudFormationTemplateWithContext is the same as GetCloudFormationTemplate with the addition of the ability to pass a context and additional request options.
See GetCloudFormationTemplate for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplicationDependencies ¶ added in v1.15.87
func (c *ServerlessApplicationRepository) ListApplicationDependencies(input *ListApplicationDependenciesInput) (*ListApplicationDependenciesOutput, error)
ListApplicationDependencies API operation for AWSServerlessApplicationRepository.
Retrieves the list of applications nested in the containing application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation ListApplicationDependencies for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationDependencies
func (*ServerlessApplicationRepository) ListApplicationDependenciesPages ¶ added in v1.15.87
func (c *ServerlessApplicationRepository) ListApplicationDependenciesPages(input *ListApplicationDependenciesInput, fn func(*ListApplicationDependenciesOutput, bool) bool) error
ListApplicationDependenciesPages iterates over the pages of a ListApplicationDependencies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApplicationDependencies method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplicationDependencies operation. pageNum := 0 err := client.ListApplicationDependenciesPages(params, func(page *serverlessapplicationrepository.ListApplicationDependenciesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServerlessApplicationRepository) ListApplicationDependenciesPagesWithContext ¶ added in v1.15.87
func (c *ServerlessApplicationRepository) ListApplicationDependenciesPagesWithContext(ctx aws.Context, input *ListApplicationDependenciesInput, fn func(*ListApplicationDependenciesOutput, bool) bool, opts ...request.Option) error
ListApplicationDependenciesPagesWithContext same as ListApplicationDependenciesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplicationDependenciesRequest ¶ added in v1.15.87
func (c *ServerlessApplicationRepository) ListApplicationDependenciesRequest(input *ListApplicationDependenciesInput) (req *request.Request, output *ListApplicationDependenciesOutput)
ListApplicationDependenciesRequest generates a "aws/request.Request" representing the client's request for the ListApplicationDependencies operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApplicationDependencies for more information on using the ListApplicationDependencies API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListApplicationDependenciesRequest method. req, resp := client.ListApplicationDependenciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationDependencies
func (*ServerlessApplicationRepository) ListApplicationDependenciesWithContext ¶ added in v1.15.87
func (c *ServerlessApplicationRepository) ListApplicationDependenciesWithContext(ctx aws.Context, input *ListApplicationDependenciesInput, opts ...request.Option) (*ListApplicationDependenciesOutput, error)
ListApplicationDependenciesWithContext is the same as ListApplicationDependencies with the addition of the ability to pass a context and additional request options.
See ListApplicationDependencies for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplicationVersions ¶
func (c *ServerlessApplicationRepository) ListApplicationVersions(input *ListApplicationVersionsInput) (*ListApplicationVersionsOutput, error)
ListApplicationVersions API operation for AWSServerlessApplicationRepository.
Lists versions for the specified application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation ListApplicationVersions for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions
func (*ServerlessApplicationRepository) ListApplicationVersionsPages ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) ListApplicationVersionsPages(input *ListApplicationVersionsInput, fn func(*ListApplicationVersionsOutput, bool) bool) error
ListApplicationVersionsPages iterates over the pages of a ListApplicationVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApplicationVersions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplicationVersions operation. pageNum := 0 err := client.ListApplicationVersionsPages(params, func(page *serverlessapplicationrepository.ListApplicationVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServerlessApplicationRepository) ListApplicationVersionsPagesWithContext ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) ListApplicationVersionsPagesWithContext(ctx aws.Context, input *ListApplicationVersionsInput, fn func(*ListApplicationVersionsOutput, bool) bool, opts ...request.Option) error
ListApplicationVersionsPagesWithContext same as ListApplicationVersionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplicationVersionsRequest ¶
func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) (req *request.Request, output *ListApplicationVersionsOutput)
ListApplicationVersionsRequest generates a "aws/request.Request" representing the client's request for the ListApplicationVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApplicationVersions for more information on using the ListApplicationVersions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListApplicationVersionsRequest method. req, resp := client.ListApplicationVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions
func (*ServerlessApplicationRepository) ListApplicationVersionsWithContext ¶
func (c *ServerlessApplicationRepository) ListApplicationVersionsWithContext(ctx aws.Context, input *ListApplicationVersionsInput, opts ...request.Option) (*ListApplicationVersionsOutput, error)
ListApplicationVersionsWithContext is the same as ListApplicationVersions with the addition of the ability to pass a context and additional request options.
See ListApplicationVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplications ¶
func (c *ServerlessApplicationRepository) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)
ListApplications API operation for AWSServerlessApplicationRepository.
Lists applications owned by the requester.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation ListApplications for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications
func (*ServerlessApplicationRepository) ListApplicationsPages ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error
ListApplicationsPages iterates over the pages of a ListApplications operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApplications method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplications operation. pageNum := 0 err := client.ListApplicationsPages(params, func(page *serverlessapplicationrepository.ListApplicationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServerlessApplicationRepository) ListApplicationsPagesWithContext ¶ added in v1.13.2
func (c *ServerlessApplicationRepository) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error
ListApplicationsPagesWithContext same as ListApplicationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) ListApplicationsRequest ¶
func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)
ListApplicationsRequest generates a "aws/request.Request" representing the client's request for the ListApplications operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApplications for more information on using the ListApplications API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListApplicationsRequest method. req, resp := client.ListApplicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications
func (*ServerlessApplicationRepository) ListApplicationsWithContext ¶
func (c *ServerlessApplicationRepository) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)
ListApplicationsWithContext is the same as ListApplications with the addition of the ability to pass a context and additional request options.
See ListApplications for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) PutApplicationPolicy ¶
func (c *ServerlessApplicationRepository) PutApplicationPolicy(input *PutApplicationPolicyInput) (*PutApplicationPolicyOutput, error)
PutApplicationPolicy 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) .
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation PutApplicationPolicy for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy
func (*ServerlessApplicationRepository) PutApplicationPolicyRequest ¶
func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) (req *request.Request, output *PutApplicationPolicyOutput)
PutApplicationPolicyRequest generates a "aws/request.Request" representing the client's request for the PutApplicationPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutApplicationPolicy for more information on using the PutApplicationPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutApplicationPolicyRequest method. req, resp := client.PutApplicationPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy
func (*ServerlessApplicationRepository) PutApplicationPolicyWithContext ¶
func (c *ServerlessApplicationRepository) PutApplicationPolicyWithContext(ctx aws.Context, input *PutApplicationPolicyInput, opts ...request.Option) (*PutApplicationPolicyOutput, error)
PutApplicationPolicyWithContext is the same as PutApplicationPolicy with the addition of the ability to pass a context and additional request options.
See PutApplicationPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) UnshareApplication ¶ added in v1.29.21
func (c *ServerlessApplicationRepository) UnshareApplication(input *UnshareApplicationInput) (*UnshareApplicationOutput, error)
UnshareApplication API operation for AWSServerlessApplicationRepository.
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation UnshareApplication for usage and error information.
Returned Error Types:
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication
func (*ServerlessApplicationRepository) UnshareApplicationRequest ¶ added in v1.29.21
func (c *ServerlessApplicationRepository) UnshareApplicationRequest(input *UnshareApplicationInput) (req *request.Request, output *UnshareApplicationOutput)
UnshareApplicationRequest generates a "aws/request.Request" representing the client's request for the UnshareApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UnshareApplication for more information on using the UnshareApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UnshareApplicationRequest method. req, resp := client.UnshareApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication
func (*ServerlessApplicationRepository) UnshareApplicationWithContext ¶ added in v1.29.21
func (c *ServerlessApplicationRepository) UnshareApplicationWithContext(ctx aws.Context, input *UnshareApplicationInput, opts ...request.Option) (*UnshareApplicationOutput, error)
UnshareApplicationWithContext is the same as UnshareApplication with the addition of the ability to pass a context and additional request options.
See UnshareApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServerlessApplicationRepository) UpdateApplication ¶
func (c *ServerlessApplicationRepository) UpdateApplication(input *UpdateApplicationRequest) (*UpdateApplicationOutput, error)
UpdateApplication API operation for AWSServerlessApplicationRepository.
Updates the specified application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWSServerlessApplicationRepository's API operation UpdateApplication for usage and error information.
Returned Error Types:
BadRequestException One of the parameters in the request is invalid.
InternalServerErrorException The AWS Serverless Application Repository service encountered an internal error.
ForbiddenException The client is not authenticated.
NotFoundException The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException The client is sending more than the allowed number of requests per unit of time.
ConflictException The resource already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication
func (*ServerlessApplicationRepository) UpdateApplicationRequest ¶
func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *UpdateApplicationRequest) (req *request.Request, output *UpdateApplicationOutput)
UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApplication for more information on using the UpdateApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApplicationRequest method. req, resp := client.UpdateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication
func (*ServerlessApplicationRepository) UpdateApplicationWithContext ¶
func (c *ServerlessApplicationRepository) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationRequest, opts ...request.Option) (*UpdateApplicationOutput, error)
UpdateApplicationWithContext is the same as UpdateApplication with the addition of the ability to pass a context and additional request options.
See UpdateApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type Tag ¶ added in v1.15.69
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) GoString ¶ added in v1.15.69
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyRequestsException ¶ added in v1.28.0
type TooManyRequestsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // 429 ErrorCode *string `locationName:"errorCode" type:"string"` // The client is sending more than the allowed number of requests per unit of // time. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The client is sending more than the allowed number of requests per unit of time.
func (*TooManyRequestsException) Code ¶ added in v1.28.0
func (s *TooManyRequestsException) Code() string
Code returns the exception type name.
func (*TooManyRequestsException) Error ¶ added in v1.28.0
func (s *TooManyRequestsException) Error() string
func (TooManyRequestsException) GoString ¶ added in v1.28.0
func (s TooManyRequestsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TooManyRequestsException) Message ¶ added in v1.28.0
func (s *TooManyRequestsException) Message() string
Message returns the exception's message.
func (*TooManyRequestsException) OrigErr ¶ added in v1.28.0
func (s *TooManyRequestsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyRequestsException) RequestID ¶ added in v1.28.0
func (s *TooManyRequestsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyRequestsException) StatusCode ¶ added in v1.28.0
func (s *TooManyRequestsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyRequestsException) String ¶ added in v1.28.0
func (s TooManyRequestsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UnshareApplicationInput ¶ added in v1.29.21
type UnshareApplicationInput struct { string `location:"uri" locationName:"applicationId" type:"string" required:"true"` OrganizationId *string `locationName:"organizationId" type:"string" required:"true"` // contains filtered or unexported fields }ApplicationId *
func (UnshareApplicationInput) GoString ¶ added in v1.29.21
func (s UnshareApplicationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnshareApplicationInput) SetApplicationId ¶ added in v1.29.21
func (s *UnshareApplicationInput) SetApplicationId(v string) *UnshareApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (*UnshareApplicationInput) SetOrganizationId ¶ added in v1.29.21
func (s *UnshareApplicationInput) SetOrganizationId(v string) *UnshareApplicationInput
SetOrganizationId sets the OrganizationId field's value.
func (UnshareApplicationInput) String ¶ added in v1.29.21
func (s UnshareApplicationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnshareApplicationInput) Validate ¶ added in v1.29.21
func (s *UnshareApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnshareApplicationOutput ¶ added in v1.29.21
type UnshareApplicationOutput struct {
// contains filtered or unexported fields
}
func (UnshareApplicationOutput) GoString ¶ added in v1.29.21
func (s UnshareApplicationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UnshareApplicationOutput) String ¶ added in v1.29.21
func (s UnshareApplicationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) GoString ¶
func (s UpdateApplicationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateApplicationOutput) SetApplicationId ¶
func (s *UpdateApplicationOutput) SetApplicationId(v string) *UpdateApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateApplicationOutput) SetAuthor ¶
func (s *UpdateApplicationOutput) SetAuthor(v string) *UpdateApplicationOutput
SetAuthor sets the Author field's value.
func (*UpdateApplicationOutput) SetCreationTime ¶
func (s *UpdateApplicationOutput) SetCreationTime(v string) *UpdateApplicationOutput
SetCreationTime sets the CreationTime field's value.
func (*UpdateApplicationOutput) SetDescription ¶
func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput
SetDescription sets the Description field's value.
func (*UpdateApplicationOutput) SetHomePageUrl ¶ added in v1.13.2
func (s *UpdateApplicationOutput) SetHomePageUrl(v string) *UpdateApplicationOutput
SetHomePageUrl sets the HomePageUrl field's value.
func (*UpdateApplicationOutput) SetIsVerifiedAuthor ¶ added in v1.25.43
func (s *UpdateApplicationOutput) SetIsVerifiedAuthor(v bool) *UpdateApplicationOutput
SetIsVerifiedAuthor sets the IsVerifiedAuthor field's value.
func (*UpdateApplicationOutput) SetLabels ¶
func (s *UpdateApplicationOutput) SetLabels(v []*string) *UpdateApplicationOutput
SetLabels sets the Labels field's value.
func (*UpdateApplicationOutput) SetLicenseUrl ¶
func (s *UpdateApplicationOutput) SetLicenseUrl(v string) *UpdateApplicationOutput
SetLicenseUrl sets the LicenseUrl field's value.
func (*UpdateApplicationOutput) SetName ¶
func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput
SetName sets the Name field's value.
func (*UpdateApplicationOutput) SetReadmeUrl ¶
func (s *UpdateApplicationOutput) SetReadmeUrl(v string) *UpdateApplicationOutput
SetReadmeUrl sets the ReadmeUrl field's value.
func (*UpdateApplicationOutput) SetSpdxLicenseId ¶
func (s *UpdateApplicationOutput) SetSpdxLicenseId(v string) *UpdateApplicationOutput
SetSpdxLicenseId sets the SpdxLicenseId field's value.
func (*UpdateApplicationOutput) SetVerifiedAuthorUrl ¶ added in v1.25.43
func (s *UpdateApplicationOutput) SetVerifiedAuthorUrl(v string) *UpdateApplicationOutput
SetVerifiedAuthorUrl sets the VerifiedAuthorUrl field's value.
func (*UpdateApplicationOutput) SetVersion ¶
func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput
SetVersion sets the Version field's value.
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateApplicationRequest ¶
type UpdateApplicationRequest 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 (UpdateApplicationRequest) GoString ¶
func (s UpdateApplicationRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateApplicationRequest) SetApplicationId ¶
func (s *UpdateApplicationRequest) SetApplicationId(v string) *UpdateApplicationRequest
SetApplicationId sets the ApplicationId field's value.
func (*UpdateApplicationRequest) SetAuthor ¶
func (s *UpdateApplicationRequest) SetAuthor(v string) *UpdateApplicationRequest
SetAuthor sets the Author field's value.
func (*UpdateApplicationRequest) SetDescription ¶
func (s *UpdateApplicationRequest) SetDescription(v string) *UpdateApplicationRequest
SetDescription sets the Description field's value.
func (*UpdateApplicationRequest) SetHomePageUrl ¶ added in v1.13.2
func (s *UpdateApplicationRequest) SetHomePageUrl(v string) *UpdateApplicationRequest
SetHomePageUrl sets the HomePageUrl field's value.
func (*UpdateApplicationRequest) SetLabels ¶
func (s *UpdateApplicationRequest) SetLabels(v []*string) *UpdateApplicationRequest
SetLabels sets the Labels field's value.
func (*UpdateApplicationRequest) SetReadmeBody ¶
func (s *UpdateApplicationRequest) SetReadmeBody(v string) *UpdateApplicationRequest
SetReadmeBody sets the ReadmeBody field's value.
func (*UpdateApplicationRequest) SetReadmeUrl ¶
func (s *UpdateApplicationRequest) SetReadmeUrl(v string) *UpdateApplicationRequest
SetReadmeUrl sets the ReadmeUrl field's value.
func (UpdateApplicationRequest) String ¶
func (s UpdateApplicationRequest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateApplicationRequest) Validate ¶
func (s *UpdateApplicationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []*string `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) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Version) SetApplicationId ¶
SetApplicationId sets the ApplicationId field's value.
func (*Version) SetCreationTime ¶
SetCreationTime sets the CreationTime field's value.
func (*Version) SetParameterDefinitions ¶
func (s *Version) SetParameterDefinitions(v []*ParameterDefinition) *Version
SetParameterDefinitions sets the ParameterDefinitions field's value.
func (*Version) SetRequiredCapabilities ¶ added in v1.15.69
SetRequiredCapabilities sets the RequiredCapabilities field's value.
func (*Version) SetResourcesSupported ¶ added in v1.15.69
SetResourcesSupported sets the ResourcesSupported field's value.
func (*Version) SetSemanticVersion ¶
SetSemanticVersion sets the SemanticVersion field's value.
func (*Version) SetSourceCodeArchiveUrl ¶ added in v1.18.1
SetSourceCodeArchiveUrl sets the SourceCodeArchiveUrl field's value.
func (*Version) SetSourceCodeUrl ¶
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (*Version) SetTemplateUrl ¶
SetTemplateUrl sets the TemplateUrl field's value.
type VersionSummary ¶
type VersionSummary struct { // The application Amazon Resource Name (ARN). // // ApplicationId 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) GoString ¶
func (s VersionSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VersionSummary) SetApplicationId ¶
func (s *VersionSummary) SetApplicationId(v string) *VersionSummary
SetApplicationId sets the ApplicationId field's value.
func (*VersionSummary) SetCreationTime ¶
func (s *VersionSummary) SetCreationTime(v string) *VersionSummary
SetCreationTime sets the CreationTime field's value.
func (*VersionSummary) SetSemanticVersion ¶
func (s *VersionSummary) SetSemanticVersion(v string) *VersionSummary
SetSemanticVersion sets the SemanticVersion field's value.
func (*VersionSummary) SetSourceCodeUrl ¶
func (s *VersionSummary) SetSourceCodeUrl(v string) *VersionSummary
SetSourceCodeUrl sets the SourceCodeUrl field's value.
func (VersionSummary) String ¶
func (s VersionSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. |