elasticbeanstalk

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 9 Imported by: 57

Documentation

Overview

Package elasticbeanstalk provides the client and types for making API requests to Elastic Beanstalk.

AWS Elastic Beanstalk makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on the Amazon Web Services cloud.

For more information about this product, go to the AWS Elastic Beanstalk (http://aws.amazon.com/elasticbeanstalk/) details page. The location of the latest AWS Elastic Beanstalk WSDL is http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl (http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl). To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to access the API, go to Tools for Amazon Web Services (http://aws.amazon.com/tools/).

Endpoints

For a list of region-specific endpoints that AWS Elastic Beanstalk supports, go to Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region) in the Amazon Web Services Glossary.

See https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01 for more information on this service.

See elasticbeanstalk package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticbeanstalk/

Using the Client

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

Index

Examples

Constants

View Source
const (
	ServiceName = "Elastic Beanstalk" // Service's name
	ServiceID   = "ElasticBeanstalk"  // Service's identifier
	EndpointsID = "elasticbeanstalk"  // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeCodeBuildNotInServiceRegionException for service response error code
	// "CodeBuildNotInServiceRegionException".
	//
	// AWS CodeBuild is not available in the specified region.
	ErrCodeCodeBuildNotInServiceRegionException = "CodeBuildNotInServiceRegionException"

	// ErrCodeElasticBeanstalkServiceException for service response error code
	// "ElasticBeanstalkServiceException".
	//
	// A generic service exception has occurred.
	ErrCodeElasticBeanstalkServiceException = "ElasticBeanstalkServiceException"

	// ErrCodeInsufficientPrivilegesException for service response error code
	// "InsufficientPrivilegesException".
	//
	// The specified account does not have sufficient privileges for one or more
	// AWS services.
	ErrCodeInsufficientPrivilegesException = "InsufficientPrivilegesException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// One or more input parameters is not valid. Please correct the input parameters
	// and try the operation again.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeManagedActionInvalidStateException for service response error code
	// "ManagedActionInvalidStateException".
	//
	// Cannot modify the managed action in its current state.
	ErrCodeManagedActionInvalidStateException = "ManagedActionInvalidStateException"

	// ErrCodeOperationInProgressException for service response error code
	// "OperationInProgressFailure".
	//
	// Unable to perform the specified operation because another operation that
	// effects an element in this activity is already in progress.
	ErrCodeOperationInProgressException = "OperationInProgressFailure"

	// ErrCodePlatformVersionStillReferencedException for service response error code
	// "PlatformVersionStillReferencedException".
	//
	// You cannot delete the platform version because there are still environments
	// running on it.
	ErrCodePlatformVersionStillReferencedException = "PlatformVersionStillReferencedException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A resource doesn't exist for the specified Amazon Resource Name (ARN).
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceTypeNotSupportedException for service response error code
	// "ResourceTypeNotSupportedException".
	//
	// The type of the specified Amazon Resource Name (ARN) isn't supported for
	// this operation.
	ErrCodeResourceTypeNotSupportedException = "ResourceTypeNotSupportedException"

	// ErrCodeS3LocationNotInServiceRegionException for service response error code
	// "S3LocationNotInServiceRegionException".
	//
	// The specified S3 bucket does not belong to the S3 region in which the service
	// is running. The following regions are supported:
	//
	//    * IAD/us-east-1
	//
	//    * PDX/us-west-2
	//
	//    * DUB/eu-west-1
	ErrCodeS3LocationNotInServiceRegionException = "S3LocationNotInServiceRegionException"

	// ErrCodeS3SubscriptionRequiredException for service response error code
	// "S3SubscriptionRequiredException".
	//
	// The specified account does not have a subscription to Amazon S3.
	ErrCodeS3SubscriptionRequiredException = "S3SubscriptionRequiredException"

	// ErrCodeSourceBundleDeletionException for service response error code
	// "SourceBundleDeletionFailure".
	//
	// Unable to delete the Amazon S3 source bundle associated with the application
	// version. The application version was deleted successfully.
	ErrCodeSourceBundleDeletionException = "SourceBundleDeletionFailure"

	// ErrCodeTooManyApplicationVersionsException for service response error code
	// "TooManyApplicationVersionsException".
	//
	// The specified account has reached its limit of application versions.
	ErrCodeTooManyApplicationVersionsException = "TooManyApplicationVersionsException"

	// ErrCodeTooManyApplicationsException for service response error code
	// "TooManyApplicationsException".
	//
	// The specified account has reached its limit of applications.
	ErrCodeTooManyApplicationsException = "TooManyApplicationsException"

	// ErrCodeTooManyBucketsException for service response error code
	// "TooManyBucketsException".
	//
	// The specified account has reached its limit of Amazon S3 buckets.
	ErrCodeTooManyBucketsException = "TooManyBucketsException"

	// ErrCodeTooManyConfigurationTemplatesException for service response error code
	// "TooManyConfigurationTemplatesException".
	//
	// The specified account has reached its limit of configuration templates.
	ErrCodeTooManyConfigurationTemplatesException = "TooManyConfigurationTemplatesException"

	// ErrCodeTooManyEnvironmentsException for service response error code
	// "TooManyEnvironmentsException".
	//
	// The specified account has reached its limit of environments.
	ErrCodeTooManyEnvironmentsException = "TooManyEnvironmentsException"

	// ErrCodeTooManyPlatformsException for service response error code
	// "TooManyPlatformsException".
	//
	// You have exceeded the maximum number of allowed platforms associated with
	// the account.
	ErrCodeTooManyPlatformsException = "TooManyPlatformsException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The number of tags in the resource would exceed the number of tags that each
	// resource can have.
	//
	// To calculate this, the operation considers both the number of tags the resource
	// already has and the tags this operation would add if it succeeded.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortEnvironmentUpdateInput

type AbortEnvironmentUpdateInput struct {

	// This specifies the ID of the environment with the in-progress update that
	// you want to cancel.
	EnvironmentId *string `type:"string"`

	// This specifies the name of the environment with the in-progress update that
	// you want to cancel.
	EnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

func (AbortEnvironmentUpdateInput) String

String returns the string representation

func (*AbortEnvironmentUpdateInput) Validate

func (s *AbortEnvironmentUpdateInput) Validate() error

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

type AbortEnvironmentUpdateOutput

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

func (AbortEnvironmentUpdateOutput) String

String returns the string representation

type AbortEnvironmentUpdateRequest

type AbortEnvironmentUpdateRequest struct {
	*aws.Request
	Input *AbortEnvironmentUpdateInput
	Copy  func(*AbortEnvironmentUpdateInput) AbortEnvironmentUpdateRequest
}

AbortEnvironmentUpdateRequest is the request type for the AbortEnvironmentUpdate API operation.

func (AbortEnvironmentUpdateRequest) Send

Send marshals and sends the AbortEnvironmentUpdate API request.

type AbortEnvironmentUpdateResponse added in v0.9.0

type AbortEnvironmentUpdateResponse struct {
	*AbortEnvironmentUpdateOutput
	// contains filtered or unexported fields
}

AbortEnvironmentUpdateResponse is the response type for the AbortEnvironmentUpdate API operation.

func (*AbortEnvironmentUpdateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AbortEnvironmentUpdate request.

type ActionHistoryStatus

type ActionHistoryStatus string
const (
	ActionHistoryStatusCompleted ActionHistoryStatus = "Completed"
	ActionHistoryStatusFailed    ActionHistoryStatus = "Failed"
	ActionHistoryStatusUnknown   ActionHistoryStatus = "Unknown"
)

Enum values for ActionHistoryStatus

func (ActionHistoryStatus) MarshalValue added in v0.3.0

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

func (ActionHistoryStatus) MarshalValueBuf added in v0.3.0

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

type ActionStatus

type ActionStatus string
const (
	ActionStatusScheduled ActionStatus = "Scheduled"
	ActionStatusPending   ActionStatus = "Pending"
	ActionStatusRunning   ActionStatus = "Running"
	ActionStatusUnknown   ActionStatus = "Unknown"
)

Enum values for ActionStatus

func (ActionStatus) MarshalValue added in v0.3.0

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

func (ActionStatus) MarshalValueBuf added in v0.3.0

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

type ActionType

type ActionType string
const (
	ActionTypeInstanceRefresh ActionType = "InstanceRefresh"
	ActionTypePlatformUpdate  ActionType = "PlatformUpdate"
	ActionTypeUnknown         ActionType = "Unknown"
)

Enum values for ActionType

func (ActionType) MarshalValue added in v0.3.0

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

func (ActionType) MarshalValueBuf added in v0.3.0

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

type ApplicationDescription

type ApplicationDescription struct {

	// The Amazon Resource Name (ARN) of the application.
	ApplicationArn *string `type:"string"`

	// The name of the application.
	ApplicationName *string `min:"1" type:"string"`

	// The names of the configuration templates associated with this application.
	ConfigurationTemplates []string `type:"list"`

	// The date when the application was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date when the application was last modified.
	DateUpdated *time.Time `type:"timestamp"`

	// User-defined description of the application.
	Description *string `type:"string"`

	// The lifecycle settings for the application.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`

	// The names of the versions for this application.
	Versions []string `type:"list"`
	// contains filtered or unexported fields
}

Describes the properties of an application.

func (ApplicationDescription) String

func (s ApplicationDescription) String() string

String returns the string representation

type ApplicationMetrics

type ApplicationMetrics struct {

	// The amount of time that the metrics cover (usually 10 seconds). For example,
	// you might have 5 requests (request_count) within the most recent time slice
	// of 10 seconds (duration).
	Duration *int64 `type:"integer"`

	// Represents the average latency for the slowest X percent of requests over
	// the last 10 seconds. Latencies are in seconds with one millisecond resolution.
	Latency *Latency `type:"structure"`

	// Average number of requests handled by the web server per second over the
	// last 10 seconds.
	RequestCount *int64 `type:"integer"`

	// Represents the percentage of requests over the last 10 seconds that resulted
	// in each type of status code response.
	StatusCodes *StatusCodes `type:"structure"`
	// contains filtered or unexported fields
}

Application request metrics for an AWS Elastic Beanstalk environment.

func (ApplicationMetrics) String

func (s ApplicationMetrics) String() string

String returns the string representation

type ApplicationResourceLifecycleConfig

type ApplicationResourceLifecycleConfig struct {

	// The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
	//
	// The ServiceRole property is required the first time that you provide a VersionLifecycleConfig
	// for the application in one of the supporting calls (CreateApplication or
	// UpdateApplicationResourceLifecycle). After you provide it once, in either
	// one of the calls, Elastic Beanstalk persists the Service Role with the application,
	// and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle
	// calls. You can, however, specify it in subsequent calls to change the Service
	// Role to another value.
	ServiceRole *string `type:"string"`

	// Defines lifecycle settings for application versions.
	VersionLifecycleConfig *ApplicationVersionLifecycleConfig `type:"structure"`
	// contains filtered or unexported fields
}

The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that AWS Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.

func (ApplicationResourceLifecycleConfig) String

String returns the string representation

func (*ApplicationResourceLifecycleConfig) Validate

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

type ApplicationVersionDescription

type ApplicationVersionDescription struct {

	// The name of the application to which the application version belongs.
	ApplicationName *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the application version.
	ApplicationVersionArn *string `type:"string"`

	// Reference to the artifact from the AWS CodeBuild build.
	BuildArn *string `type:"string"`

	// The creation date of the application version.
	DateCreated *time.Time `type:"timestamp"`

	// The last modified date of the application version.
	DateUpdated *time.Time `type:"timestamp"`

	// The description of the application version.
	Description *string `type:"string"`

	// If the version's source code was retrieved from AWS CodeCommit, the location
	// of the source code for the application version.
	SourceBuildInformation *SourceBuildInformation `type:"structure"`

	// The storage location of the application version's source bundle in Amazon
	// S3.
	SourceBundle *S3Location `type:"structure"`

	// The processing status of the application version. Reflects the state of the
	// application version during its creation. Many of the values are only applicable
	// if you specified True for the Process parameter of the CreateApplicationVersion
	// action. The following list describes the possible values.
	//
	//    * Unprocessed – Application version wasn't pre-processed or validated.
	//    Elastic Beanstalk will validate configuration files during deployment
	//    of the application version to an environment.
	//
	//    * Processing – Elastic Beanstalk is currently processing the application
	//    version.
	//
	//    * Building – Application version is currently undergoing an AWS CodeBuild
	//    build.
	//
	//    * Processed – Elastic Beanstalk was successfully pre-processed and validated.
	//
	//    * Failed – Either the AWS CodeBuild build failed or configuration files
	//    didn't pass validation. This application version isn't usable.
	Status ApplicationVersionStatus `type:"string" enum:"true"`

	// A unique identifier for the application version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an application version.

func (ApplicationVersionDescription) String

String returns the string representation

type ApplicationVersionLifecycleConfig

type ApplicationVersionLifecycleConfig struct {

	// Specify a max age rule to restrict the length of time that application versions
	// are retained for an application.
	MaxAgeRule *MaxAgeRule `type:"structure"`

	// Specify a max count rule to restrict the number of application versions that
	// are retained for an application.
	MaxCountRule *MaxCountRule `type:"structure"`
	// contains filtered or unexported fields
}

The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

func (ApplicationVersionLifecycleConfig) String

String returns the string representation

func (*ApplicationVersionLifecycleConfig) Validate

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

type ApplicationVersionStatus

type ApplicationVersionStatus string
const (
	ApplicationVersionStatusProcessed   ApplicationVersionStatus = "Processed"
	ApplicationVersionStatusUnprocessed ApplicationVersionStatus = "Unprocessed"
	ApplicationVersionStatusFailed      ApplicationVersionStatus = "Failed"
	ApplicationVersionStatusProcessing  ApplicationVersionStatus = "Processing"
	ApplicationVersionStatusBuilding    ApplicationVersionStatus = "Building"
)

Enum values for ApplicationVersionStatus

func (ApplicationVersionStatus) MarshalValue added in v0.3.0

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

func (ApplicationVersionStatus) MarshalValueBuf added in v0.3.0

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

type ApplyEnvironmentManagedActionInput

type ApplyEnvironmentManagedActionInput struct {

	// The action ID of the scheduled managed action to execute.
	//
	// ActionId is a required field
	ActionId *string `type:"string" required:"true"`

	// The environment ID of the target environment.
	EnvironmentId *string `type:"string"`

	// The name of the target environment.
	EnvironmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Request to execute a scheduled managed action immediately.

func (ApplyEnvironmentManagedActionInput) String

String returns the string representation

func (*ApplyEnvironmentManagedActionInput) Validate

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

type ApplyEnvironmentManagedActionOutput

type ApplyEnvironmentManagedActionOutput struct {

	// A description of the managed action.
	ActionDescription *string `type:"string"`

	// The action ID of the managed action.
	ActionId *string `type:"string"`

	// The type of managed action.
	ActionType ActionType `type:"string" enum:"true"`

	// The status of the managed action.
	Status *string `type:"string"`
	// contains filtered or unexported fields
}

The result message containing information about the managed action.

func (ApplyEnvironmentManagedActionOutput) String

String returns the string representation

type ApplyEnvironmentManagedActionRequest

type ApplyEnvironmentManagedActionRequest struct {
	*aws.Request
	Input *ApplyEnvironmentManagedActionInput
	Copy  func(*ApplyEnvironmentManagedActionInput) ApplyEnvironmentManagedActionRequest
}

ApplyEnvironmentManagedActionRequest is the request type for the ApplyEnvironmentManagedAction API operation.

func (ApplyEnvironmentManagedActionRequest) Send

Send marshals and sends the ApplyEnvironmentManagedAction API request.

type ApplyEnvironmentManagedActionResponse added in v0.9.0

type ApplyEnvironmentManagedActionResponse struct {
	*ApplyEnvironmentManagedActionOutput
	// contains filtered or unexported fields
}

ApplyEnvironmentManagedActionResponse is the response type for the ApplyEnvironmentManagedAction API operation.

func (*ApplyEnvironmentManagedActionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ApplyEnvironmentManagedAction request.

type AutoScalingGroup

type AutoScalingGroup struct {

	// The name of the AutoScalingGroup .
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Auto Scaling launch configuration.

func (AutoScalingGroup) String

func (s AutoScalingGroup) String() string

String returns the string representation

type BuildConfiguration

type BuildConfiguration struct {

	// The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk
	// stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip.
	// If not provided, Elastic Beanstalk stores the build artifact in the S3 location
	// S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.
	ArtifactName *string `type:"string"`

	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
	// (IAM) role that enables AWS CodeBuild to interact with dependent AWS services
	// on behalf of the AWS account.
	//
	// CodeBuildServiceRole is a required field
	CodeBuildServiceRole *string `type:"string" required:"true"`

	// Information about the compute resources the build project will use.
	//
	//    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
	//
	//    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
	//
	//    * BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
	ComputeType ComputeType `type:"string" enum:"true"`

	// The ID of the Docker image to use for this build project.
	//
	// Image is a required field
	Image *string `type:"string" required:"true"`

	// How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until
	// timing out any related build that does not get marked as completed. The default
	// is 60 minutes.
	TimeoutInMinutes *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Settings for an AWS CodeBuild build.

func (BuildConfiguration) String

func (s BuildConfiguration) String() string

String returns the string representation

func (*BuildConfiguration) Validate

func (s *BuildConfiguration) Validate() error

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

type Builder

type Builder struct {

	// The ARN of the builder.
	ARN *string `type:"string"`
	// contains filtered or unexported fields
}

The builder used to build the custom platform.

func (Builder) String

func (s Builder) String() string

String returns the string representation

type CPUUtilization

type CPUUtilization struct {

	// Available on Linux environments only.
	//
	// Percentage of time that the CPU has spent in the I/O Wait state over the
	// last 10 seconds.
	IOWait *float64 `type:"double"`

	// Available on Linux environments only.
	//
	// Percentage of time that the CPU has spent in the IRQ state over the last
	// 10 seconds.
	IRQ *float64 `type:"double"`

	// Percentage of time that the CPU has spent in the Idle state over the last
	// 10 seconds.
	Idle *float64 `type:"double"`

	// Available on Linux environments only.
	//
	// Percentage of time that the CPU has spent in the Nice state over the last
	// 10 seconds.
	Nice *float64 `type:"double"`

	// Available on Windows environments only.
	//
	// Percentage of time that the CPU has spent in the Privileged state over the
	// last 10 seconds.
	Privileged *float64 `type:"double"`

	// Available on Linux environments only.
	//
	// Percentage of time that the CPU has spent in the SoftIRQ state over the last
	// 10 seconds.
	SoftIRQ *float64 `type:"double"`

	// Available on Linux environments only.
	//
	// Percentage of time that the CPU has spent in the System state over the last
	// 10 seconds.
	System *float64 `type:"double"`

	// Percentage of time that the CPU has spent in the User state over the last
	// 10 seconds.
	User *float64 `type:"double"`
	// contains filtered or unexported fields
}

CPU utilization metrics for an instance.

func (CPUUtilization) String

func (s CPUUtilization) String() string

String returns the string representation

type CheckDNSAvailabilityInput

type CheckDNSAvailabilityInput struct {

	// The prefix used when this CNAME is reserved.
	//
	// CNAMEPrefix is a required field
	CNAMEPrefix *string `min:"4" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Results message indicating whether a CNAME is available.

func (CheckDNSAvailabilityInput) String

func (s CheckDNSAvailabilityInput) String() string

String returns the string representation

func (*CheckDNSAvailabilityInput) Validate

func (s *CheckDNSAvailabilityInput) Validate() error

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

type CheckDNSAvailabilityOutput

type CheckDNSAvailabilityOutput struct {

	// Indicates if the specified CNAME is available:
	//
	//    * true : The CNAME is available.
	//
	//    * false : The CNAME is not available.
	Available *bool `type:"boolean"`

	// The fully qualified CNAME to reserve when CreateEnvironment is called with
	// the provided prefix.
	FullyQualifiedCNAME *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Indicates if the specified CNAME is available.

func (CheckDNSAvailabilityOutput) String

String returns the string representation

type CheckDNSAvailabilityRequest

type CheckDNSAvailabilityRequest struct {
	*aws.Request
	Input *CheckDNSAvailabilityInput
	Copy  func(*CheckDNSAvailabilityInput) CheckDNSAvailabilityRequest
}

CheckDNSAvailabilityRequest is the request type for the CheckDNSAvailability API operation.

func (CheckDNSAvailabilityRequest) Send

Send marshals and sends the CheckDNSAvailability API request.

type CheckDNSAvailabilityResponse added in v0.9.0

type CheckDNSAvailabilityResponse struct {
	*CheckDNSAvailabilityOutput
	// contains filtered or unexported fields
}

CheckDNSAvailabilityResponse is the response type for the CheckDNSAvailability API operation.

func (*CheckDNSAvailabilityResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CheckDNSAvailability request.

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

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

Example:

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

func (*Client) AbortEnvironmentUpdateRequest added in v0.9.0

func (c *Client) AbortEnvironmentUpdateRequest(input *AbortEnvironmentUpdateInput) AbortEnvironmentUpdateRequest

AbortEnvironmentUpdateRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Cancels in-progress environment configuration update or application version deployment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate

Example (Shared00)

To abort a deployment

The following code aborts a running application version deployment for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.AbortEnvironmentUpdateInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.AbortEnvironmentUpdateRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) ApplyEnvironmentManagedActionRequest added in v0.9.0

func (c *Client) ApplyEnvironmentManagedActionRequest(input *ApplyEnvironmentManagedActionInput) ApplyEnvironmentManagedActionRequest

ApplyEnvironmentManagedActionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Applies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction

func (*Client) CheckDNSAvailabilityRequest added in v0.9.0

func (c *Client) CheckDNSAvailabilityRequest(input *CheckDNSAvailabilityInput) CheckDNSAvailabilityRequest

CheckDNSAvailabilityRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Checks if the specified CNAME is available.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability

Example (Shared00)

To check the availability of a CNAME

The following operation checks the availability of the subdomain my-cname:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CheckDNSAvailabilityInput{
		CNAMEPrefix: aws.String("my-cname"),
	}

	req := svc.CheckDNSAvailabilityRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) ComposeEnvironmentsRequest added in v0.9.0

func (c *Client) ComposeEnvironmentsRequest(input *ComposeEnvironmentsInput) ComposeEnvironmentsRequest

ComposeEnvironmentsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named env.yaml. See Compose Environments (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-mgmt-compose.html) for details.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments

func (*Client) CreateApplicationRequest added in v0.9.0

func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest

CreateApplicationRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Creates an application that has one configuration template named default and no application versions.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication

Example (Shared00)

To create a new application

The following operation creates a new application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CreateApplicationInput{
		ApplicationName: aws.String("my-app"),
		Description:     aws.String("my application"),
	}

	req := svc.CreateApplicationRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyApplicationsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyApplicationsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) CreateApplicationVersionRequest added in v0.9.0

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

CreateApplicationVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation.

Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration.

Specify a source bundle in S3 with SourceBundle

Omit both SourceBuildInformation and SourceBundle to use the default sample application.

After you create an application version with a specified Amazon S3 bucket and key location, you can't change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion

Example (Shared00)

To create a new application

The following operation creates a new version (v1) of an application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CreateApplicationVersionInput{
		ApplicationName:       aws.String("my-app"),
		AutoCreateApplication: aws.Bool(true),
		Description:           aws.String("my-app-v1"),
		Process:               aws.Bool(true),
		SourceBundle: &elasticbeanstalk.S3Location{
			S3Bucket: aws.String("my-bucket"),
			S3Key:    aws.String("sample.war"),
		},
		VersionLabel: aws.String("v1"),
	}

	req := svc.CreateApplicationVersionRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyApplicationsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyApplicationsException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyApplicationVersionsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyApplicationVersionsException, aerr.Error())
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeS3LocationNotInServiceRegionException:
				fmt.Println(elasticbeanstalk.ErrCodeS3LocationNotInServiceRegionException, aerr.Error())
			case elasticbeanstalk.ErrCodeCodeBuildNotInServiceRegionException:
				fmt.Println(elasticbeanstalk.ErrCodeCodeBuildNotInServiceRegionException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) CreateConfigurationTemplateRequest added in v0.9.0

func (c *Client) CreateConfigurationTemplateRequest(input *CreateConfigurationTemplateInput) CreateConfigurationTemplateRequest

CreateConfigurationTemplateRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Creates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk application. You define application configuration settings in a configuration template. You can then use the configuration template to deploy different versions of the application with the same configuration settings.

Templates aren't associated with any environment. The EnvironmentName response element is always null.

Related Topics

  • DescribeConfigurationOptions

  • DescribeConfigurationSettings

  • ListAvailableSolutionStacks

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate

Example (Shared00)

To create a configuration template

The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CreateConfigurationTemplateInput{
		ApplicationName: aws.String("my-app"),
		EnvironmentId:   aws.String("e-rpqsewtp2j"),
		TemplateName:    aws.String("my-app-v1"),
	}

	req := svc.CreateConfigurationTemplateRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyConfigurationTemplatesException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyConfigurationTemplatesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) CreateEnvironmentRequest added in v0.9.0

func (c *Client) CreateEnvironmentRequest(input *CreateEnvironmentInput) CreateEnvironmentRequest

CreateEnvironmentRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment

Example (Shared00)

To create a new environment for an application

The following operation creates a new environment for version v1 of a java application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CreateEnvironmentInput{
		ApplicationName:   aws.String("my-app"),
		CNAMEPrefix:       aws.String("my-app"),
		EnvironmentName:   aws.String("my-env"),
		SolutionStackName: aws.String("64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8"),
		VersionLabel:      aws.String("v1"),
	}

	req := svc.CreateEnvironmentRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyEnvironmentsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyEnvironmentsException, aerr.Error())
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) CreatePlatformVersionRequest added in v0.9.0

func (c *Client) CreatePlatformVersionRequest(input *CreatePlatformVersionInput) CreatePlatformVersionRequest

CreatePlatformVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Create a new version of your custom platform.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion

func (*Client) CreateStorageLocationRequest added in v0.9.0

func (c *Client) CreateStorageLocationRequest(input *CreateStorageLocationInput) CreateStorageLocationRequest

CreateStorageLocationRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation still returns the bucket name but does not create a new bucket.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation

Example (Shared00)

To create a new environment for an application

The following operation creates a new environment for version v1 of a java application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.CreateStorageLocationInput{}

	req := svc.CreateStorageLocationRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			case elasticbeanstalk.ErrCodeS3SubscriptionRequiredException:
				fmt.Println(elasticbeanstalk.ErrCodeS3SubscriptionRequiredException, aerr.Error())
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DeleteApplicationRequest added in v0.9.0

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

DeleteApplicationRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.

You cannot delete an application that has a running environment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication

Example (Shared00)

To delete an application

The following operation deletes an application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DeleteApplicationInput{
		ApplicationName: aws.String("my-app"),
	}

	req := svc.DeleteApplicationRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeOperationInProgressException:
				fmt.Println(elasticbeanstalk.ErrCodeOperationInProgressException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DeleteApplicationVersionRequest added in v0.9.0

func (c *Client) DeleteApplicationVersionRequest(input *DeleteApplicationVersionInput) DeleteApplicationVersionRequest

DeleteApplicationVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes the specified version from the specified application.

You cannot delete an application version that is associated with a running environment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion

Example (Shared00)

To delete an application version

The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DeleteApplicationVersionInput{
		ApplicationName:    aws.String("my-app"),
		DeleteSourceBundle: aws.Bool(true),
		VersionLabel:       aws.String("22a0-stage-150819_182129"),
	}

	req := svc.DeleteApplicationVersionRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeSourceBundleDeletionException:
				fmt.Println(elasticbeanstalk.ErrCodeSourceBundleDeletionException, aerr.Error())
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeOperationInProgressException:
				fmt.Println(elasticbeanstalk.ErrCodeOperationInProgressException, aerr.Error())
			case elasticbeanstalk.ErrCodeS3LocationNotInServiceRegionException:
				fmt.Println(elasticbeanstalk.ErrCodeS3LocationNotInServiceRegionException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DeleteConfigurationTemplateRequest added in v0.9.0

func (c *Client) DeleteConfigurationTemplateRequest(input *DeleteConfigurationTemplateInput) DeleteConfigurationTemplateRequest

DeleteConfigurationTemplateRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes the specified configuration template.

When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate

Example (Shared00)

To delete a configuration template

The following operation deletes a configuration template named my-template for an application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DeleteConfigurationTemplateInput{
		ApplicationName: aws.String("my-app"),
		TemplateName:    aws.String("my-template"),
	}

	req := svc.DeleteConfigurationTemplateRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeOperationInProgressException:
				fmt.Println(elasticbeanstalk.ErrCodeOperationInProgressException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DeleteEnvironmentConfigurationRequest added in v0.9.0

func (c *Client) DeleteEnvironmentConfigurationRequest(input *DeleteEnvironmentConfigurationInput) DeleteEnvironmentConfigurationRequest

DeleteEnvironmentConfigurationRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration

Example (Shared00)

To delete a draft configuration

The following operation deletes a draft configuration for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DeleteEnvironmentConfigurationInput{
		ApplicationName: aws.String("my-app"),
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DeleteEnvironmentConfigurationRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DeletePlatformVersionRequest added in v0.9.0

func (c *Client) DeletePlatformVersionRequest(input *DeletePlatformVersionInput) DeletePlatformVersionRequest

DeletePlatformVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes the specified version of a custom platform.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion

func (*Client) DescribeAccountAttributesRequest added in v0.9.0

func (c *Client) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) DescribeAccountAttributesRequest

DescribeAccountAttributesRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.

The result currently has one set of attributes—resource quotas.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeAccountAttributes

func (*Client) DescribeApplicationVersionsRequest added in v0.9.0

func (c *Client) DescribeApplicationVersionsRequest(input *DescribeApplicationVersionsInput) DescribeApplicationVersionsRequest

DescribeApplicationVersionsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Retrieve a list of application versions.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions

Example (Shared00)

To view information about an application version

The following operation retrieves information about an application version labeled v2:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeApplicationVersionsInput{
		ApplicationName: aws.String("my-app"),
		VersionLabels: []string{
			"v2",
		},
	}

	req := svc.DescribeApplicationVersionsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeApplicationsRequest added in v0.9.0

func (c *Client) DescribeApplicationsRequest(input *DescribeApplicationsInput) DescribeApplicationsRequest

DescribeApplicationsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns the descriptions of existing applications.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications

Example (Shared00)

To view a list of applications

The following operation retrieves information about applications in the current region:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeApplicationsInput{}

	req := svc.DescribeApplicationsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeConfigurationOptionsRequest added in v0.9.0

func (c *Client) DescribeConfigurationOptionsRequest(input *DescribeConfigurationOptionsInput) DescribeConfigurationOptionsRequest

DescribeConfigurationOptionsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions

Example (Shared00)

To view configuration options for an environment

The following operation retrieves descriptions of all available configuration options for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeConfigurationOptionsInput{
		ApplicationName: aws.String("my-app"),
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeConfigurationOptionsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeConfigurationSettingsRequest added in v0.9.0

func (c *Client) DescribeConfigurationSettingsRequest(input *DescribeConfigurationSettingsInput) DescribeConfigurationSettingsRequest

DescribeConfigurationSettingsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.

When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy.

Related Topics

  • DeleteEnvironmentConfiguration

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings

Example (Shared00)

To view configurations settings for an environment

The following operation retrieves configuration settings for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeConfigurationSettingsInput{
		ApplicationName: aws.String("my-app"),
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeConfigurationSettingsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeEnvironmentHealthRequest added in v0.9.0

func (c *Client) DescribeEnvironmentHealthRequest(input *DescribeEnvironmentHealthInput) DescribeEnvironmentHealthRequest

DescribeEnvironmentHealthRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth

Example (Shared00)

To view environment health

The following operation retrieves overall health information for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeEnvironmentHealthInput{
		AttributeNames: []elasticbeanstalk.EnvironmentHealthAttribute{
			elasticbeanstalk.EnvironmentHealthAttributeAll,
		},
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeEnvironmentHealthRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInvalidRequestException:
				fmt.Println(elasticbeanstalk.ErrCodeInvalidRequestException, aerr.Error())
			case elasticbeanstalk.ErrCodeElasticBeanstalkServiceException:
				fmt.Println(elasticbeanstalk.ErrCodeElasticBeanstalkServiceException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeEnvironmentManagedActionHistoryRequest added in v0.9.0

func (c *Client) DescribeEnvironmentManagedActionHistoryRequest(input *DescribeEnvironmentManagedActionHistoryInput) DescribeEnvironmentManagedActionHistoryRequest

DescribeEnvironmentManagedActionHistoryRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Lists an environment's completed and failed managed actions.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory

func (*Client) DescribeEnvironmentManagedActionsRequest added in v0.9.0

func (c *Client) DescribeEnvironmentManagedActionsRequest(input *DescribeEnvironmentManagedActionsInput) DescribeEnvironmentManagedActionsRequest

DescribeEnvironmentManagedActionsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Lists an environment's upcoming and in-progress managed actions.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions

func (*Client) DescribeEnvironmentResourcesRequest added in v0.9.0

func (c *Client) DescribeEnvironmentResourcesRequest(input *DescribeEnvironmentResourcesInput) DescribeEnvironmentResourcesRequest

DescribeEnvironmentResourcesRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns AWS resources for this environment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources

Example (Shared00)

To view information about the AWS resources in your environment

The following operation retrieves information about resources in an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeEnvironmentResourcesInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeEnvironmentResourcesRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeEnvironmentsRequest added in v0.9.0

func (c *Client) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) DescribeEnvironmentsRequest

DescribeEnvironmentsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns descriptions for existing environments.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments

Example (Shared00)

To view information about an environment

The following operation retrieves information about an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeEnvironmentsInput{
		EnvironmentNames: []string{
			"my-env",
		},
	}

	req := svc.DescribeEnvironmentsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeEventsRequest added in v0.9.0

func (c *Client) DescribeEventsRequest(input *DescribeEventsInput) DescribeEventsRequest

DescribeEventsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns list of event descriptions matching criteria up to the last 6 weeks.

This action returns the most recent 1,000 events from the specified NextToken.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents

Example (Shared00)

To view events for an environment

The following operation retrieves events for an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeEventsInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeEventsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribeInstancesHealthRequest added in v0.9.0

func (c *Client) DescribeInstancesHealthRequest(input *DescribeInstancesHealthInput) DescribeInstancesHealthRequest

DescribeInstancesHealthRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced.html).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth

Example (Shared00)

To view environment health

The following operation retrieves health information for instances in an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.DescribeInstancesHealthInput{
		AttributeNames: []elasticbeanstalk.InstancesHealthAttribute{
			elasticbeanstalk.InstancesHealthAttributeAll,
		},
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.DescribeInstancesHealthRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInvalidRequestException:
				fmt.Println(elasticbeanstalk.ErrCodeInvalidRequestException, aerr.Error())
			case elasticbeanstalk.ErrCodeElasticBeanstalkServiceException:
				fmt.Println(elasticbeanstalk.ErrCodeElasticBeanstalkServiceException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) DescribePlatformVersionRequest added in v0.9.0

func (c *Client) DescribePlatformVersionRequest(input *DescribePlatformVersionInput) DescribePlatformVersionRequest

DescribePlatformVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides summary information about a list of platform versions.

For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion

func (*Client) ListAvailableSolutionStacksRequest added in v0.9.0

func (c *Client) ListAvailableSolutionStacksRequest(input *ListAvailableSolutionStacksInput) ListAvailableSolutionStacksRequest

ListAvailableSolutionStacksRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Returns a list of the available solution stack names, with the public version first and then in reverse chronological order.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks

Example (Shared00)

To view solution stacks

The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.ListAvailableSolutionStacksInput{}

	req := svc.ListAvailableSolutionStacksRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) ListPlatformBranchesRequest added in v0.21.0

func (c *Client) ListPlatformBranchesRequest(input *ListPlatformBranchesInput) ListPlatformBranchesRequest

ListPlatformBranchesRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Lists the platform branches available for your account in an AWS Region. Provides summary information about each platform branch.

For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformBranches

func (*Client) ListPlatformVersionsRequest added in v0.9.0

func (c *Client) ListPlatformVersionsRequest(input *ListPlatformVersionsInput) ListPlatformVersionsRequest

ListPlatformVersionsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Lists the platform versions available for your account in an AWS Region. Provides summary information about each platform version. Compare to DescribePlatformVersion, which provides full details about a single platform version.

For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions

func (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value pairs.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-tagging-resources.html).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource

func (*Client) RebuildEnvironmentRequest added in v0.9.0

func (c *Client) RebuildEnvironmentRequest(input *RebuildEnvironmentInput) RebuildEnvironmentRequest

RebuildEnvironmentRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment

Example (Shared00)

To rebuild an environment

The following operation terminates and recreates the resources in an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.RebuildEnvironmentInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.RebuildEnvironmentRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) RequestEnvironmentInfoRequest added in v0.9.0

func (c *Client) RequestEnvironmentInfoRequest(input *RequestEnvironmentInfoInput) RequestEnvironmentInfoRequest

RequestEnvironmentInfoRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs.

Use RetrieveEnvironmentInfo to obtain the set of logs.

Related Topics

  • RetrieveEnvironmentInfo

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo

Example (Shared00)

To request tailed logs

The following operation requests logs from an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.RequestEnvironmentInfoInput{
		EnvironmentName: aws.String("my-env"),
		InfoType:        elasticbeanstalk.EnvironmentInfoTypeTail,
	}

	req := svc.RequestEnvironmentInfoRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) RestartAppServerRequest added in v0.9.0

func (c *Client) RestartAppServerRequest(input *RestartAppServerInput) RestartAppServerRequest

RestartAppServerRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Causes the environment to restart the application container server running on each Amazon EC2 instance.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer

Example (Shared00)

To restart application servers

The following operation restarts application servers on all instances in an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.RestartAppServerInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.RestartAppServerRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) RetrieveEnvironmentInfoRequest added in v0.9.0

func (c *Client) RetrieveEnvironmentInfoRequest(input *RetrieveEnvironmentInfoInput) RetrieveEnvironmentInfoRequest

RetrieveEnvironmentInfoRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo

Example (Shared00)

To retrieve tailed logs

The following operation retrieves a link to logs from an environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.RetrieveEnvironmentInfoInput{
		EnvironmentName: aws.String("my-env"),
		InfoType:        elasticbeanstalk.EnvironmentInfoTypeTail,
	}

	req := svc.RetrieveEnvironmentInfoRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) SwapEnvironmentCNAMEsRequest added in v0.9.0

func (c *Client) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCNAMEsInput) SwapEnvironmentCNAMEsRequest

SwapEnvironmentCNAMEsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Swaps the CNAMEs of two environments.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs

Example (Shared00)

To swap environment CNAMES

The following operation swaps the assigned subdomains of two environments:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.SwapEnvironmentCNAMEsInput{
		DestinationEnvironmentName: aws.String("my-env-green"),
		SourceEnvironmentName:      aws.String("my-env-blue"),
	}

	req := svc.SwapEnvironmentCNAMEsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) TerminateEnvironmentRequest added in v0.9.0

func (c *Client) TerminateEnvironmentRequest(input *TerminateEnvironmentInput) TerminateEnvironmentRequest

TerminateEnvironmentRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Terminates the specified environment.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment

Example (Shared00)

To terminate an environment

The following operation terminates an Elastic Beanstalk environment named my-env:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.TerminateEnvironmentInput{
		EnvironmentName: aws.String("my-env"),
	}

	req := svc.TerminateEnvironmentRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) UpdateApplicationRequest added in v0.9.0

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

UpdateApplicationRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Updates the specified application to have the specified properties.

If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication

Example (Shared00)

To change an application's description

The following operation updates the description of an application named my-app:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.UpdateApplicationInput{
		ApplicationName: aws.String("my-app"),
		Description:     aws.String("my Elastic Beanstalk application"),
	}

	req := svc.UpdateApplicationRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) UpdateApplicationResourceLifecycleRequest added in v0.9.0

func (c *Client) UpdateApplicationResourceLifecycleRequest(input *UpdateApplicationResourceLifecycleInput) UpdateApplicationResourceLifecycleRequest

UpdateApplicationResourceLifecycleRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Modifies lifecycle settings for an application.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle

func (*Client) UpdateApplicationVersionRequest added in v0.9.0

func (c *Client) UpdateApplicationVersionRequest(input *UpdateApplicationVersionInput) UpdateApplicationVersionRequest

UpdateApplicationVersionRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Updates the specified application version to have the specified properties.

If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion

Example (Shared00)

To change an application version's description

The following operation updates the description of an application version named 22a0-stage-150819_185942:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.UpdateApplicationVersionInput{
		ApplicationName: aws.String("my-app"),
		Description:     aws.String("new description"),
		VersionLabel:    aws.String("22a0-stage-150819_185942"),
	}

	req := svc.UpdateApplicationVersionRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) UpdateConfigurationTemplateRequest added in v0.9.0

func (c *Client) UpdateConfigurationTemplateRequest(input *UpdateConfigurationTemplateInput) UpdateConfigurationTemplateRequest

UpdateConfigurationTemplateRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Updates the specified configuration template to have the specified properties or configuration option values.

If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.

Related Topics

  • DescribeConfigurationOptions

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate

Example (Shared00)

To update a configuration template

The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.UpdateConfigurationTemplateInput{
		ApplicationName: aws.String("my-app"),
		OptionsToRemove: []elasticbeanstalk.OptionSpecification{
			{
				Namespace:  aws.String("aws:elasticbeanstalk:healthreporting:system"),
				OptionName: aws.String("ConfigDocument"),
			},
		},
		TemplateName: aws.String("my-template"),
	}

	req := svc.UpdateConfigurationTemplateRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) UpdateEnvironmentRequest added in v0.9.0

func (c *Client) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) UpdateEnvironmentRequest

UpdateEnvironmentRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error.

When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different DeploymentStatus values.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment

Example (Shared00)

To update an environment to a new version

The following operation updates an environment named "my-env" to version "v2" of the application to which it belongs:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.UpdateEnvironmentInput{
		EnvironmentName: aws.String("my-env"),
		VersionLabel:    aws.String("v2"),
	}

	req := svc.UpdateEnvironmentRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

Example (Shared01)

To configure option settings

The following operation configures several options in the aws:elb:loadbalancer namespace:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.UpdateEnvironmentInput{
		EnvironmentName: aws.String("my-env"),
		OptionSettings: []elasticbeanstalk.ConfigurationOptionSetting{
			{
				Namespace:  aws.String("aws:elb:healthcheck"),
				OptionName: aws.String("Interval"),
				Value:      aws.String("15"),
			},
			{
				Namespace:  aws.String("aws:elb:healthcheck"),
				OptionName: aws.String("Timeout"),
				Value:      aws.String("8"),
			},
			{
				Namespace:  aws.String("aws:elb:healthcheck"),
				OptionName: aws.String("HealthyThreshold"),
				Value:      aws.String("2"),
			},
			{
				Namespace:  aws.String("aws:elb:healthcheck"),
				OptionName: aws.String("UnhealthyThreshold"),
				Value:      aws.String("3"),
			},
		},
	}

	req := svc.UpdateEnvironmentRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) UpdateTagsForResourceRequest added in v0.9.0

func (c *Client) UpdateTagsForResourceRequest(input *UpdateTagsForResourceInput) UpdateTagsForResourceRequest

UpdateTagsForResourceRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can be passed: TagsToAdd for tags to add or update, and TagsToRemove.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-tagging-resources.html).

If you create a custom IAM user policy to control permission to this operation, specify one of the following two virtual actions (or both) instead of the API operation name:

elasticbeanstalk:AddTags

Controls permission to call UpdateTagsForResource and pass a list of tags to add in the TagsToAdd parameter.

elasticbeanstalk:RemoveTags

Controls permission to call UpdateTagsForResource and pass a list of tag keys to remove in the TagsToRemove parameter.

For details about creating a custom user policy, see Creating a Custom User Policy (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html#AWSHowTo.iam.policies).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource

func (*Client) ValidateConfigurationSettingsRequest added in v0.9.0

func (c *Client) ValidateConfigurationSettingsRequest(input *ValidateConfigurationSettingsInput) ValidateConfigurationSettingsRequest

ValidateConfigurationSettingsRequest returns a request value for making API operation for AWS Elastic Beanstalk.

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings

Example (Shared00)

To validate configuration settings

The following operation validates a CloudWatch custom metrics config document:

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk"
)

func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := elasticbeanstalk.New(cfg)
	input := &elasticbeanstalk.ValidateConfigurationSettingsInput{
		ApplicationName: aws.String("my-app"),
		EnvironmentName: aws.String("my-env"),
		OptionSettings: []elasticbeanstalk.ConfigurationOptionSetting{
			{
				Namespace:  aws.String("aws:elasticbeanstalk:healthreporting:system"),
				OptionName: aws.String("ConfigDocument"),
				Value:      aws.String("{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}"),
			},
		},
	}

	req := svc.ValidateConfigurationSettingsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elasticbeanstalk.ErrCodeInsufficientPrivilegesException:
				fmt.Println(elasticbeanstalk.ErrCodeInsufficientPrivilegesException, aerr.Error())
			case elasticbeanstalk.ErrCodeTooManyBucketsException:
				fmt.Println(elasticbeanstalk.ErrCodeTooManyBucketsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

type ComposeEnvironmentsInput

type ComposeEnvironmentsInput struct {

	// The name of the application to which the specified source bundles belong.
	ApplicationName *string `min:"1" type:"string"`

	// The name of the group to which the target environments belong. Specify a
	// group name only if the environment name defined in each target environment's
	// manifest ends with a + (plus) character. See Environment Manifest (env.yaml)
	// (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html)
	// for details.
	GroupName *string `min:"1" type:"string"`

	// A list of version labels, specifying one or more application source bundles
	// that belong to the target application. Each source bundle must include an
	// environment manifest that specifies the name of the environment and the name
	// of the solution stack to use, and optionally can specify environment links
	// to create.
	VersionLabels []string `type:"list"`
	// contains filtered or unexported fields
}

Request to create or update a group of environments.

func (ComposeEnvironmentsInput) String

func (s ComposeEnvironmentsInput) String() string

String returns the string representation

func (*ComposeEnvironmentsInput) Validate

func (s *ComposeEnvironmentsInput) Validate() error

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

type ComposeEnvironmentsOutput added in v0.9.0

type ComposeEnvironmentsOutput struct {

	// Returns an EnvironmentDescription list.
	Environments []EnvironmentDescription `type:"list"`

	// In a paginated request, the token that you can pass in a subsequent request
	// to get the next response page.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Result message containing a list of environment descriptions.

func (ComposeEnvironmentsOutput) String added in v0.9.0

func (s ComposeEnvironmentsOutput) String() string

String returns the string representation

type ComposeEnvironmentsRequest

type ComposeEnvironmentsRequest struct {
	*aws.Request
	Input *ComposeEnvironmentsInput
	Copy  func(*ComposeEnvironmentsInput) ComposeEnvironmentsRequest
}

ComposeEnvironmentsRequest is the request type for the ComposeEnvironments API operation.

func (ComposeEnvironmentsRequest) Send

Send marshals and sends the ComposeEnvironments API request.

type ComposeEnvironmentsResponse added in v0.9.0

type ComposeEnvironmentsResponse struct {
	*ComposeEnvironmentsOutput
	// contains filtered or unexported fields
}

ComposeEnvironmentsResponse is the response type for the ComposeEnvironments API operation.

func (*ComposeEnvironmentsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ComposeEnvironments request.

type ComputeType

type ComputeType string
const (
	ComputeTypeBuildGeneral1Small  ComputeType = "BUILD_GENERAL1_SMALL"
	ComputeTypeBuildGeneral1Medium ComputeType = "BUILD_GENERAL1_MEDIUM"
	ComputeTypeBuildGeneral1Large  ComputeType = "BUILD_GENERAL1_LARGE"
)

Enum values for ComputeType

func (ComputeType) MarshalValue added in v0.3.0

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

func (ComputeType) MarshalValueBuf added in v0.3.0

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

type ConfigurationDeploymentStatus

type ConfigurationDeploymentStatus string
const (
	ConfigurationDeploymentStatusDeployed ConfigurationDeploymentStatus = "deployed"
	ConfigurationDeploymentStatusPending  ConfigurationDeploymentStatus = "pending"
	ConfigurationDeploymentStatusFailed   ConfigurationDeploymentStatus = "failed"
)

Enum values for ConfigurationDeploymentStatus

func (ConfigurationDeploymentStatus) MarshalValue added in v0.3.0

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

func (ConfigurationDeploymentStatus) MarshalValueBuf added in v0.3.0

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

type ConfigurationOptionDescription

type ConfigurationOptionDescription struct {

	// An indication of which action is required if the value for this configuration
	// option changes:
	//
	//    * NoInterruption : There is no interruption to the environment or application
	//    availability.
	//
	//    * RestartEnvironment : The environment is entirely restarted, all AWS
	//    resources are deleted and recreated, and the environment is unavailable
	//    during the process.
	//
	//    * RestartApplicationServer : The environment is available the entire time.
	//    However, a short application outage occurs when the application servers
	//    on the running Amazon EC2 instances are restarted.
	ChangeSeverity *string `type:"string"`

	// The default value for this configuration option.
	DefaultValue *string `type:"string"`

	// If specified, the configuration option must be a string value no longer than
	// this value.
	MaxLength *int64 `type:"integer"`

	// If specified, the configuration option must be a numeric value less than
	// this value.
	MaxValue *int64 `type:"integer"`

	// If specified, the configuration option must be a numeric value greater than
	// this value.
	MinValue *int64 `type:"integer"`

	// The name of the configuration option.
	Name *string `type:"string"`

	// A unique namespace identifying the option's associated AWS resource.
	Namespace *string `type:"string"`

	// If specified, the configuration option must be a string value that satisfies
	// this regular expression.
	Regex *OptionRestrictionRegex `type:"structure"`

	// An indication of whether the user defined this configuration option:
	//
	//    * true : This configuration option was defined by the user. It is a valid
	//    choice for specifying if this as an Option to Remove when updating configuration
	//    settings.
	//
	//    * false : This configuration was not defined by the user.
	//
	// Constraint: You can remove only UserDefined options from a configuration.
	//
	// Valid Values: true | false
	UserDefined *bool `type:"boolean"`

	// If specified, values for the configuration option are selected from this
	// list.
	ValueOptions []string `type:"list"`

	// An indication of which type of values this option has and whether it is allowable
	// to select one or more than one of the possible values:
	//
	//    * Scalar : Values for this option are a single selection from the possible
	//    values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex
	//    constraints.
	//
	//    * List : Values for this option are multiple selections from the possible
	//    values.
	//
	//    * Boolean : Values for this option are either true or false .
	//
	//    * Json : Values for this option are a JSON representation of a ConfigDocument.
	ValueType ConfigurationOptionValueType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the possible values for a configuration option.

func (ConfigurationOptionDescription) String

String returns the string representation

type ConfigurationOptionSetting

type ConfigurationOptionSetting struct {

	// A unique namespace that identifies the option's associated AWS resource.
	Namespace *string `type:"string"`

	// The name of the configuration option.
	OptionName *string `type:"string"`

	// A unique resource name for the option setting. Use it for a time–based
	// scaling configuration option.
	ResourceName *string `min:"1" type:"string"`

	// The current value for the configuration option.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A specification identifying an individual configuration option along with its current value. For a list of possible namespaces and option values, see Option Values (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide.

func (ConfigurationOptionSetting) String

String returns the string representation

func (*ConfigurationOptionSetting) Validate

func (s *ConfigurationOptionSetting) Validate() error

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

type ConfigurationOptionValueType

type ConfigurationOptionValueType string
const (
	ConfigurationOptionValueTypeScalar ConfigurationOptionValueType = "Scalar"
	ConfigurationOptionValueTypeList   ConfigurationOptionValueType = "List"
)

Enum values for ConfigurationOptionValueType

func (ConfigurationOptionValueType) MarshalValue added in v0.3.0

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

func (ConfigurationOptionValueType) MarshalValueBuf added in v0.3.0

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

type ConfigurationSettingsDescription added in v0.9.0

type ConfigurationSettingsDescription struct {

	// The name of the application associated with this configuration set.
	ApplicationName *string `min:"1" type:"string"`

	// The date (in UTC time) when this configuration set was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date (in UTC time) when this configuration set was last modified.
	DateUpdated *time.Time `type:"timestamp"`

	// If this configuration set is associated with an environment, the DeploymentStatus
	// parameter indicates the deployment status of this configuration set:
	//
	//    * null: This configuration is not associated with a running environment.
	//
	//    * pending: This is a draft configuration that is not deployed to the associated
	//    environment but is in the process of deploying.
	//
	//    * deployed: This is the configuration that is currently deployed to the
	//    associated running environment.
	//
	//    * failed: This is a draft configuration that failed to successfully deploy.
	DeploymentStatus ConfigurationDeploymentStatus `type:"string" enum:"true"`

	// Describes this configuration set.
	Description *string `type:"string"`

	// If not null, the name of the environment for this configuration set.
	EnvironmentName *string `min:"4" type:"string"`

	// A list of the configuration options and their values in this configuration
	// set.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The name of the solution stack this configuration set uses.
	SolutionStackName *string `type:"string"`

	// If not null, the name of the configuration template for this configuration
	// set.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the settings for a configuration set.

func (ConfigurationSettingsDescription) String added in v0.9.0

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {

	// The name of the application. Must be unique within your account.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// Your description of the application.
	Description *string `type:"string"`

	// Specifies an application resource lifecycle configuration to prevent your
	// application from accumulating too many versions.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`

	// Specifies the tags applied to the application.
	//
	// Elastic Beanstalk applies these tags only to the application. Environments
	// that you create in the application don't inherit the tags.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Request to create an application.

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationOutput added in v0.9.0

type CreateApplicationOutput struct {

	// The ApplicationDescription of the application.
	Application *ApplicationDescription `type:"structure"`
	// contains filtered or unexported fields
}

Result message containing a single description of an application.

func (CreateApplicationOutput) String added in v0.9.0

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateApplicationRequest

type CreateApplicationRequest struct {
	*aws.Request
	Input *CreateApplicationInput
	Copy  func(*CreateApplicationInput) CreateApplicationRequest
}

CreateApplicationRequest is the request type for the CreateApplication API operation.

func (CreateApplicationRequest) Send

Send marshals and sends the CreateApplication API request.

type CreateApplicationResponse added in v0.9.0

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

CreateApplicationResponse is the response type for the CreateApplication API operation.

func (*CreateApplicationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateApplication request.

type CreateApplicationVersionInput

type CreateApplicationVersionInput struct {

	// The name of the application. If no application is found with this name, and
	// AutoCreateApplication is false, returns an InvalidParameterValue error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// Set to true to create an application with the specified name if it doesn't
	// already exist.
	AutoCreateApplication *bool `type:"boolean"`

	// Settings for an AWS CodeBuild build.
	BuildConfiguration *BuildConfiguration `type:"structure"`

	// A description of this application version.
	Description *string `type:"string"`

	// Pre-processes and validates the environment manifest (env.yaml) and configuration
	// files (*.config files in the .ebextensions folder) in the source bundle.
	// Validating configuration files can identify issues prior to deploying the
	// application version to an environment.
	//
	// You must turn processing on for application versions that you create using
	// AWS CodeBuild or AWS CodeCommit. For application versions built from a source
	// bundle in Amazon S3, processing is optional.
	//
	// The Process option validates Elastic Beanstalk configuration files. It doesn't
	// validate your application's configuration files, like proxy server or Docker
	// configuration.
	Process *bool `type:"boolean"`

	// Specify a commit in an AWS CodeCommit Git repository to use as the source
	// code for the application version.
	SourceBuildInformation *SourceBuildInformation `type:"structure"`

	// The Amazon S3 bucket and key that identify the location of the source bundle
	// for this version.
	//
	// The Amazon S3 bucket must be in the same region as the environment.
	//
	// Specify a source bundle in S3 or a commit in an AWS CodeCommit repository
	// (with SourceBuildInformation), but not both. If neither SourceBundle nor
	// SourceBuildInformation are provided, Elastic Beanstalk uses a sample application.
	SourceBundle *S3Location `type:"structure"`

	// Specifies the tags applied to the application version.
	//
	// Elastic Beanstalk applies these tags only to the application version. Environments
	// that use the application version don't inherit the tags.
	Tags []Tag `type:"list"`

	// A label identifying this version.
	//
	// Constraint: Must be unique per application. If an application version already
	// exists with this label for the specified application, AWS Elastic Beanstalk
	// returns an InvalidParameterValue error.
	//
	// VersionLabel is a required field
	VersionLabel *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateApplicationVersionInput) String

String returns the string representation

func (*CreateApplicationVersionInput) Validate

func (s *CreateApplicationVersionInput) Validate() error

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

type CreateApplicationVersionOutput added in v0.9.0

type CreateApplicationVersionOutput struct {

	// The ApplicationVersionDescription of the application version.
	ApplicationVersion *ApplicationVersionDescription `type:"structure"`
	// contains filtered or unexported fields
}

Result message wrapping a single description of an application version.

func (CreateApplicationVersionOutput) String added in v0.9.0

String returns the string representation

type CreateApplicationVersionRequest

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

CreateApplicationVersionRequest is the request type for the CreateApplicationVersion API operation.

func (CreateApplicationVersionRequest) Send

Send marshals and sends the CreateApplicationVersion API request.

type CreateApplicationVersionResponse added in v0.9.0

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

CreateApplicationVersionResponse is the response type for the CreateApplicationVersion API operation.

func (*CreateApplicationVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateApplicationVersion request.

type CreateConfigurationTemplateInput

type CreateConfigurationTemplateInput struct {

	// The name of the Elastic Beanstalk application to associate with this configuration
	// template.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// An optional description for this configuration.
	Description *string `type:"string"`

	// The ID of an environment whose settings you want to use to create the configuration
	// template. You must specify EnvironmentId if you don't specify PlatformArn,
	// SolutionStackName, or SourceConfiguration.
	EnvironmentId *string `type:"string"`

	// Option values for the Elastic Beanstalk configuration, such as the instance
	// type. If specified, these values override the values obtained from the solution
	// stack or the source configuration template. For a complete list of Elastic
	// Beanstalk configuration options, see Option Values (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html)
	// in the AWS Elastic Beanstalk Developer Guide.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// The Amazon Resource Name (ARN) of the custom platform. For more information,
	// see Custom Platforms (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html)
	// in the AWS Elastic Beanstalk Developer Guide.
	//
	// If you specify PlatformArn, then don't specify SolutionStackName.
	PlatformArn *string `type:"string"`

	// The name of an Elastic Beanstalk solution stack (platform version) that this
	// configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
	// 7 Java 7. A solution stack specifies the operating system, runtime, and application
	// server for a configuration template. It also determines the set of configuration
	// options as well as the possible and default values. For more information,
	// see Supported Platforms (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	// in the AWS Elastic Beanstalk Developer Guide.
	//
	// You must specify SolutionStackName if you don't specify PlatformArn, EnvironmentId,
	// or SourceConfiguration.
	//
	// Use the ListAvailableSolutionStacks (https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html)
	// API to obtain a list of available solution stacks.
	SolutionStackName *string `type:"string"`

	// An Elastic Beanstalk configuration template to base this one on. If specified,
	// Elastic Beanstalk uses the configuration values from the specified configuration
	// template to create a new configuration.
	//
	// Values specified in OptionSettings override any values obtained from the
	// SourceConfiguration.
	//
	// You must specify SourceConfiguration if you don't specify PlatformArn, EnvironmentId,
	// or SolutionStackName.
	//
	// Constraint: If both solution stack name and source configuration are specified,
	// the solution stack of the source configuration template must match the specified
	// solution stack name.
	SourceConfiguration *SourceConfiguration `type:"structure"`

	// Specifies the tags applied to the configuration template.
	Tags []Tag `type:"list"`

	// The name of the configuration template.
	//
	// Constraint: This name must be unique per application.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to create a configuration template.

func (CreateConfigurationTemplateInput) String

String returns the string representation

func (*CreateConfigurationTemplateInput) Validate

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

type CreateConfigurationTemplateOutput added in v0.9.0

type CreateConfigurationTemplateOutput struct {

	// The name of the application associated with this configuration set.
	ApplicationName *string `min:"1" type:"string"`

	// The date (in UTC time) when this configuration set was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date (in UTC time) when this configuration set was last modified.
	DateUpdated *time.Time `type:"timestamp"`

	// If this configuration set is associated with an environment, the DeploymentStatus
	// parameter indicates the deployment status of this configuration set:
	//
	//    * null: This configuration is not associated with a running environment.
	//
	//    * pending: This is a draft configuration that is not deployed to the associated
	//    environment but is in the process of deploying.
	//
	//    * deployed: This is the configuration that is currently deployed to the
	//    associated running environment.
	//
	//    * failed: This is a draft configuration that failed to successfully deploy.
	DeploymentStatus ConfigurationDeploymentStatus `type:"string" enum:"true"`

	// Describes this configuration set.
	Description *string `type:"string"`

	// If not null, the name of the environment for this configuration set.
	EnvironmentName *string `min:"4" type:"string"`

	// A list of the configuration options and their values in this configuration
	// set.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The name of the solution stack this configuration set uses.
	SolutionStackName *string `type:"string"`

	// If not null, the name of the configuration template for this configuration
	// set.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the settings for a configuration set.

func (CreateConfigurationTemplateOutput) String added in v0.9.0

String returns the string representation

type CreateConfigurationTemplateRequest

type CreateConfigurationTemplateRequest struct {
	*aws.Request
	Input *CreateConfigurationTemplateInput
	Copy  func(*CreateConfigurationTemplateInput) CreateConfigurationTemplateRequest
}

CreateConfigurationTemplateRequest is the request type for the CreateConfigurationTemplate API operation.

func (CreateConfigurationTemplateRequest) Send

Send marshals and sends the CreateConfigurationTemplate API request.

type CreateConfigurationTemplateResponse added in v0.9.0

type CreateConfigurationTemplateResponse struct {
	*CreateConfigurationTemplateOutput
	// contains filtered or unexported fields
}

CreateConfigurationTemplateResponse is the response type for the CreateConfigurationTemplate API operation.

func (*CreateConfigurationTemplateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateConfigurationTemplate request.

type CreateEnvironmentInput

type CreateEnvironmentInput struct {

	// The name of the application that is associated with this environment.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// If specified, the environment attempts to use this value as the prefix for
	// the CNAME in your Elastic Beanstalk environment URL. If not specified, the
	// CNAME is generated automatically by appending a random alphanumeric string
	// to the environment name.
	CNAMEPrefix *string `min:"4" type:"string"`

	// Your description for this environment.
	Description *string `type:"string"`

	// A unique name for the environment.
	//
	// Constraint: Must be from 4 to 40 characters in length. The name can contain
	// only letters, numbers, and hyphens. It can't start or end with a hyphen.
	// This name must be unique within a region in your account. If the specified
	// name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue
	// error.
	//
	// If you don't specify the CNAMEPrefix parameter, the environment name becomes
	// part of the CNAME, and therefore part of the visible URL for your application.
	EnvironmentName *string `min:"4" type:"string"`

	// The name of the group to which the target environment belongs. Specify a
	// group name only if the environment's name is specified in an environment
	// manifest and not with the environment name parameter. See Environment Manifest
	// (env.yaml) (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html)
	// for details.
	GroupName *string `min:"1" type:"string"`

	// If specified, AWS Elastic Beanstalk sets the specified configuration options
	// to the requested value in the configuration set for the new environment.
	// These override the values obtained from the solution stack or the configuration
	// template.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// A list of custom user-defined configuration options to remove from the configuration
	// set for this new environment.
	OptionsToRemove []OptionSpecification `type:"list"`

	// The Amazon Resource Name (ARN) of the custom platform to use with the environment.
	// For more information, see Custom Platforms (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html)
	// in the AWS Elastic Beanstalk Developer Guide.
	//
	// If you specify PlatformArn, don't specify SolutionStackName.
	PlatformArn *string `type:"string"`

	// The name of an Elastic Beanstalk solution stack (platform version) to use
	// with the environment. If specified, Elastic Beanstalk sets the configuration
	// values to the default values associated with the specified solution stack.
	// For a list of current solution stacks, see Elastic Beanstalk Supported Platforms
	// (https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html)
	// in the AWS Elastic Beanstalk Platforms guide.
	//
	// If you specify SolutionStackName, don't specify PlatformArn or TemplateName.
	SolutionStackName *string `type:"string"`

	// Specifies the tags applied to resources in the environment.
	Tags []Tag `type:"list"`

	// The name of the Elastic Beanstalk configuration template to use with the
	// environment.
	//
	// If you specify TemplateName, then don't specify SolutionStackName.
	TemplateName *string `min:"1" type:"string"`

	// Specifies the tier to use in creating this environment. The environment tier
	// that you choose determines whether Elastic Beanstalk provisions resources
	// to support a web application that handles HTTP(S) requests or a web application
	// that handles background-processing tasks.
	Tier *EnvironmentTier `type:"structure"`

	// The name of the application version to deploy.
	//
	// Default: If not specified, Elastic Beanstalk attempts to deploy the sample
	// application.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentInput) String

func (s CreateEnvironmentInput) String() string

String returns the string representation

func (*CreateEnvironmentInput) Validate

func (s *CreateEnvironmentInput) Validate() error

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

type CreateEnvironmentOutput added in v0.9.0

type CreateEnvironmentOutput struct {

	// Indicates if there is an in-progress environment configuration update or
	// application version deployment that you can cancel.
	//
	// true: There is an update in progress.
	//
	// false: There are no updates currently in progress.
	AbortableOperationInProgress *bool `type:"boolean"`

	// The name of the application associated with this environment.
	ApplicationName *string `min:"1" type:"string"`

	// The URL to the CNAME for this environment.
	CNAME *string `min:"1" type:"string"`

	// The creation date for this environment.
	DateCreated *time.Time `type:"timestamp"`

	// The last modified date for this environment.
	DateUpdated *time.Time `type:"timestamp"`

	// Describes this environment.
	Description *string `type:"string"`

	// For load-balanced, autoscaling environments, the URL to the LoadBalancer.
	// For single-instance environments, the IP address of the instance.
	EndpointURL *string `type:"string"`

	// The environment's Amazon Resource Name (ARN), which can be used in other
	// API requests that require an ARN.
	EnvironmentArn *string `type:"string"`

	// The ID of this environment.
	EnvironmentId *string `type:"string"`

	// A list of links to other environments in the same group.
	EnvironmentLinks []EnvironmentLink `type:"list"`

	// The name of this environment.
	EnvironmentName *string `min:"4" type:"string"`

	// Describes the health status of the environment. AWS Elastic Beanstalk indicates
	// the failure levels for a running environment:
	//
	//    * Red: Indicates the environment is not responsive. Occurs when three
	//    or more consecutive failures occur for an environment.
	//
	//    * Yellow: Indicates that something is wrong. Occurs when two consecutive
	//    failures occur for an environment.
	//
	//    * Green: Indicates the environment is healthy and fully functional.
	//
	//    * Grey: Default health for a new environment. The environment is not fully
	//    launched and health checks have not started or health checks are suspended
	//    during an UpdateEnvironment or RestartEnvironment request.
	//
	// Default: Grey
	Health EnvironmentHealth `type:"string" enum:"true"`

	// Returns the health status of the application running in your environment.
	// For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus EnvironmentHealthStatus `type:"string" enum:"true"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The description of the AWS resources used by this environment.
	Resources *EnvironmentResourcesDescription `type:"structure"`

	// The name of the SolutionStack deployed with this environment.
	SolutionStackName *string `type:"string"`

	// The current operational status of the environment:
	//
	//    * Launching: Environment is in the process of initial deployment.
	//
	//    * Updating: Environment is in the process of updating its configuration
	//    settings or application version.
	//
	//    * Ready: Environment is available to have an action performed on it, such
	//    as update or terminate.
	//
	//    * Terminating: Environment is in the shut-down process.
	//
	//    * Terminated: Environment is not running.
	Status EnvironmentStatus `type:"string" enum:"true"`

	// The name of the configuration template used to originally launch this environment.
	TemplateName *string `min:"1" type:"string"`

	// Describes the current tier of this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The application version deployed in this environment.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment.

func (CreateEnvironmentOutput) String added in v0.9.0

func (s CreateEnvironmentOutput) String() string

String returns the string representation

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	*aws.Request
	Input *CreateEnvironmentInput
	Copy  func(*CreateEnvironmentInput) CreateEnvironmentRequest
}

CreateEnvironmentRequest is the request type for the CreateEnvironment API operation.

func (CreateEnvironmentRequest) Send

Send marshals and sends the CreateEnvironment API request.

type CreateEnvironmentResponse added in v0.9.0

type CreateEnvironmentResponse struct {
	*CreateEnvironmentOutput
	// contains filtered or unexported fields
}

CreateEnvironmentResponse is the response type for the CreateEnvironment API operation.

func (*CreateEnvironmentResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateEnvironment request.

type CreatePlatformVersionInput

type CreatePlatformVersionInput struct {

	// The name of the builder environment.
	EnvironmentName *string `min:"4" type:"string"`

	// The configuration option settings to apply to the builder environment.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// The location of the platform definition archive in Amazon S3.
	//
	// PlatformDefinitionBundle is a required field
	PlatformDefinitionBundle *S3Location `type:"structure" required:"true"`

	// The name of your custom platform.
	//
	// PlatformName is a required field
	PlatformName *string `type:"string" required:"true"`

	// The number, such as 1.0.2, for the new platform version.
	//
	// PlatformVersion is a required field
	PlatformVersion *string `type:"string" required:"true"`

	// Specifies the tags applied to the new platform version.
	//
	// Elastic Beanstalk applies these tags only to the platform version. Environments
	// that you create using the platform version don't inherit the tags.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Request to create a new platform version.

func (CreatePlatformVersionInput) String

String returns the string representation

func (*CreatePlatformVersionInput) Validate

func (s *CreatePlatformVersionInput) Validate() error

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

type CreatePlatformVersionOutput

type CreatePlatformVersionOutput struct {

	// The builder used to create the custom platform.
	Builder *Builder `type:"structure"`

	// Detailed information about the new version of the custom platform.
	PlatformSummary *PlatformSummary `type:"structure"`
	// contains filtered or unexported fields
}

func (CreatePlatformVersionOutput) String

String returns the string representation

type CreatePlatformVersionRequest

type CreatePlatformVersionRequest struct {
	*aws.Request
	Input *CreatePlatformVersionInput
	Copy  func(*CreatePlatformVersionInput) CreatePlatformVersionRequest
}

CreatePlatformVersionRequest is the request type for the CreatePlatformVersion API operation.

func (CreatePlatformVersionRequest) Send

Send marshals and sends the CreatePlatformVersion API request.

type CreatePlatformVersionResponse added in v0.9.0

type CreatePlatformVersionResponse struct {
	*CreatePlatformVersionOutput
	// contains filtered or unexported fields
}

CreatePlatformVersionResponse is the response type for the CreatePlatformVersion API operation.

func (*CreatePlatformVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreatePlatformVersion request.

type CreateStorageLocationInput

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

func (CreateStorageLocationInput) String

String returns the string representation

type CreateStorageLocationOutput

type CreateStorageLocationOutput struct {

	// The name of the Amazon S3 bucket created.
	S3Bucket *string `type:"string"`
	// contains filtered or unexported fields
}

Results of a CreateStorageLocationResult call.

func (CreateStorageLocationOutput) String

String returns the string representation

type CreateStorageLocationRequest

type CreateStorageLocationRequest struct {
	*aws.Request
	Input *CreateStorageLocationInput
	Copy  func(*CreateStorageLocationInput) CreateStorageLocationRequest
}

CreateStorageLocationRequest is the request type for the CreateStorageLocation API operation.

func (CreateStorageLocationRequest) Send

Send marshals and sends the CreateStorageLocation API request.

type CreateStorageLocationResponse added in v0.9.0

type CreateStorageLocationResponse struct {
	*CreateStorageLocationOutput
	// contains filtered or unexported fields
}

CreateStorageLocationResponse is the response type for the CreateStorageLocation API operation.

func (*CreateStorageLocationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateStorageLocation request.

type CustomAmi

type CustomAmi struct {

	// THe ID of the image used to create the custom AMI.
	ImageId *string `type:"string"`

	// The type of virtualization used to create the custom AMI.
	VirtualizationType *string `type:"string"`
	// contains filtered or unexported fields
}

A custom AMI available to platforms.

func (CustomAmi) String

func (s CustomAmi) String() string

String returns the string representation

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The name of the application to delete.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// When set to true, running environments will be terminated before deleting
	// the application.
	TerminateEnvByForce *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Request to delete an application.

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput

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

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationRequest

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

DeleteApplicationRequest is the request type for the DeleteApplication API operation.

func (DeleteApplicationRequest) Send

Send marshals and sends the DeleteApplication API request.

type DeleteApplicationResponse added in v0.9.0

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

DeleteApplicationResponse is the response type for the DeleteApplication API operation.

func (*DeleteApplicationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteApplication request.

type DeleteApplicationVersionInput

type DeleteApplicationVersionInput struct {

	// The name of the application to which the version belongs.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// Set to true to delete the source bundle from your storage bucket. Otherwise,
	// the application version is deleted only from Elastic Beanstalk and the source
	// bundle remains in Amazon S3.
	DeleteSourceBundle *bool `type:"boolean"`

	// The label of the version to delete.
	//
	// VersionLabel is a required field
	VersionLabel *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to delete an application version.

func (DeleteApplicationVersionInput) String

String returns the string representation

func (*DeleteApplicationVersionInput) Validate

func (s *DeleteApplicationVersionInput) Validate() error

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

type DeleteApplicationVersionOutput

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

func (DeleteApplicationVersionOutput) String

String returns the string representation

type DeleteApplicationVersionRequest

type DeleteApplicationVersionRequest struct {
	*aws.Request
	Input *DeleteApplicationVersionInput
	Copy  func(*DeleteApplicationVersionInput) DeleteApplicationVersionRequest
}

DeleteApplicationVersionRequest is the request type for the DeleteApplicationVersion API operation.

func (DeleteApplicationVersionRequest) Send

Send marshals and sends the DeleteApplicationVersion API request.

type DeleteApplicationVersionResponse added in v0.9.0

type DeleteApplicationVersionResponse struct {
	*DeleteApplicationVersionOutput
	// contains filtered or unexported fields
}

DeleteApplicationVersionResponse is the response type for the DeleteApplicationVersion API operation.

func (*DeleteApplicationVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteApplicationVersion request.

type DeleteConfigurationTemplateInput

type DeleteConfigurationTemplateInput struct {

	// The name of the application to delete the configuration template from.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The name of the configuration template to delete.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to delete a configuration template.

func (DeleteConfigurationTemplateInput) String

String returns the string representation

func (*DeleteConfigurationTemplateInput) Validate

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

type DeleteConfigurationTemplateOutput

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

func (DeleteConfigurationTemplateOutput) String

String returns the string representation

type DeleteConfigurationTemplateRequest

type DeleteConfigurationTemplateRequest struct {
	*aws.Request
	Input *DeleteConfigurationTemplateInput
	Copy  func(*DeleteConfigurationTemplateInput) DeleteConfigurationTemplateRequest
}

DeleteConfigurationTemplateRequest is the request type for the DeleteConfigurationTemplate API operation.

func (DeleteConfigurationTemplateRequest) Send

Send marshals and sends the DeleteConfigurationTemplate API request.

type DeleteConfigurationTemplateResponse added in v0.9.0

type DeleteConfigurationTemplateResponse struct {
	*DeleteConfigurationTemplateOutput
	// contains filtered or unexported fields
}

DeleteConfigurationTemplateResponse is the response type for the DeleteConfigurationTemplate API operation.

func (*DeleteConfigurationTemplateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteConfigurationTemplate request.

type DeleteEnvironmentConfigurationInput

type DeleteEnvironmentConfigurationInput struct {

	// The name of the application the environment is associated with.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The name of the environment to delete the draft configuration from.
	//
	// EnvironmentName is a required field
	EnvironmentName *string `min:"4" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to delete a draft environment configuration.

func (DeleteEnvironmentConfigurationInput) String

String returns the string representation

func (*DeleteEnvironmentConfigurationInput) Validate

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

type DeleteEnvironmentConfigurationOutput

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

func (DeleteEnvironmentConfigurationOutput) String

String returns the string representation

type DeleteEnvironmentConfigurationRequest

type DeleteEnvironmentConfigurationRequest struct {
	*aws.Request
	Input *DeleteEnvironmentConfigurationInput
	Copy  func(*DeleteEnvironmentConfigurationInput) DeleteEnvironmentConfigurationRequest
}

DeleteEnvironmentConfigurationRequest is the request type for the DeleteEnvironmentConfiguration API operation.

func (DeleteEnvironmentConfigurationRequest) Send

Send marshals and sends the DeleteEnvironmentConfiguration API request.

type DeleteEnvironmentConfigurationResponse added in v0.9.0

type DeleteEnvironmentConfigurationResponse struct {
	*DeleteEnvironmentConfigurationOutput
	// contains filtered or unexported fields
}

DeleteEnvironmentConfigurationResponse is the response type for the DeleteEnvironmentConfiguration API operation.

func (*DeleteEnvironmentConfigurationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteEnvironmentConfiguration request.

type DeletePlatformVersionInput

type DeletePlatformVersionInput struct {

	// The ARN of the version of the custom platform.
	PlatformArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeletePlatformVersionInput) String

String returns the string representation

type DeletePlatformVersionOutput

type DeletePlatformVersionOutput struct {

	// Detailed information about the version of the custom platform.
	PlatformSummary *PlatformSummary `type:"structure"`
	// contains filtered or unexported fields
}

func (DeletePlatformVersionOutput) String

String returns the string representation

type DeletePlatformVersionRequest

type DeletePlatformVersionRequest struct {
	*aws.Request
	Input *DeletePlatformVersionInput
	Copy  func(*DeletePlatformVersionInput) DeletePlatformVersionRequest
}

DeletePlatformVersionRequest is the request type for the DeletePlatformVersion API operation.

func (DeletePlatformVersionRequest) Send

Send marshals and sends the DeletePlatformVersion API request.

type DeletePlatformVersionResponse added in v0.9.0

type DeletePlatformVersionResponse struct {
	*DeletePlatformVersionOutput
	// contains filtered or unexported fields
}

DeletePlatformVersionResponse is the response type for the DeletePlatformVersion API operation.

func (*DeletePlatformVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeletePlatformVersion request.

type Deployment

type Deployment struct {

	// The ID of the deployment. This number increases by one each time that you
	// deploy source code or change instance configuration settings.
	DeploymentId *int64 `type:"long"`

	// For in-progress deployments, the time that the deployment started.
	//
	// For completed deployments, the time that the deployment ended.
	DeploymentTime *time.Time `type:"timestamp"`

	// The status of the deployment:
	//
	//    * In Progress : The deployment is in progress.
	//
	//    * Deployed : The deployment succeeded.
	//
	//    * Failed : The deployment failed.
	Status *string `type:"string"`

	// The version label of the application version in the deployment.
	VersionLabel *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an application version deployment.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DescribeAccountAttributesInput added in v0.4.0

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

func (DescribeAccountAttributesInput) String added in v0.4.0

String returns the string representation

type DescribeAccountAttributesOutput added in v0.4.0

type DescribeAccountAttributesOutput struct {

	// The Elastic Beanstalk resource quotas associated with the calling AWS account.
	ResourceQuotas *ResourceQuotas `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeAccountAttributesOutput) String added in v0.4.0

String returns the string representation

type DescribeAccountAttributesRequest added in v0.4.0

type DescribeAccountAttributesRequest struct {
	*aws.Request
	Input *DescribeAccountAttributesInput
	Copy  func(*DescribeAccountAttributesInput) DescribeAccountAttributesRequest
}

DescribeAccountAttributesRequest is the request type for the DescribeAccountAttributes API operation.

func (DescribeAccountAttributesRequest) Send added in v0.4.0

Send marshals and sends the DescribeAccountAttributes API request.

type DescribeAccountAttributesResponse added in v0.9.0

type DescribeAccountAttributesResponse struct {
	*DescribeAccountAttributesOutput
	// contains filtered or unexported fields
}

DescribeAccountAttributesResponse is the response type for the DescribeAccountAttributes API operation.

func (*DescribeAccountAttributesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeAccountAttributes request.

type DescribeApplicationVersionsInput

type DescribeApplicationVersionsInput struct {

	// Specify an application name to show only application versions for that application.
	ApplicationName *string `min:"1" type:"string"`

	// For a paginated request. Specify a maximum number of application versions
	// to include in each response.
	//
	// If no MaxRecords is specified, all available application versions are retrieved
	// in a single response.
	MaxRecords *int64 `min:"1" type:"integer"`

	// For a paginated request. Specify a token from a previous response page to
	// retrieve the next response page. All other parameter values must be identical
	// to the ones specified in the initial request.
	//
	// If no NextToken is specified, the first page is retrieved.
	NextToken *string `type:"string"`

	// Specify a version label to show a specific application version.
	VersionLabels []string `type:"list"`
	// contains filtered or unexported fields
}

Request to describe application versions.

func (DescribeApplicationVersionsInput) String

String returns the string representation

func (*DescribeApplicationVersionsInput) Validate

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

type DescribeApplicationVersionsOutput

type DescribeApplicationVersionsOutput struct {

	// List of ApplicationVersionDescription objects sorted in order of creation.
	ApplicationVersions []ApplicationVersionDescription `type:"list"`

	// In a paginated request, the token that you can pass in a subsequent request
	// to get the next response page.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Result message wrapping a list of application version descriptions.

func (DescribeApplicationVersionsOutput) String

String returns the string representation

type DescribeApplicationVersionsRequest

type DescribeApplicationVersionsRequest struct {
	*aws.Request
	Input *DescribeApplicationVersionsInput
	Copy  func(*DescribeApplicationVersionsInput) DescribeApplicationVersionsRequest
}

DescribeApplicationVersionsRequest is the request type for the DescribeApplicationVersions API operation.

func (DescribeApplicationVersionsRequest) Send

Send marshals and sends the DescribeApplicationVersions API request.

type DescribeApplicationVersionsResponse added in v0.9.0

type DescribeApplicationVersionsResponse struct {
	*DescribeApplicationVersionsOutput
	// contains filtered or unexported fields
}

DescribeApplicationVersionsResponse is the response type for the DescribeApplicationVersions API operation.

func (*DescribeApplicationVersionsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeApplicationVersions request.

type DescribeApplicationsInput

type DescribeApplicationsInput struct {

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// only include those with the specified names.
	ApplicationNames []string `type:"list"`
	// contains filtered or unexported fields
}

Request to describe one or more applications.

func (DescribeApplicationsInput) String

func (s DescribeApplicationsInput) String() string

String returns the string representation

type DescribeApplicationsOutput

type DescribeApplicationsOutput struct {

	// This parameter contains a list of ApplicationDescription.
	Applications []ApplicationDescription `type:"list"`
	// contains filtered or unexported fields
}

Result message containing a list of application descriptions.

func (DescribeApplicationsOutput) String

String returns the string representation

type DescribeApplicationsRequest

type DescribeApplicationsRequest struct {
	*aws.Request
	Input *DescribeApplicationsInput
	Copy  func(*DescribeApplicationsInput) DescribeApplicationsRequest
}

DescribeApplicationsRequest is the request type for the DescribeApplications API operation.

func (DescribeApplicationsRequest) Send

Send marshals and sends the DescribeApplications API request.

type DescribeApplicationsResponse added in v0.9.0

type DescribeApplicationsResponse struct {
	*DescribeApplicationsOutput
	// contains filtered or unexported fields
}

DescribeApplicationsResponse is the response type for the DescribeApplications API operation.

func (*DescribeApplicationsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeApplications request.

type DescribeConfigurationOptionsInput

type DescribeConfigurationOptionsInput struct {

	// The name of the application associated with the configuration template or
	// environment. Only needed if you want to describe the configuration options
	// associated with either the configuration template or environment.
	ApplicationName *string `min:"1" type:"string"`

	// The name of the environment whose configuration options you want to describe.
	EnvironmentName *string `min:"4" type:"string"`

	// If specified, restricts the descriptions to only the specified options.
	Options []OptionSpecification `type:"list"`

	// The ARN of the custom platform.
	PlatformArn *string `type:"string"`

	// The name of the solution stack whose configuration options you want to describe.
	SolutionStackName *string `type:"string"`

	// The name of the configuration template whose configuration options you want
	// to describe.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Result message containing a list of application version descriptions.

func (DescribeConfigurationOptionsInput) String

String returns the string representation

func (*DescribeConfigurationOptionsInput) Validate

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

type DescribeConfigurationOptionsOutput

type DescribeConfigurationOptionsOutput struct {

	// A list of ConfigurationOptionDescription.
	Options []ConfigurationOptionDescription `type:"list"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The name of the solution stack these configuration options belong to.
	SolutionStackName *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the settings for a specified configuration set.

func (DescribeConfigurationOptionsOutput) String

String returns the string representation

type DescribeConfigurationOptionsRequest

type DescribeConfigurationOptionsRequest struct {
	*aws.Request
	Input *DescribeConfigurationOptionsInput
	Copy  func(*DescribeConfigurationOptionsInput) DescribeConfigurationOptionsRequest
}

DescribeConfigurationOptionsRequest is the request type for the DescribeConfigurationOptions API operation.

func (DescribeConfigurationOptionsRequest) Send

Send marshals and sends the DescribeConfigurationOptions API request.

type DescribeConfigurationOptionsResponse added in v0.9.0

type DescribeConfigurationOptionsResponse struct {
	*DescribeConfigurationOptionsOutput
	// contains filtered or unexported fields
}

DescribeConfigurationOptionsResponse is the response type for the DescribeConfigurationOptions API operation.

func (*DescribeConfigurationOptionsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeConfigurationOptions request.

type DescribeConfigurationSettingsInput

type DescribeConfigurationSettingsInput struct {

	// The application for the environment or configuration template.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The name of the environment to describe.
	//
	// Condition: You must specify either this or a TemplateName, but not both.
	// If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
	// error. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

	// The name of the configuration template to describe.
	//
	// Conditional: You must specify either this parameter or an EnvironmentName,
	// but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
	// error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
	// error.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Result message containing all of the configuration settings for a specified solution stack or configuration template.

func (DescribeConfigurationSettingsInput) String

String returns the string representation

func (*DescribeConfigurationSettingsInput) Validate

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

type DescribeConfigurationSettingsOutput

type DescribeConfigurationSettingsOutput struct {

	// A list of ConfigurationSettingsDescription.
	ConfigurationSettings []ConfigurationSettingsDescription `type:"list"`
	// contains filtered or unexported fields
}

The results from a request to change the configuration settings of an environment.

func (DescribeConfigurationSettingsOutput) String

String returns the string representation

type DescribeConfigurationSettingsRequest

type DescribeConfigurationSettingsRequest struct {
	*aws.Request
	Input *DescribeConfigurationSettingsInput
	Copy  func(*DescribeConfigurationSettingsInput) DescribeConfigurationSettingsRequest
}

DescribeConfigurationSettingsRequest is the request type for the DescribeConfigurationSettings API operation.

func (DescribeConfigurationSettingsRequest) Send

Send marshals and sends the DescribeConfigurationSettings API request.

type DescribeConfigurationSettingsResponse added in v0.9.0

type DescribeConfigurationSettingsResponse struct {
	*DescribeConfigurationSettingsOutput
	// contains filtered or unexported fields
}

DescribeConfigurationSettingsResponse is the response type for the DescribeConfigurationSettings API operation.

func (*DescribeConfigurationSettingsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeConfigurationSettings request.

type DescribeEnvironmentHealthInput

type DescribeEnvironmentHealthInput struct {

	// Specify the response elements to return. To retrieve all attributes, set
	// to All. If no attribute names are specified, returns the name of the environment.
	AttributeNames []EnvironmentHealthAttribute `type:"list"`

	// Specify the environment by ID.
	//
	// You must specify either this or an EnvironmentName, or both.
	EnvironmentId *string `type:"string"`

	// Specify the environment by name.
	//
	// You must specify either this or an EnvironmentName, or both.
	EnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

See the example below to learn how to create a request body.

func (DescribeEnvironmentHealthInput) String

String returns the string representation

func (*DescribeEnvironmentHealthInput) Validate

func (s *DescribeEnvironmentHealthInput) Validate() error

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

type DescribeEnvironmentHealthOutput

type DescribeEnvironmentHealthOutput struct {

	// Application request metrics for the environment.
	ApplicationMetrics *ApplicationMetrics `type:"structure"`

	// Descriptions of the data that contributed to the environment's current health
	// status.
	Causes []string `type:"list"`

	// The health color (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html)
	// of the environment.
	Color *string `type:"string"`

	// The environment's name.
	EnvironmentName *string `min:"4" type:"string"`

	// The health status (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html)
	// of the environment. For example, Ok.
	HealthStatus *string `type:"string"`

	// Summary health information for the instances in the environment.
	InstancesHealth *InstanceHealthSummary `type:"structure"`

	// The date and time that the health information was retrieved.
	RefreshedAt *time.Time `type:"timestamp"`

	// The environment's operational status. Ready, Launching, Updating, Terminating,
	// or Terminated.
	Status EnvironmentHealth `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Health details for an AWS Elastic Beanstalk environment.

func (DescribeEnvironmentHealthOutput) String

String returns the string representation

type DescribeEnvironmentHealthRequest

type DescribeEnvironmentHealthRequest struct {
	*aws.Request
	Input *DescribeEnvironmentHealthInput
	Copy  func(*DescribeEnvironmentHealthInput) DescribeEnvironmentHealthRequest
}

DescribeEnvironmentHealthRequest is the request type for the DescribeEnvironmentHealth API operation.

func (DescribeEnvironmentHealthRequest) Send

Send marshals and sends the DescribeEnvironmentHealth API request.

type DescribeEnvironmentHealthResponse added in v0.9.0

type DescribeEnvironmentHealthResponse struct {
	*DescribeEnvironmentHealthOutput
	// contains filtered or unexported fields
}

DescribeEnvironmentHealthResponse is the response type for the DescribeEnvironmentHealth API operation.

func (*DescribeEnvironmentHealthResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeEnvironmentHealth request.

type DescribeEnvironmentManagedActionHistoryInput

type DescribeEnvironmentManagedActionHistoryInput struct {

	// The environment ID of the target environment.
	EnvironmentId *string `type:"string"`

	// The name of the target environment.
	EnvironmentName *string `min:"4" type:"string"`

	// The maximum number of items to return for a single request.
	MaxItems *int64 `type:"integer"`

	// The pagination token returned by a previous request.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Request to list completed and failed managed actions.

func (DescribeEnvironmentManagedActionHistoryInput) String

String returns the string representation

func (*DescribeEnvironmentManagedActionHistoryInput) Validate

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

type DescribeEnvironmentManagedActionHistoryOutput

type DescribeEnvironmentManagedActionHistoryOutput struct {

	// A list of completed and failed managed actions.
	ManagedActionHistoryItems []ManagedActionHistoryItem `min:"1" type:"list"`

	// A pagination token that you pass to DescribeEnvironmentManagedActionHistory
	// to get the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

A result message containing a list of completed and failed managed actions.

func (DescribeEnvironmentManagedActionHistoryOutput) String

String returns the string representation

type DescribeEnvironmentManagedActionHistoryRequest

DescribeEnvironmentManagedActionHistoryRequest is the request type for the DescribeEnvironmentManagedActionHistory API operation.

func (DescribeEnvironmentManagedActionHistoryRequest) Send

Send marshals and sends the DescribeEnvironmentManagedActionHistory API request.

type DescribeEnvironmentManagedActionHistoryResponse added in v0.9.0

type DescribeEnvironmentManagedActionHistoryResponse struct {
	*DescribeEnvironmentManagedActionHistoryOutput
	// contains filtered or unexported fields
}

DescribeEnvironmentManagedActionHistoryResponse is the response type for the DescribeEnvironmentManagedActionHistory API operation.

func (*DescribeEnvironmentManagedActionHistoryResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the DescribeEnvironmentManagedActionHistory request.

type DescribeEnvironmentManagedActionsInput

type DescribeEnvironmentManagedActionsInput struct {

	// The environment ID of the target environment.
	EnvironmentId *string `type:"string"`

	// The name of the target environment.
	EnvironmentName *string `type:"string"`

	// To show only actions with a particular status, specify a status.
	Status ActionStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Request to list an environment's upcoming and in-progress managed actions.

func (DescribeEnvironmentManagedActionsInput) String

String returns the string representation

type DescribeEnvironmentManagedActionsOutput

type DescribeEnvironmentManagedActionsOutput struct {

	// A list of upcoming and in-progress managed actions.
	ManagedActions []ManagedAction `min:"1" type:"list"`
	// contains filtered or unexported fields
}

The result message containing a list of managed actions.

func (DescribeEnvironmentManagedActionsOutput) String

String returns the string representation

type DescribeEnvironmentManagedActionsRequest

DescribeEnvironmentManagedActionsRequest is the request type for the DescribeEnvironmentManagedActions API operation.

func (DescribeEnvironmentManagedActionsRequest) Send

Send marshals and sends the DescribeEnvironmentManagedActions API request.

type DescribeEnvironmentManagedActionsResponse added in v0.9.0

type DescribeEnvironmentManagedActionsResponse struct {
	*DescribeEnvironmentManagedActionsOutput
	// contains filtered or unexported fields
}

DescribeEnvironmentManagedActionsResponse is the response type for the DescribeEnvironmentManagedActions API operation.

func (*DescribeEnvironmentManagedActionsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeEnvironmentManagedActions request.

type DescribeEnvironmentResourcesInput

type DescribeEnvironmentResourcesInput struct {

	// The ID of the environment to retrieve AWS resource usage data.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment to retrieve AWS resource usage data.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

Request to describe the resources in an environment.

func (DescribeEnvironmentResourcesInput) String

String returns the string representation

func (*DescribeEnvironmentResourcesInput) Validate

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

type DescribeEnvironmentResourcesOutput

type DescribeEnvironmentResourcesOutput struct {

	// A list of EnvironmentResourceDescription.
	EnvironmentResources *EnvironmentResourceDescription `type:"structure"`
	// contains filtered or unexported fields
}

Result message containing a list of environment resource descriptions.

func (DescribeEnvironmentResourcesOutput) String

String returns the string representation

type DescribeEnvironmentResourcesRequest

type DescribeEnvironmentResourcesRequest struct {
	*aws.Request
	Input *DescribeEnvironmentResourcesInput
	Copy  func(*DescribeEnvironmentResourcesInput) DescribeEnvironmentResourcesRequest
}

DescribeEnvironmentResourcesRequest is the request type for the DescribeEnvironmentResources API operation.

func (DescribeEnvironmentResourcesRequest) Send

Send marshals and sends the DescribeEnvironmentResources API request.

type DescribeEnvironmentResourcesResponse added in v0.9.0

type DescribeEnvironmentResourcesResponse struct {
	*DescribeEnvironmentResourcesOutput
	// contains filtered or unexported fields
}

DescribeEnvironmentResourcesResponse is the response type for the DescribeEnvironmentResources API operation.

func (*DescribeEnvironmentResourcesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeEnvironmentResources request.

type DescribeEnvironmentsInput

type DescribeEnvironmentsInput struct {

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those that are associated with this application.
	ApplicationName *string `min:"1" type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those that have the specified IDs.
	EnvironmentIds []string `type:"list"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those that have the specified names.
	EnvironmentNames []string `type:"list"`

	// Indicates whether to include deleted environments:
	//
	// true: Environments that have been deleted after IncludedDeletedBackTo are
	// displayed.
	//
	// false: Do not include deleted environments.
	IncludeDeleted *bool `type:"boolean"`

	// If specified when IncludeDeleted is set to true, then environments deleted
	// after this date are displayed.
	IncludedDeletedBackTo *time.Time `type:"timestamp"`

	// For a paginated request. Specify a maximum number of environments to include
	// in each response.
	//
	// If no MaxRecords is specified, all available environments are retrieved in
	// a single response.
	MaxRecords *int64 `min:"1" type:"integer"`

	// For a paginated request. Specify a token from a previous response page to
	// retrieve the next response page. All other parameter values must be identical
	// to the ones specified in the initial request.
	//
	// If no NextToken is specified, the first page is retrieved.
	NextToken *string `type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those that are associated with this application version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Request to describe one or more environments.

func (DescribeEnvironmentsInput) String

func (s DescribeEnvironmentsInput) String() string

String returns the string representation

func (*DescribeEnvironmentsInput) Validate

func (s *DescribeEnvironmentsInput) Validate() error

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

type DescribeEnvironmentsOutput

type DescribeEnvironmentsOutput struct {

	// Returns an EnvironmentDescription list.
	Environments []EnvironmentDescription `type:"list"`

	// In a paginated request, the token that you can pass in a subsequent request
	// to get the next response page.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Result message containing a list of environment descriptions.

func (DescribeEnvironmentsOutput) String

String returns the string representation

type DescribeEnvironmentsRequest

type DescribeEnvironmentsRequest struct {
	*aws.Request
	Input *DescribeEnvironmentsInput
	Copy  func(*DescribeEnvironmentsInput) DescribeEnvironmentsRequest
}

DescribeEnvironmentsRequest is the request type for the DescribeEnvironments API operation.

func (DescribeEnvironmentsRequest) Send

Send marshals and sends the DescribeEnvironments API request.

type DescribeEnvironmentsResponse added in v0.9.0

type DescribeEnvironmentsResponse struct {
	*DescribeEnvironmentsOutput
	// contains filtered or unexported fields
}

DescribeEnvironmentsResponse is the response type for the DescribeEnvironments API operation.

func (*DescribeEnvironmentsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeEnvironments request.

type DescribeEventsInput

type DescribeEventsInput struct {

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those associated with this application.
	ApplicationName *string `min:"1" type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those that occur up to, but not including, the EndTime.
	EndTime *time.Time `type:"timestamp"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those associated with this environment.
	EnvironmentId *string `type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those associated with this environment.
	EnvironmentName *string `min:"4" type:"string"`

	// Specifies the maximum number of events that can be returned, beginning with
	// the most recent event.
	MaxRecords *int64 `min:"1" type:"integer"`

	// Pagination token. If specified, the events return the next batch of results.
	NextToken *string `type:"string"`

	// The ARN of a custom platform version. If specified, AWS Elastic Beanstalk
	// restricts the returned descriptions to those associated with this custom
	// platform version.
	PlatformArn *string `type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the described events to include
	// only those associated with this request ID.
	RequestId *string `type:"string"`

	// If specified, limits the events returned from this call to include only those
	// with the specified severity or higher.
	Severity EventSeverity `type:"string" enum:"true"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those that occur on or after this time.
	StartTime *time.Time `type:"timestamp"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those that are associated with this environment configuration.
	TemplateName *string `min:"1" type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those associated with this application version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Request to retrieve a list of events for an environment.

func (DescribeEventsInput) String

func (s DescribeEventsInput) String() string

String returns the string representation

func (*DescribeEventsInput) Validate

func (s *DescribeEventsInput) Validate() error

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

type DescribeEventsOutput

type DescribeEventsOutput struct {

	// A list of EventDescription.
	Events []EventDescription `type:"list"`

	// If returned, this indicates that there are more results to obtain. Use this
	// token in the next DescribeEvents call to get the next batch of events.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Result message wrapping a list of event descriptions.

func (DescribeEventsOutput) String

func (s DescribeEventsOutput) String() string

String returns the string representation

type DescribeEventsPaginator added in v0.9.0

type DescribeEventsPaginator struct {
	aws.Pager
}

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

func NewDescribeEventsPaginator added in v0.9.0

func NewDescribeEventsPaginator(req DescribeEventsRequest) DescribeEventsPaginator

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

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

// Example iterating over pages.
req := client.DescribeEventsRequest(input)
p := elasticbeanstalk.NewDescribeEventsRequestPaginator(req)

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

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

func (*DescribeEventsPaginator) CurrentPage added in v0.9.0

type DescribeEventsRequest

type DescribeEventsRequest struct {
	*aws.Request
	Input *DescribeEventsInput
	Copy  func(*DescribeEventsInput) DescribeEventsRequest
}

DescribeEventsRequest is the request type for the DescribeEvents API operation.

func (DescribeEventsRequest) Send

Send marshals and sends the DescribeEvents API request.

type DescribeEventsResponse added in v0.9.0

type DescribeEventsResponse struct {
	*DescribeEventsOutput
	// contains filtered or unexported fields
}

DescribeEventsResponse is the response type for the DescribeEvents API operation.

func (*DescribeEventsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeEvents request.

type DescribeInstancesHealthInput

type DescribeInstancesHealthInput struct {

	// Specifies the response elements you wish to receive. To retrieve all attributes,
	// set to All. If no attribute names are specified, returns a list of instances.
	AttributeNames []InstancesHealthAttribute `type:"list"`

	// Specify the AWS Elastic Beanstalk environment by ID.
	EnvironmentId *string `type:"string"`

	// Specify the AWS Elastic Beanstalk environment by name.
	EnvironmentName *string `min:"4" type:"string"`

	// Specify the pagination token returned by a previous call.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Parameters for a call to DescribeInstancesHealth.

func (DescribeInstancesHealthInput) String

String returns the string representation

func (*DescribeInstancesHealthInput) Validate

func (s *DescribeInstancesHealthInput) Validate() error

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

type DescribeInstancesHealthOutput

type DescribeInstancesHealthOutput struct {

	// Detailed health information about each instance.
	//
	// The output differs slightly between Linux and Windows environments. There
	// is a difference in the members that are supported under the <CPUUtilization>
	// type.
	InstanceHealthList []SingleInstanceHealth `type:"list"`

	// Pagination token for the next page of results, if available.
	NextToken *string `min:"1" type:"string"`

	// The date and time that the health information was retrieved.
	RefreshedAt *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment.

func (DescribeInstancesHealthOutput) String

String returns the string representation

type DescribeInstancesHealthRequest

type DescribeInstancesHealthRequest struct {
	*aws.Request
	Input *DescribeInstancesHealthInput
	Copy  func(*DescribeInstancesHealthInput) DescribeInstancesHealthRequest
}

DescribeInstancesHealthRequest is the request type for the DescribeInstancesHealth API operation.

func (DescribeInstancesHealthRequest) Send

Send marshals and sends the DescribeInstancesHealth API request.

type DescribeInstancesHealthResponse added in v0.9.0

type DescribeInstancesHealthResponse struct {
	*DescribeInstancesHealthOutput
	// contains filtered or unexported fields
}

DescribeInstancesHealthResponse is the response type for the DescribeInstancesHealth API operation.

func (*DescribeInstancesHealthResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeInstancesHealth request.

type DescribePlatformVersionInput

type DescribePlatformVersionInput struct {

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribePlatformVersionInput) String

String returns the string representation

type DescribePlatformVersionOutput

type DescribePlatformVersionOutput struct {

	// Detailed information about the platform version.
	PlatformDescription *PlatformDescription `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribePlatformVersionOutput) String

String returns the string representation

type DescribePlatformVersionRequest

type DescribePlatformVersionRequest struct {
	*aws.Request
	Input *DescribePlatformVersionInput
	Copy  func(*DescribePlatformVersionInput) DescribePlatformVersionRequest
}

DescribePlatformVersionRequest is the request type for the DescribePlatformVersion API operation.

func (DescribePlatformVersionRequest) Send

Send marshals and sends the DescribePlatformVersion API request.

type DescribePlatformVersionResponse added in v0.9.0

type DescribePlatformVersionResponse struct {
	*DescribePlatformVersionOutput
	// contains filtered or unexported fields
}

DescribePlatformVersionResponse is the response type for the DescribePlatformVersion API operation.

func (*DescribePlatformVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribePlatformVersion request.

type EnvironmentDescription added in v0.9.0

type EnvironmentDescription struct {

	// Indicates if there is an in-progress environment configuration update or
	// application version deployment that you can cancel.
	//
	// true: There is an update in progress.
	//
	// false: There are no updates currently in progress.
	AbortableOperationInProgress *bool `type:"boolean"`

	// The name of the application associated with this environment.
	ApplicationName *string `min:"1" type:"string"`

	// The URL to the CNAME for this environment.
	CNAME *string `min:"1" type:"string"`

	// The creation date for this environment.
	DateCreated *time.Time `type:"timestamp"`

	// The last modified date for this environment.
	DateUpdated *time.Time `type:"timestamp"`

	// Describes this environment.
	Description *string `type:"string"`

	// For load-balanced, autoscaling environments, the URL to the LoadBalancer.
	// For single-instance environments, the IP address of the instance.
	EndpointURL *string `type:"string"`

	// The environment's Amazon Resource Name (ARN), which can be used in other
	// API requests that require an ARN.
	EnvironmentArn *string `type:"string"`

	// The ID of this environment.
	EnvironmentId *string `type:"string"`

	// A list of links to other environments in the same group.
	EnvironmentLinks []EnvironmentLink `type:"list"`

	// The name of this environment.
	EnvironmentName *string `min:"4" type:"string"`

	// Describes the health status of the environment. AWS Elastic Beanstalk indicates
	// the failure levels for a running environment:
	//
	//    * Red: Indicates the environment is not responsive. Occurs when three
	//    or more consecutive failures occur for an environment.
	//
	//    * Yellow: Indicates that something is wrong. Occurs when two consecutive
	//    failures occur for an environment.
	//
	//    * Green: Indicates the environment is healthy and fully functional.
	//
	//    * Grey: Default health for a new environment. The environment is not fully
	//    launched and health checks have not started or health checks are suspended
	//    during an UpdateEnvironment or RestartEnvironment request.
	//
	// Default: Grey
	Health EnvironmentHealth `type:"string" enum:"true"`

	// Returns the health status of the application running in your environment.
	// For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus EnvironmentHealthStatus `type:"string" enum:"true"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The description of the AWS resources used by this environment.
	Resources *EnvironmentResourcesDescription `type:"structure"`

	// The name of the SolutionStack deployed with this environment.
	SolutionStackName *string `type:"string"`

	// The current operational status of the environment:
	//
	//    * Launching: Environment is in the process of initial deployment.
	//
	//    * Updating: Environment is in the process of updating its configuration
	//    settings or application version.
	//
	//    * Ready: Environment is available to have an action performed on it, such
	//    as update or terminate.
	//
	//    * Terminating: Environment is in the shut-down process.
	//
	//    * Terminated: Environment is not running.
	Status EnvironmentStatus `type:"string" enum:"true"`

	// The name of the configuration template used to originally launch this environment.
	TemplateName *string `min:"1" type:"string"`

	// Describes the current tier of this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The application version deployed in this environment.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment.

func (EnvironmentDescription) String added in v0.9.0

func (s EnvironmentDescription) String() string

String returns the string representation

type EnvironmentHealth

type EnvironmentHealth string
const (
	EnvironmentHealthGreen  EnvironmentHealth = "Green"
	EnvironmentHealthYellow EnvironmentHealth = "Yellow"
	EnvironmentHealthRed    EnvironmentHealth = "Red"
	EnvironmentHealthGrey   EnvironmentHealth = "Grey"
)

Enum values for EnvironmentHealth

func (EnvironmentHealth) MarshalValue added in v0.3.0

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

func (EnvironmentHealth) MarshalValueBuf added in v0.3.0

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

type EnvironmentHealthAttribute

type EnvironmentHealthAttribute string
const (
	EnvironmentHealthAttributeStatus             EnvironmentHealthAttribute = "Status"
	EnvironmentHealthAttributeColor              EnvironmentHealthAttribute = "Color"
	EnvironmentHealthAttributeCauses             EnvironmentHealthAttribute = "Causes"
	EnvironmentHealthAttributeApplicationMetrics EnvironmentHealthAttribute = "ApplicationMetrics"
	EnvironmentHealthAttributeInstancesHealth    EnvironmentHealthAttribute = "InstancesHealth"
	EnvironmentHealthAttributeAll                EnvironmentHealthAttribute = "All"
	EnvironmentHealthAttributeHealthStatus       EnvironmentHealthAttribute = "HealthStatus"
	EnvironmentHealthAttributeRefreshedAt        EnvironmentHealthAttribute = "RefreshedAt"
)

Enum values for EnvironmentHealthAttribute

func (EnvironmentHealthAttribute) MarshalValue added in v0.3.0

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

func (EnvironmentHealthAttribute) MarshalValueBuf added in v0.3.0

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

type EnvironmentHealthStatus

type EnvironmentHealthStatus string
const (
	EnvironmentHealthStatusNoData    EnvironmentHealthStatus = "NoData"
	EnvironmentHealthStatusUnknown   EnvironmentHealthStatus = "Unknown"
	EnvironmentHealthStatusPending   EnvironmentHealthStatus = "Pending"
	EnvironmentHealthStatusOk        EnvironmentHealthStatus = "Ok"
	EnvironmentHealthStatusInfo      EnvironmentHealthStatus = "Info"
	EnvironmentHealthStatusWarning   EnvironmentHealthStatus = "Warning"
	EnvironmentHealthStatusDegraded  EnvironmentHealthStatus = "Degraded"
	EnvironmentHealthStatusSevere    EnvironmentHealthStatus = "Severe"
	EnvironmentHealthStatusSuspended EnvironmentHealthStatus = "Suspended"
)

Enum values for EnvironmentHealthStatus

func (EnvironmentHealthStatus) MarshalValue added in v0.3.0

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

func (EnvironmentHealthStatus) MarshalValueBuf added in v0.3.0

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

type EnvironmentInfoDescription

type EnvironmentInfoDescription struct {

	// The Amazon EC2 Instance ID for this information.
	Ec2InstanceId *string `type:"string"`

	// The type of information retrieved.
	InfoType EnvironmentInfoType `type:"string" enum:"true"`

	// The retrieved information. Currently contains a presigned Amazon S3 URL.
	// The files are deleted after 15 minutes.
	//
	// Anyone in possession of this URL can access the files before they are deleted.
	// Make the URL available only to trusted parties.
	Message *string `type:"string"`

	// The time stamp when this information was retrieved.
	SampleTimestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

The information retrieved from the Amazon EC2 instances.

func (EnvironmentInfoDescription) String

String returns the string representation

type EnvironmentInfoType

type EnvironmentInfoType string
const (
	EnvironmentInfoTypeTail   EnvironmentInfoType = "tail"
	EnvironmentInfoTypeBundle EnvironmentInfoType = "bundle"
)

Enum values for EnvironmentInfoType

func (EnvironmentInfoType) MarshalValue added in v0.3.0

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

func (EnvironmentInfoType) MarshalValueBuf added in v0.3.0

func (enum EnvironmentInfoType) MarshalValueBuf(b []byte) ([]byte, error)
type EnvironmentLink struct {

	// The name of the linked environment (the dependency).
	EnvironmentName *string `type:"string"`

	// The name of the link.
	LinkName *string `type:"string"`
	// contains filtered or unexported fields
}

A link to another environment, defined in the environment's manifest. Links provide connection information in system properties that can be used to connect to another environment in the same group. See Environment Manifest (env.yaml) (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html) for details.

func (EnvironmentLink) String

func (s EnvironmentLink) String() string

String returns the string representation

type EnvironmentResourceDescription

type EnvironmentResourceDescription struct {

	// The AutoScalingGroups used by this environment.
	AutoScalingGroups []AutoScalingGroup `type:"list"`

	// The name of the environment.
	EnvironmentName *string `min:"4" type:"string"`

	// The Amazon EC2 instances used by this environment.
	Instances []Instance `type:"list"`

	// The Auto Scaling launch configurations in use by this environment.
	LaunchConfigurations []LaunchConfiguration `type:"list"`

	// The Amazon EC2 launch templates in use by this environment.
	LaunchTemplates []LaunchTemplate `type:"list"`

	// The LoadBalancers in use by this environment.
	LoadBalancers []LoadBalancer `type:"list"`

	// The queues used by this environment.
	Queues []Queue `type:"list"`

	// The AutoScaling triggers in use by this environment.
	Triggers []Trigger `type:"list"`
	// contains filtered or unexported fields
}

Describes the AWS resources in use by this environment. This data is live.

func (EnvironmentResourceDescription) String

String returns the string representation

type EnvironmentResourcesDescription

type EnvironmentResourcesDescription struct {

	// Describes the LoadBalancer.
	LoadBalancer *LoadBalancerDescription `type:"structure"`
	// contains filtered or unexported fields
}

Describes the AWS resources in use by this environment. This data is not live data.

func (EnvironmentResourcesDescription) String

String returns the string representation

type EnvironmentStatus

type EnvironmentStatus string
const (
	EnvironmentStatusLaunching   EnvironmentStatus = "Launching"
	EnvironmentStatusUpdating    EnvironmentStatus = "Updating"
	EnvironmentStatusReady       EnvironmentStatus = "Ready"
	EnvironmentStatusTerminating EnvironmentStatus = "Terminating"
	EnvironmentStatusTerminated  EnvironmentStatus = "Terminated"
)

Enum values for EnvironmentStatus

func (EnvironmentStatus) MarshalValue added in v0.3.0

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

func (EnvironmentStatus) MarshalValueBuf added in v0.3.0

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

type EnvironmentTier

type EnvironmentTier struct {

	// The name of this environment tier.
	//
	// Valid values:
	//
	//    * For Web server tier – WebServer
	//
	//    * For Worker tier – Worker
	Name *string `type:"string"`

	// The type of this environment tier.
	//
	// Valid values:
	//
	//    * For Web server tier – Standard
	//
	//    * For Worker tier – SQS/HTTP
	Type *string `type:"string"`

	// The version of this environment tier. When you don't set a value to it, Elastic
	// Beanstalk uses the latest compatible worker tier version.
	//
	// This member is deprecated. Any specific version that you set may become out
	// of date. We recommend leaving it unspecified.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment tier

func (EnvironmentTier) String

func (s EnvironmentTier) String() string

String returns the string representation

type EventDescription

type EventDescription struct {

	// The application associated with the event.
	ApplicationName *string `min:"1" type:"string"`

	// The name of the environment associated with this event.
	EnvironmentName *string `min:"4" type:"string"`

	// The date when the event occurred.
	EventDate *time.Time `type:"timestamp"`

	// The event message.
	Message *string `type:"string"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The web service request ID for the activity of this event.
	RequestId *string `type:"string"`

	// The severity level of this event.
	Severity EventSeverity `type:"string" enum:"true"`

	// The name of the configuration associated with this event.
	TemplateName *string `min:"1" type:"string"`

	// The release label for the application version associated with this event.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes an event.

func (EventDescription) String

func (s EventDescription) String() string

String returns the string representation

type EventSeverity

type EventSeverity string
const (
	EventSeverityTrace EventSeverity = "TRACE"
	EventSeverityDebug EventSeverity = "DEBUG"
	EventSeverityInfo  EventSeverity = "INFO"
	EventSeverityWarn  EventSeverity = "WARN"
	EventSeverityError EventSeverity = "ERROR"
	EventSeverityFatal EventSeverity = "FATAL"
)

Enum values for EventSeverity

func (EventSeverity) MarshalValue added in v0.3.0

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

func (EventSeverity) MarshalValueBuf added in v0.3.0

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

type FailureType

type FailureType string
const (
	FailureTypeUpdateCancelled         FailureType = "UpdateCancelled"
	FailureTypeCancellationFailed      FailureType = "CancellationFailed"
	FailureTypeRollbackFailed          FailureType = "RollbackFailed"
	FailureTypeRollbackSuccessful      FailureType = "RollbackSuccessful"
	FailureTypeInternalFailure         FailureType = "InternalFailure"
	FailureTypeInvalidEnvironmentState FailureType = "InvalidEnvironmentState"
	FailureTypePermissionsError        FailureType = "PermissionsError"
)

Enum values for FailureType

func (FailureType) MarshalValue added in v0.3.0

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

func (FailureType) MarshalValueBuf added in v0.3.0

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

type Instance

type Instance struct {

	// The ID of the Amazon EC2 instance.
	Id *string `type:"string"`
	// contains filtered or unexported fields
}

The description of an Amazon EC2 instance.

func (Instance) String

func (s Instance) String() string

String returns the string representation

type InstanceHealthSummary

type InstanceHealthSummary struct {

	// Red. The health agent is reporting a high number of request failures or other
	// issues for an instance or environment.
	Degraded *int64 `type:"integer"`

	// Green. An operation is in progress on an instance.
	Info *int64 `type:"integer"`

	// Grey. AWS Elastic Beanstalk and the health agent are reporting no data on
	// an instance.
	NoData *int64 `type:"integer"`

	// Green. An instance is passing health checks and the health agent is not reporting
	// any problems.
	Ok *int64 `type:"integer"`

	// Grey. An operation is in progress on an instance within the command timeout.
	Pending *int64 `type:"integer"`

	// Red. The health agent is reporting a very high number of request failures
	// or other issues for an instance or environment.
	Severe *int64 `type:"integer"`

	// Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient
	// amount of data on an instance.
	Unknown *int64 `type:"integer"`

	// Yellow. The health agent is reporting a moderate number of request failures
	// or other issues for an instance or environment.
	Warning *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents summary information about the health of an instance. For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).

func (InstanceHealthSummary) String

func (s InstanceHealthSummary) String() string

String returns the string representation

type InstancesHealthAttribute

type InstancesHealthAttribute string
const (
	InstancesHealthAttributeHealthStatus       InstancesHealthAttribute = "HealthStatus"
	InstancesHealthAttributeColor              InstancesHealthAttribute = "Color"
	InstancesHealthAttributeCauses             InstancesHealthAttribute = "Causes"
	InstancesHealthAttributeApplicationMetrics InstancesHealthAttribute = "ApplicationMetrics"
	InstancesHealthAttributeRefreshedAt        InstancesHealthAttribute = "RefreshedAt"
	InstancesHealthAttributeLaunchedAt         InstancesHealthAttribute = "LaunchedAt"
	InstancesHealthAttributeSystem             InstancesHealthAttribute = "System"
	InstancesHealthAttributeDeployment         InstancesHealthAttribute = "Deployment"
	InstancesHealthAttributeAvailabilityZone   InstancesHealthAttribute = "AvailabilityZone"
	InstancesHealthAttributeInstanceType       InstancesHealthAttribute = "InstanceType"
	InstancesHealthAttributeAll                InstancesHealthAttribute = "All"
)

Enum values for InstancesHealthAttribute

func (InstancesHealthAttribute) MarshalValue added in v0.3.0

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

func (InstancesHealthAttribute) MarshalValueBuf added in v0.3.0

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

type Latency

type Latency struct {

	// The average latency for the slowest 90 percent of requests over the last
	// 10 seconds.
	P10 *float64 `type:"double"`

	// The average latency for the slowest 50 percent of requests over the last
	// 10 seconds.
	P50 *float64 `type:"double"`

	// The average latency for the slowest 25 percent of requests over the last
	// 10 seconds.
	P75 *float64 `type:"double"`

	// The average latency for the slowest 15 percent of requests over the last
	// 10 seconds.
	P85 *float64 `type:"double"`

	// The average latency for the slowest 10 percent of requests over the last
	// 10 seconds.
	P90 *float64 `type:"double"`

	// The average latency for the slowest 5 percent of requests over the last 10
	// seconds.
	P95 *float64 `type:"double"`

	// The average latency for the slowest 1 percent of requests over the last 10
	// seconds.
	P99 *float64 `type:"double"`

	// The average latency for the slowest 0.1 percent of requests over the last
	// 10 seconds.
	P999 *float64 `type:"double"`
	// contains filtered or unexported fields
}

Represents the average latency for the slowest X percent of requests over the last 10 seconds.

func (Latency) String

func (s Latency) String() string

String returns the string representation

type LaunchConfiguration

type LaunchConfiguration struct {

	// The name of the launch configuration.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Auto Scaling launch configuration.

func (LaunchConfiguration) String

func (s LaunchConfiguration) String() string

String returns the string representation

type LaunchTemplate added in v0.7.0

type LaunchTemplate struct {

	// The ID of the launch template.
	Id *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Amazon EC2 launch template.

func (LaunchTemplate) String added in v0.7.0

func (s LaunchTemplate) String() string

String returns the string representation

type ListAvailableSolutionStacksInput

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

func (ListAvailableSolutionStacksInput) String

String returns the string representation

type ListAvailableSolutionStacksOutput

type ListAvailableSolutionStacksOutput struct {

	// A list of available solution stacks and their SolutionStackDescription.
	SolutionStackDetails []SolutionStackDescription `type:"list"`

	// A list of available solution stacks.
	SolutionStacks []string `type:"list"`
	// contains filtered or unexported fields
}

A list of available AWS Elastic Beanstalk solution stacks.

func (ListAvailableSolutionStacksOutput) String

String returns the string representation

type ListAvailableSolutionStacksRequest

type ListAvailableSolutionStacksRequest struct {
	*aws.Request
	Input *ListAvailableSolutionStacksInput
	Copy  func(*ListAvailableSolutionStacksInput) ListAvailableSolutionStacksRequest
}

ListAvailableSolutionStacksRequest is the request type for the ListAvailableSolutionStacks API operation.

func (ListAvailableSolutionStacksRequest) Send

Send marshals and sends the ListAvailableSolutionStacks API request.

type ListAvailableSolutionStacksResponse added in v0.9.0

type ListAvailableSolutionStacksResponse struct {
	*ListAvailableSolutionStacksOutput
	// contains filtered or unexported fields
}

ListAvailableSolutionStacksResponse is the response type for the ListAvailableSolutionStacks API operation.

func (*ListAvailableSolutionStacksResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListAvailableSolutionStacks request.

type ListPlatformBranchesInput added in v0.21.0

type ListPlatformBranchesInput struct {

	// Criteria for restricting the resulting list of platform branches. The filter
	// is evaluated as a logical conjunction (AND) of the separate SearchFilter
	// terms.
	//
	// The following list shows valid attribute values for each of the SearchFilter
	// terms. Most operators take a single value. The in and not_in operators can
	// take multiple values.
	//
	//    * Attribute = BranchName: Operator: = | != | begins_with | ends_with |
	//    contains | in | not_in
	//
	//    * Attribute = LifecycleState: Operator: = | != | in | not_in Values: beta
	//    | supported | deprecated | retired
	//
	//    * Attribute = PlatformName: Operator: = | != | begins_with | ends_with
	//    | contains | in | not_in
	//
	//    * Attribute = TierType: Operator: = | != Values: WebServer/Standard |
	//    Worker/SQS/HTTP
	//
	// Array size: limited to 10 SearchFilter objects.
	//
	// Within each SearchFilter item, the Values array is limited to 10 items.
	Filters []SearchFilter `type:"list"`

	// The maximum number of platform branch values returned in one call.
	MaxRecords *int64 `min:"1" type:"integer"`

	// For a paginated request. Specify a token from a previous response page to
	// retrieve the next response page. All other parameter values must be identical
	// to the ones specified in the initial request.
	//
	// If no NextToken is specified, the first page is retrieved.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPlatformBranchesInput) String added in v0.21.0

func (s ListPlatformBranchesInput) String() string

String returns the string representation

func (*ListPlatformBranchesInput) Validate added in v0.21.0

func (s *ListPlatformBranchesInput) Validate() error

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

type ListPlatformBranchesOutput added in v0.21.0

type ListPlatformBranchesOutput struct {

	// In a paginated request, if this value isn't null, it's the token that you
	// can pass in a subsequent request to get the next response page.
	NextToken *string `type:"string"`

	// Summary information about the platform branches.
	PlatformBranchSummaryList []PlatformBranchSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListPlatformBranchesOutput) String added in v0.21.0

String returns the string representation

type ListPlatformBranchesPaginator added in v0.21.0

type ListPlatformBranchesPaginator struct {
	aws.Pager
}

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

func NewListPlatformBranchesPaginator added in v0.21.0

func NewListPlatformBranchesPaginator(req ListPlatformBranchesRequest) ListPlatformBranchesPaginator

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

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

// Example iterating over pages.
req := client.ListPlatformBranchesRequest(input)
p := elasticbeanstalk.NewListPlatformBranchesRequestPaginator(req)

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

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

func (*ListPlatformBranchesPaginator) CurrentPage added in v0.21.0

type ListPlatformBranchesRequest added in v0.21.0

type ListPlatformBranchesRequest struct {
	*aws.Request
	Input *ListPlatformBranchesInput
	Copy  func(*ListPlatformBranchesInput) ListPlatformBranchesRequest
}

ListPlatformBranchesRequest is the request type for the ListPlatformBranches API operation.

func (ListPlatformBranchesRequest) Send added in v0.21.0

Send marshals and sends the ListPlatformBranches API request.

type ListPlatformBranchesResponse added in v0.21.0

type ListPlatformBranchesResponse struct {
	*ListPlatformBranchesOutput
	// contains filtered or unexported fields
}

ListPlatformBranchesResponse is the response type for the ListPlatformBranches API operation.

func (*ListPlatformBranchesResponse) SDKResponseMetdata added in v0.21.0

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

SDKResponseMetdata returns the response metadata for the ListPlatformBranches request.

type ListPlatformVersionsInput

type ListPlatformVersionsInput struct {

	// Criteria for restricting the resulting list of platform versions. The filter
	// is interpreted as a logical conjunction (AND) of the separate PlatformFilter
	// terms.
	Filters []PlatformFilter `type:"list"`

	// The maximum number of platform version values returned in one call.
	MaxRecords *int64 `min:"1" type:"integer"`

	// For a paginated request. Specify a token from a previous response page to
	// retrieve the next response page. All other parameter values must be identical
	// to the ones specified in the initial request.
	//
	// If no NextToken is specified, the first page is retrieved.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPlatformVersionsInput) String

func (s ListPlatformVersionsInput) String() string

String returns the string representation

func (*ListPlatformVersionsInput) Validate

func (s *ListPlatformVersionsInput) Validate() error

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

type ListPlatformVersionsOutput

type ListPlatformVersionsOutput struct {

	// In a paginated request, if this value isn't null, it's the token that you
	// can pass in a subsequent request to get the next response page.
	NextToken *string `type:"string"`

	// Summary information about the platform versions.
	PlatformSummaryList []PlatformSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListPlatformVersionsOutput) String

String returns the string representation

type ListPlatformVersionsRequest

type ListPlatformVersionsRequest struct {
	*aws.Request
	Input *ListPlatformVersionsInput
	Copy  func(*ListPlatformVersionsInput) ListPlatformVersionsRequest
}

ListPlatformVersionsRequest is the request type for the ListPlatformVersions API operation.

func (ListPlatformVersionsRequest) Send

Send marshals and sends the ListPlatformVersions API request.

type ListPlatformVersionsResponse added in v0.9.0

type ListPlatformVersionsResponse struct {
	*ListPlatformVersionsOutput
	// contains filtered or unexported fields
}

ListPlatformVersionsResponse is the response type for the ListPlatformVersions API operation.

func (*ListPlatformVersionsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListPlatformVersions request.

type ListTagsForResourceInput added in v0.2.0

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resouce for which a tag list is requested.
	//
	// Must be the ARN of an Elastic Beanstalk resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) String added in v0.2.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.2.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.2.0

type ListTagsForResourceOutput struct {

	// The Amazon Resource Name (ARN) of the resource for which a tag list was requested.
	ResourceArn *string `type:"string"`

	// A list of tag key-value pairs.
	ResourceTags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) String added in v0.2.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.2.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.2.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type Listener

type Listener struct {

	// The port that is used by the Listener.
	Port *int64 `type:"integer"`

	// The protocol that is used by the Listener.
	Protocol *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of a Listener for the LoadBalancer.

func (Listener) String

func (s Listener) String() string

String returns the string representation

type LoadBalancer

type LoadBalancer struct {

	// The name of the LoadBalancer.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a LoadBalancer.

func (LoadBalancer) String

func (s LoadBalancer) String() string

String returns the string representation

type LoadBalancerDescription

type LoadBalancerDescription struct {

	// The domain name of the LoadBalancer.
	Domain *string `type:"string"`

	// A list of Listeners used by the LoadBalancer.
	Listeners []Listener `type:"list"`

	// The name of the LoadBalancer.
	LoadBalancerName *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the details of a LoadBalancer.

func (LoadBalancerDescription) String

func (s LoadBalancerDescription) String() string

String returns the string representation

type ManagedAction

type ManagedAction struct {

	// A description of the managed action.
	ActionDescription *string `type:"string"`

	// A unique identifier for the managed action.
	ActionId *string `type:"string"`

	// The type of managed action.
	ActionType ActionType `type:"string" enum:"true"`

	// The status of the managed action. If the action is Scheduled, you can apply
	// it immediately with ApplyEnvironmentManagedAction.
	Status ActionStatus `type:"string" enum:"true"`

	// The start time of the maintenance window in which the managed action will
	// execute.
	WindowStartTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

The record of an upcoming or in-progress managed action.

func (ManagedAction) String

func (s ManagedAction) String() string

String returns the string representation

type ManagedActionHistoryItem

type ManagedActionHistoryItem struct {

	// A description of the managed action.
	ActionDescription *string `type:"string"`

	// A unique identifier for the managed action.
	ActionId *string `type:"string"`

	// The type of the managed action.
	ActionType ActionType `type:"string" enum:"true"`

	// The date and time that the action started executing.
	ExecutedTime *time.Time `type:"timestamp"`

	// If the action failed, a description of the failure.
	FailureDescription *string `type:"string"`

	// If the action failed, the type of failure.
	FailureType FailureType `type:"string" enum:"true"`

	// The date and time that the action finished executing.
	FinishedTime *time.Time `type:"timestamp"`

	// The status of the action.
	Status ActionHistoryStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The record of a completed or failed managed action.

func (ManagedActionHistoryItem) String

func (s ManagedActionHistoryItem) String() string

String returns the string representation

type MaxAgeRule

type MaxAgeRule struct {

	// Set to true to delete a version's source bundle from Amazon S3 when Elastic
	// Beanstalk deletes the application version.
	DeleteSourceFromS3 *bool `type:"boolean"`

	// Specify true to apply the rule, or false to disable it.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// Specify the number of days to retain an application versions.
	MaxAgeInDays *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A lifecycle rule that deletes application versions after the specified number of days.

func (MaxAgeRule) String

func (s MaxAgeRule) String() string

String returns the string representation

func (*MaxAgeRule) Validate

func (s *MaxAgeRule) Validate() error

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

type MaxCountRule

type MaxCountRule struct {

	// Set to true to delete a version's source bundle from Amazon S3 when Elastic
	// Beanstalk deletes the application version.
	DeleteSourceFromS3 *bool `type:"boolean"`

	// Specify true to apply the rule, or false to disable it.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// Specify the maximum number of application versions to retain.
	MaxCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.

func (MaxCountRule) String

func (s MaxCountRule) String() string

String returns the string representation

func (*MaxCountRule) Validate

func (s *MaxCountRule) Validate() error

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

type OptionRestrictionRegex

type OptionRestrictionRegex struct {

	// A unique name representing this regular expression.
	Label *string `type:"string"`

	// The regular expression pattern that a string configuration option value with
	// this restriction must match.
	Pattern *string `type:"string"`
	// contains filtered or unexported fields
}

A regular expression representing a restriction on a string configuration option value.

func (OptionRestrictionRegex) String

func (s OptionRestrictionRegex) String() string

String returns the string representation

type OptionSpecification

type OptionSpecification struct {

	// A unique namespace identifying the option's associated AWS resource.
	Namespace *string `type:"string"`

	// The name of the configuration option.
	OptionName *string `type:"string"`

	// A unique resource name for a time-based scaling configuration option.
	ResourceName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A specification identifying an individual configuration option.

func (OptionSpecification) String

func (s OptionSpecification) String() string

String returns the string representation

func (*OptionSpecification) Validate

func (s *OptionSpecification) Validate() error

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

type PlatformBranchSummary added in v0.21.0

type PlatformBranchSummary struct {

	// The name of the platform branch.
	BranchName *string `type:"string"`

	// An ordinal number that designates the order in which platform branches have
	// been added to a platform. This can be helpful, for example, if your code
	// calls the ListPlatformBranches action and then displays a list of platform
	// branches.
	//
	// A larger BranchOrder value designates a newer platform branch within the
	// platform.
	BranchOrder *int64 `type:"integer"`

	// The support life cycle state of the platform branch.
	//
	// Possible values: beta | supported | deprecated | retired
	LifecycleState *string `type:"string"`

	// The name of the platform to which this platform branch belongs.
	PlatformName *string `type:"string"`

	// The environment tiers that platform versions in this branch support.
	//
	// Possible values: WebServer/Standard | Worker/SQS/HTTP
	SupportedTierList []string `type:"list"`
	// contains filtered or unexported fields
}

Summary information about a platform branch.

func (PlatformBranchSummary) String added in v0.21.0

func (s PlatformBranchSummary) String() string

String returns the string representation

type PlatformDescription

type PlatformDescription struct {

	// The custom AMIs supported by the platform version.
	CustomAmiList []CustomAmi `type:"list"`

	// The date when the platform version was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date when the platform version was last updated.
	DateUpdated *time.Time `type:"timestamp"`

	// The description of the platform version.
	Description *string `type:"string"`

	// The frameworks supported by the platform version.
	Frameworks []PlatformFramework `type:"list"`

	// Information about the maintainer of the platform version.
	Maintainer *string `type:"string"`

	// The operating system used by the platform version.
	OperatingSystemName *string `type:"string"`

	// The version of the operating system used by the platform version.
	OperatingSystemVersion *string `type:"string"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The state of the platform version's branch in its lifecycle.
	//
	// Possible values: Beta | Supported | Deprecated | Retired
	PlatformBranchLifecycleState *string `type:"string"`

	// The platform branch to which the platform version belongs.
	PlatformBranchName *string `type:"string"`

	// The category of the platform version.
	PlatformCategory *string `type:"string"`

	// The state of the platform version in its lifecycle.
	//
	// Possible values: Recommended | null
	//
	// If a null value is returned, the platform version isn't the recommended one
	// for its branch. Each platform branch has a single recommended platform version,
	// typically the most recent one.
	PlatformLifecycleState *string `type:"string"`

	// The name of the platform version.
	PlatformName *string `type:"string"`

	// The AWS account ID of the person who created the platform version.
	PlatformOwner *string `type:"string"`

	// The status of the platform version.
	PlatformStatus PlatformStatus `type:"string" enum:"true"`

	// The version of the platform version.
	PlatformVersion *string `type:"string"`

	// The programming languages supported by the platform version.
	ProgrammingLanguages []PlatformProgrammingLanguage `type:"list"`

	// The name of the solution stack used by the platform version.
	SolutionStackName *string `type:"string"`

	// The additions supported by the platform version.
	SupportedAddonList []string `type:"list"`

	// The tiers supported by the platform version.
	SupportedTierList []string `type:"list"`
	// contains filtered or unexported fields
}

Detailed information about a platform version.

func (PlatformDescription) String

func (s PlatformDescription) String() string

String returns the string representation

type PlatformFilter

type PlatformFilter struct {

	// The operator to apply to the Type with each of the Values.
	//
	// Valid values: = | != | < | <= | > | >= | contains | begins_with | ends_with
	Operator *string `type:"string"`

	// The platform version attribute to which the filter values are applied.
	//
	// Valid values: PlatformName | PlatformVersion | PlatformStatus | PlatformBranchName
	// | PlatformLifecycleState | PlatformOwner | SupportedTier | SupportedAddon
	// | ProgrammingLanguageName | OperatingSystemName
	Type *string `type:"string"`

	// The list of values applied to the filtering platform version attribute. Only
	// one value is supported for all current operators.
	//
	// The following list shows valid filter values for some filter attributes.
	//
	//    * PlatformStatus: Creating | Failed | Ready | Deleting | Deleted
	//
	//    * PlatformLifecycleState: recommended
	//
	//    * SupportedTier: WebServer/Standard | Worker/SQS/HTTP
	//
	//    * SupportedAddon: Log/S3 | Monitoring/Healthd | WorkerDaemon/SQSD
	Values []string `type:"list"`
	// contains filtered or unexported fields
}

Describes criteria to restrict the results when listing platform versions.

The filter is evaluated as follows: Type Operator Values[1]

func (PlatformFilter) String

func (s PlatformFilter) String() string

String returns the string representation

type PlatformFramework

type PlatformFramework struct {

	// The name of the framework.
	Name *string `type:"string"`

	// The version of the framework.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A framework supported by the platform.

func (PlatformFramework) String

func (s PlatformFramework) String() string

String returns the string representation

type PlatformProgrammingLanguage

type PlatformProgrammingLanguage struct {

	// The name of the programming language.
	Name *string `type:"string"`

	// The version of the programming language.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A programming language supported by the platform.

func (PlatformProgrammingLanguage) String

String returns the string representation

type PlatformStatus

type PlatformStatus string
const (
	PlatformStatusCreating PlatformStatus = "Creating"
	PlatformStatusFailed   PlatformStatus = "Failed"
	PlatformStatusReady    PlatformStatus = "Ready"
	PlatformStatusDeleting PlatformStatus = "Deleting"
	PlatformStatusDeleted  PlatformStatus = "Deleted"
)

Enum values for PlatformStatus

func (PlatformStatus) MarshalValue added in v0.3.0

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

func (PlatformStatus) MarshalValueBuf added in v0.3.0

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

type PlatformSummary

type PlatformSummary struct {

	// The operating system used by the platform version.
	OperatingSystemName *string `type:"string"`

	// The version of the operating system used by the platform version.
	OperatingSystemVersion *string `type:"string"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The state of the platform version's branch in its lifecycle.
	//
	// Possible values: beta | supported | deprecated | retired
	PlatformBranchLifecycleState *string `type:"string"`

	// The platform branch to which the platform version belongs.
	PlatformBranchName *string `type:"string"`

	// The category of platform version.
	PlatformCategory *string `type:"string"`

	// The state of the platform version in its lifecycle.
	//
	// Possible values: recommended | empty
	//
	// If an empty value is returned, the platform version is supported but isn't
	// the recommended one for its branch.
	PlatformLifecycleState *string `type:"string"`

	// The AWS account ID of the person who created the platform version.
	PlatformOwner *string `type:"string"`

	// The status of the platform version. You can create an environment from the
	// platform version once it is ready.
	PlatformStatus PlatformStatus `type:"string" enum:"true"`

	// The version string of the platform version.
	PlatformVersion *string `type:"string"`

	// The additions associated with the platform version.
	SupportedAddonList []string `type:"list"`

	// The tiers in which the platform version runs.
	SupportedTierList []string `type:"list"`
	// contains filtered or unexported fields
}

Summary information about a platform version.

func (PlatformSummary) String

func (s PlatformSummary) String() string

String returns the string representation

type Queue

type Queue struct {

	// The name of the queue.
	Name *string `type:"string"`

	// The URL of the queue.
	URL *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a queue.

func (Queue) String

func (s Queue) String() string

String returns the string representation

type RebuildEnvironmentInput

type RebuildEnvironmentInput struct {

	// The ID of the environment to rebuild.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment to rebuild.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

func (RebuildEnvironmentInput) String

func (s RebuildEnvironmentInput) String() string

String returns the string representation

func (*RebuildEnvironmentInput) Validate

func (s *RebuildEnvironmentInput) Validate() error

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

type RebuildEnvironmentOutput

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

func (RebuildEnvironmentOutput) String

func (s RebuildEnvironmentOutput) String() string

String returns the string representation

type RebuildEnvironmentRequest

type RebuildEnvironmentRequest struct {
	*aws.Request
	Input *RebuildEnvironmentInput
	Copy  func(*RebuildEnvironmentInput) RebuildEnvironmentRequest
}

RebuildEnvironmentRequest is the request type for the RebuildEnvironment API operation.

func (RebuildEnvironmentRequest) Send

Send marshals and sends the RebuildEnvironment API request.

type RebuildEnvironmentResponse added in v0.9.0

type RebuildEnvironmentResponse struct {
	*RebuildEnvironmentOutput
	// contains filtered or unexported fields
}

RebuildEnvironmentResponse is the response type for the RebuildEnvironment API operation.

func (*RebuildEnvironmentResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RebuildEnvironment request.

type RequestEnvironmentInfoInput

type RequestEnvironmentInfoInput struct {

	// The ID of the environment of the requested data.
	//
	// If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
	// error.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment of the requested data.
	//
	// If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
	// error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

	// The type of information to request.
	//
	// InfoType is a required field
	InfoType EnvironmentInfoType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.

func (RequestEnvironmentInfoInput) String

String returns the string representation

func (*RequestEnvironmentInfoInput) Validate

func (s *RequestEnvironmentInfoInput) Validate() error

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

type RequestEnvironmentInfoOutput

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

func (RequestEnvironmentInfoOutput) String

String returns the string representation

type RequestEnvironmentInfoRequest

type RequestEnvironmentInfoRequest struct {
	*aws.Request
	Input *RequestEnvironmentInfoInput
	Copy  func(*RequestEnvironmentInfoInput) RequestEnvironmentInfoRequest
}

RequestEnvironmentInfoRequest is the request type for the RequestEnvironmentInfo API operation.

func (RequestEnvironmentInfoRequest) Send

Send marshals and sends the RequestEnvironmentInfo API request.

type RequestEnvironmentInfoResponse added in v0.9.0

type RequestEnvironmentInfoResponse struct {
	*RequestEnvironmentInfoOutput
	// contains filtered or unexported fields
}

RequestEnvironmentInfoResponse is the response type for the RequestEnvironmentInfo API operation.

func (*RequestEnvironmentInfoResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RequestEnvironmentInfo request.

type ResourceQuota added in v0.4.0

type ResourceQuota struct {

	// The maximum number of instances of this Elastic Beanstalk resource type that
	// an AWS account can use.
	Maximum *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The AWS Elastic Beanstalk quota information for a single resource type in an AWS account. It reflects the resource's limits for this account.

func (ResourceQuota) String added in v0.4.0

func (s ResourceQuota) String() string

String returns the string representation

type ResourceQuotas added in v0.4.0

type ResourceQuotas struct {

	// The quota for applications in the AWS account.
	ApplicationQuota *ResourceQuota `type:"structure"`

	// The quota for application versions in the AWS account.
	ApplicationVersionQuota *ResourceQuota `type:"structure"`

	// The quota for configuration templates in the AWS account.
	ConfigurationTemplateQuota *ResourceQuota `type:"structure"`

	// The quota for custom platforms in the AWS account.
	CustomPlatformQuota *ResourceQuota `type:"structure"`

	// The quota for environments in the AWS account.
	EnvironmentQuota *ResourceQuota `type:"structure"`
	// contains filtered or unexported fields
}

A set of per-resource AWS Elastic Beanstalk quotas associated with an AWS account. They reflect Elastic Beanstalk resource limits for this account.

func (ResourceQuotas) String added in v0.4.0

func (s ResourceQuotas) String() string

String returns the string representation

type RestartAppServerInput

type RestartAppServerInput struct {

	// The ID of the environment to restart the server for.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment to restart the server for.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

func (RestartAppServerInput) String

func (s RestartAppServerInput) String() string

String returns the string representation

func (*RestartAppServerInput) Validate

func (s *RestartAppServerInput) Validate() error

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

type RestartAppServerOutput

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

func (RestartAppServerOutput) String

func (s RestartAppServerOutput) String() string

String returns the string representation

type RestartAppServerRequest

type RestartAppServerRequest struct {
	*aws.Request
	Input *RestartAppServerInput
	Copy  func(*RestartAppServerInput) RestartAppServerRequest
}

RestartAppServerRequest is the request type for the RestartAppServer API operation.

func (RestartAppServerRequest) Send

Send marshals and sends the RestartAppServer API request.

type RestartAppServerResponse added in v0.9.0

type RestartAppServerResponse struct {
	*RestartAppServerOutput
	// contains filtered or unexported fields
}

RestartAppServerResponse is the response type for the RestartAppServer API operation.

func (*RestartAppServerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RestartAppServer request.

type RetrieveEnvironmentInfoInput

type RetrieveEnvironmentInfoInput struct {

	// The ID of the data's environment.
	//
	// If no such environment is found, returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the data's environment.
	//
	// If no such environment is found, returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

	// The type of information to retrieve.
	//
	// InfoType is a required field
	InfoType EnvironmentInfoType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Request to download logs retrieved with RequestEnvironmentInfo.

func (RetrieveEnvironmentInfoInput) String

String returns the string representation

func (*RetrieveEnvironmentInfoInput) Validate

func (s *RetrieveEnvironmentInfoInput) Validate() error

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

type RetrieveEnvironmentInfoOutput

type RetrieveEnvironmentInfoOutput struct {

	// The EnvironmentInfoDescription of the environment.
	EnvironmentInfo []EnvironmentInfoDescription `type:"list"`
	// contains filtered or unexported fields
}

Result message containing a description of the requested environment info.

func (RetrieveEnvironmentInfoOutput) String

String returns the string representation

type RetrieveEnvironmentInfoRequest

type RetrieveEnvironmentInfoRequest struct {
	*aws.Request
	Input *RetrieveEnvironmentInfoInput
	Copy  func(*RetrieveEnvironmentInfoInput) RetrieveEnvironmentInfoRequest
}

RetrieveEnvironmentInfoRequest is the request type for the RetrieveEnvironmentInfo API operation.

func (RetrieveEnvironmentInfoRequest) Send

Send marshals and sends the RetrieveEnvironmentInfo API request.

type RetrieveEnvironmentInfoResponse added in v0.9.0

type RetrieveEnvironmentInfoResponse struct {
	*RetrieveEnvironmentInfoOutput
	// contains filtered or unexported fields
}

RetrieveEnvironmentInfoResponse is the response type for the RetrieveEnvironmentInfo API operation.

func (*RetrieveEnvironmentInfoResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RetrieveEnvironmentInfo request.

type S3Location

type S3Location struct {

	// The Amazon S3 bucket where the data is located.
	S3Bucket *string `type:"string"`

	// The Amazon S3 key where the data is located.
	S3Key *string `type:"string"`
	// contains filtered or unexported fields
}

The bucket and key of an item stored in Amazon S3.

func (S3Location) String

func (s S3Location) String() string

String returns the string representation

type SearchFilter added in v0.21.0

type SearchFilter struct {

	// The result attribute to which the filter values are applied. Valid values
	// vary by API action.
	Attribute *string `type:"string"`

	// The operator to apply to the Attribute with each of the Values. Valid values
	// vary by Attribute.
	Operator *string `type:"string"`

	// The list of values applied to the Attribute and Operator attributes. Number
	// of values and valid values vary by Attribute.
	Values []string `type:"list"`
	// contains filtered or unexported fields
}

Describes criteria to restrict a list of results.

For operators that apply a single value to the attribute, the filter is evaluated as follows: Attribute Operator Values[1]

Some operators, e.g. in, can apply multiple values. In this case, the filter is evaluated as a logical union (OR) of applications of the operator to the attribute with each one of the values: (Attribute Operator Values[1]) OR (Attribute Operator Values[2]) OR ...

The valid values for attributes of SearchFilter depend on the API action. For valid values, see the reference page for the API action you're calling that takes a SearchFilter parameter.

func (SearchFilter) String added in v0.21.0

func (s SearchFilter) String() string

String returns the string representation

type SingleInstanceHealth

type SingleInstanceHealth struct {

	// Request metrics from your application.
	ApplicationMetrics *ApplicationMetrics `type:"structure"`

	// The availability zone in which the instance runs.
	AvailabilityZone *string `type:"string"`

	// Represents the causes, which provide more information about the current health
	// status.
	Causes []string `type:"list"`

	// Represents the color indicator that gives you information about the health
	// of the EC2 instance. For more information, see Health Colors and Statuses
	// (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	Color *string `type:"string"`

	// Information about the most recent deployment to an instance.
	Deployment *Deployment `type:"structure"`

	// Returns the health status of the specified instance. For more information,
	// see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus *string `type:"string"`

	// The ID of the Amazon EC2 instance.
	InstanceId *string `min:"1" type:"string"`

	// The instance's type.
	InstanceType *string `type:"string"`

	// The time at which the EC2 instance was launched.
	LaunchedAt *time.Time `type:"timestamp"`

	// Operating system metrics from the instance.
	System *SystemStatus `type:"structure"`
	// contains filtered or unexported fields
}

Detailed health information about an Amazon EC2 instance in your Elastic Beanstalk environment.

func (SingleInstanceHealth) String

func (s SingleInstanceHealth) String() string

String returns the string representation

type SolutionStackDescription

type SolutionStackDescription struct {

	// The permitted file types allowed for a solution stack.
	PermittedFileTypes []string `type:"list"`

	// The name of the solution stack.
	SolutionStackName *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the solution stack.

func (SolutionStackDescription) String

func (s SolutionStackDescription) String() string

String returns the string representation

type SourceBuildInformation

type SourceBuildInformation struct {

	// The location of the source code, as a formatted string, depending on the
	// value of SourceRepository
	//
	//    * For CodeCommit, the format is the repository name and commit ID, separated
	//    by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
	//
	//    * For S3, the format is the S3 bucket name and object key, separated by
	//    a forward slash. For example, my-s3-bucket/Folders/my-source-file.
	//
	// SourceLocation is a required field
	SourceLocation *string `min:"3" type:"string" required:"true"`

	// Location where the repository is stored.
	//
	//    * CodeCommit
	//
	//    * S3
	//
	// SourceRepository is a required field
	SourceRepository SourceRepository `type:"string" required:"true" enum:"true"`

	// The type of repository.
	//
	//    * Git
	//
	//    * Zip
	//
	// SourceType is a required field
	SourceType SourceType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Location of the source code for an application version.

func (SourceBuildInformation) String

func (s SourceBuildInformation) String() string

String returns the string representation

func (*SourceBuildInformation) Validate

func (s *SourceBuildInformation) Validate() error

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

type SourceConfiguration

type SourceConfiguration struct {

	// The name of the application associated with the configuration.
	ApplicationName *string `min:"1" type:"string"`

	// The name of the configuration template.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A specification for an environment configuration.

func (SourceConfiguration) String

func (s SourceConfiguration) String() string

String returns the string representation

func (*SourceConfiguration) Validate

func (s *SourceConfiguration) Validate() error

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

type SourceRepository

type SourceRepository string
const (
	SourceRepositoryCodeCommit SourceRepository = "CodeCommit"
	SourceRepositoryS3         SourceRepository = "S3"
)

Enum values for SourceRepository

func (SourceRepository) MarshalValue added in v0.3.0

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

func (SourceRepository) MarshalValueBuf added in v0.3.0

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

type SourceType

type SourceType string
const (
	SourceTypeGit SourceType = "Git"
	SourceTypeZip SourceType = "Zip"
)

Enum values for SourceType

func (SourceType) MarshalValue added in v0.3.0

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

func (SourceType) MarshalValueBuf added in v0.3.0

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

type StatusCodes

type StatusCodes struct {

	// The percentage of requests over the last 10 seconds that resulted in a 2xx
	// (200, 201, etc.) status code.
	Status2xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 3xx
	// (300, 301, etc.) status code.
	Status3xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 4xx
	// (400, 401, etc.) status code.
	Status4xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 5xx
	// (500, 501, etc.) status code.
	Status5xx *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).

func (StatusCodes) String

func (s StatusCodes) String() string

String returns the string representation

type SwapEnvironmentCNAMEsInput

type SwapEnvironmentCNAMEsInput struct {

	// The ID of the destination environment.
	//
	// Condition: You must specify at least the DestinationEnvironmentID or the
	// DestinationEnvironmentName. You may also specify both. You must specify the
	// SourceEnvironmentId with the DestinationEnvironmentId.
	DestinationEnvironmentId *string `type:"string"`

	// The name of the destination environment.
	//
	// Condition: You must specify at least the DestinationEnvironmentID or the
	// DestinationEnvironmentName. You may also specify both. You must specify the
	// SourceEnvironmentName with the DestinationEnvironmentName.
	DestinationEnvironmentName *string `min:"4" type:"string"`

	// The ID of the source environment.
	//
	// Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
	// You may also specify both. If you specify the SourceEnvironmentId, you must
	// specify the DestinationEnvironmentId.
	SourceEnvironmentId *string `type:"string"`

	// The name of the source environment.
	//
	// Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
	// You may also specify both. If you specify the SourceEnvironmentName, you
	// must specify the DestinationEnvironmentName.
	SourceEnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

Swaps the CNAMEs of two environments.

func (SwapEnvironmentCNAMEsInput) String

String returns the string representation

func (*SwapEnvironmentCNAMEsInput) Validate

func (s *SwapEnvironmentCNAMEsInput) Validate() error

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

type SwapEnvironmentCNAMEsOutput

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

func (SwapEnvironmentCNAMEsOutput) String

String returns the string representation

type SwapEnvironmentCNAMEsRequest

type SwapEnvironmentCNAMEsRequest struct {
	*aws.Request
	Input *SwapEnvironmentCNAMEsInput
	Copy  func(*SwapEnvironmentCNAMEsInput) SwapEnvironmentCNAMEsRequest
}

SwapEnvironmentCNAMEsRequest is the request type for the SwapEnvironmentCNAMEs API operation.

func (SwapEnvironmentCNAMEsRequest) Send

Send marshals and sends the SwapEnvironmentCNAMEs API request.

type SwapEnvironmentCNAMEsResponse added in v0.9.0

type SwapEnvironmentCNAMEsResponse struct {
	*SwapEnvironmentCNAMEsOutput
	// contains filtered or unexported fields
}

SwapEnvironmentCNAMEsResponse is the response type for the SwapEnvironmentCNAMEs API operation.

func (*SwapEnvironmentCNAMEsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the SwapEnvironmentCNAMEs request.

type SystemStatus

type SystemStatus struct {

	// CPU utilization metrics for the instance.
	CPUUtilization *CPUUtilization `type:"structure"`

	// Load average in the last 1-minute, 5-minute, and 15-minute periods. For more
	// information, see Operating System Metrics (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-metrics.html#health-enhanced-metrics-os).
	LoadAverage []float64 `type:"list"`
	// contains filtered or unexported fields
}

CPU utilization and load average metrics for an Amazon EC2 instance.

func (SystemStatus) String

func (s SystemStatus) String() string

String returns the string representation

type Tag

type Tag struct {

	// The key of the tag.
	Key *string `min:"1" type:"string"`

	// The value of the tag.
	Value *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a tag applied to a resource in an environment.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TerminateEnvironmentInput

type TerminateEnvironmentInput struct {

	// The ID of the environment to terminate.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment to terminate.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

	// Terminates the target environment even if another environment in the same
	// group is dependent on it.
	ForceTerminate *bool `type:"boolean"`

	// Indicates whether the associated AWS resources should shut down when the
	// environment is terminated:
	//
	//    * true: The specified environment as well as the associated AWS resources,
	//    such as Auto Scaling group and LoadBalancer, are terminated.
	//
	//    * false: AWS Elastic Beanstalk resource management is removed from the
	//    environment, but the AWS resources continue to operate.
	//
	// For more information, see the AWS Elastic Beanstalk User Guide. (https://docs.aws.amazon.com/elasticbeanstalk/latest/ug/)
	//
	// Default: true
	//
	// Valid Values: true | false
	TerminateResources *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Request to terminate an environment.

func (TerminateEnvironmentInput) String

func (s TerminateEnvironmentInput) String() string

String returns the string representation

func (*TerminateEnvironmentInput) Validate

func (s *TerminateEnvironmentInput) Validate() error

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

type TerminateEnvironmentOutput added in v0.9.0

type TerminateEnvironmentOutput struct {

	// Indicates if there is an in-progress environment configuration update or
	// application version deployment that you can cancel.
	//
	// true: There is an update in progress.
	//
	// false: There are no updates currently in progress.
	AbortableOperationInProgress *bool `type:"boolean"`

	// The name of the application associated with this environment.
	ApplicationName *string `min:"1" type:"string"`

	// The URL to the CNAME for this environment.
	CNAME *string `min:"1" type:"string"`

	// The creation date for this environment.
	DateCreated *time.Time `type:"timestamp"`

	// The last modified date for this environment.
	DateUpdated *time.Time `type:"timestamp"`

	// Describes this environment.
	Description *string `type:"string"`

	// For load-balanced, autoscaling environments, the URL to the LoadBalancer.
	// For single-instance environments, the IP address of the instance.
	EndpointURL *string `type:"string"`

	// The environment's Amazon Resource Name (ARN), which can be used in other
	// API requests that require an ARN.
	EnvironmentArn *string `type:"string"`

	// The ID of this environment.
	EnvironmentId *string `type:"string"`

	// A list of links to other environments in the same group.
	EnvironmentLinks []EnvironmentLink `type:"list"`

	// The name of this environment.
	EnvironmentName *string `min:"4" type:"string"`

	// Describes the health status of the environment. AWS Elastic Beanstalk indicates
	// the failure levels for a running environment:
	//
	//    * Red: Indicates the environment is not responsive. Occurs when three
	//    or more consecutive failures occur for an environment.
	//
	//    * Yellow: Indicates that something is wrong. Occurs when two consecutive
	//    failures occur for an environment.
	//
	//    * Green: Indicates the environment is healthy and fully functional.
	//
	//    * Grey: Default health for a new environment. The environment is not fully
	//    launched and health checks have not started or health checks are suspended
	//    during an UpdateEnvironment or RestartEnvironment request.
	//
	// Default: Grey
	Health EnvironmentHealth `type:"string" enum:"true"`

	// Returns the health status of the application running in your environment.
	// For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus EnvironmentHealthStatus `type:"string" enum:"true"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The description of the AWS resources used by this environment.
	Resources *EnvironmentResourcesDescription `type:"structure"`

	// The name of the SolutionStack deployed with this environment.
	SolutionStackName *string `type:"string"`

	// The current operational status of the environment:
	//
	//    * Launching: Environment is in the process of initial deployment.
	//
	//    * Updating: Environment is in the process of updating its configuration
	//    settings or application version.
	//
	//    * Ready: Environment is available to have an action performed on it, such
	//    as update or terminate.
	//
	//    * Terminating: Environment is in the shut-down process.
	//
	//    * Terminated: Environment is not running.
	Status EnvironmentStatus `type:"string" enum:"true"`

	// The name of the configuration template used to originally launch this environment.
	TemplateName *string `min:"1" type:"string"`

	// Describes the current tier of this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The application version deployed in this environment.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment.

func (TerminateEnvironmentOutput) String added in v0.9.0

String returns the string representation

type TerminateEnvironmentRequest

type TerminateEnvironmentRequest struct {
	*aws.Request
	Input *TerminateEnvironmentInput
	Copy  func(*TerminateEnvironmentInput) TerminateEnvironmentRequest
}

TerminateEnvironmentRequest is the request type for the TerminateEnvironment API operation.

func (TerminateEnvironmentRequest) Send

Send marshals and sends the TerminateEnvironment API request.

type TerminateEnvironmentResponse added in v0.9.0

type TerminateEnvironmentResponse struct {
	*TerminateEnvironmentOutput
	// contains filtered or unexported fields
}

TerminateEnvironmentResponse is the response type for the TerminateEnvironment API operation.

func (*TerminateEnvironmentResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the TerminateEnvironment request.

type Trigger

type Trigger struct {

	// The name of the trigger.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a trigger.

func (Trigger) String

func (s Trigger) String() string

String returns the string representation

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The name of the application to update. If no such application is found, UpdateApplication
	// returns an InvalidParameterValue error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// A new description for the application.
	//
	// Default: If not specified, AWS Elastic Beanstalk does not update the description.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

Request to update an application.

func (UpdateApplicationInput) String

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput

type UpdateApplicationOutput struct {

	// The ApplicationDescription of the application.
	Application *ApplicationDescription `type:"structure"`
	// contains filtered or unexported fields
}

Result message containing a single description of an application.

func (UpdateApplicationOutput) String

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	*aws.Request
	Input *UpdateApplicationInput
	Copy  func(*UpdateApplicationInput) UpdateApplicationRequest
}

UpdateApplicationRequest is the request type for the UpdateApplication API operation.

func (UpdateApplicationRequest) Send

Send marshals and sends the UpdateApplication API request.

type UpdateApplicationResourceLifecycleInput

type UpdateApplicationResourceLifecycleInput struct {

	// The name of the application.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The lifecycle configuration.
	//
	// ResourceLifecycleConfig is a required field
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApplicationResourceLifecycleInput) String

String returns the string representation

func (*UpdateApplicationResourceLifecycleInput) Validate

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

type UpdateApplicationResourceLifecycleOutput

type UpdateApplicationResourceLifecycleOutput struct {

	// The name of the application.
	ApplicationName *string `min:"1" type:"string"`

	// The lifecycle configuration.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateApplicationResourceLifecycleOutput) String

String returns the string representation

type UpdateApplicationResourceLifecycleRequest

UpdateApplicationResourceLifecycleRequest is the request type for the UpdateApplicationResourceLifecycle API operation.

func (UpdateApplicationResourceLifecycleRequest) Send

Send marshals and sends the UpdateApplicationResourceLifecycle API request.

type UpdateApplicationResourceLifecycleResponse added in v0.9.0

type UpdateApplicationResourceLifecycleResponse struct {
	*UpdateApplicationResourceLifecycleOutput
	// contains filtered or unexported fields
}

UpdateApplicationResourceLifecycleResponse is the response type for the UpdateApplicationResourceLifecycle API operation.

func (*UpdateApplicationResourceLifecycleResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateApplicationResourceLifecycle request.

type UpdateApplicationResponse added in v0.9.0

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

UpdateApplicationResponse is the response type for the UpdateApplication API operation.

func (*UpdateApplicationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateApplication request.

type UpdateApplicationVersionInput

type UpdateApplicationVersionInput struct {

	// The name of the application associated with this version.
	//
	// If no application is found with this name, UpdateApplication returns an InvalidParameterValue
	// error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// A new description for this version.
	Description *string `type:"string"`

	// The name of the version to update.
	//
	// If no application version is found with this label, UpdateApplication returns
	// an InvalidParameterValue error.
	//
	// VersionLabel is a required field
	VersionLabel *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApplicationVersionInput) String

String returns the string representation

func (*UpdateApplicationVersionInput) Validate

func (s *UpdateApplicationVersionInput) Validate() error

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

type UpdateApplicationVersionOutput

type UpdateApplicationVersionOutput struct {

	// The ApplicationVersionDescription of the application version.
	ApplicationVersion *ApplicationVersionDescription `type:"structure"`
	// contains filtered or unexported fields
}

Result message wrapping a single description of an application version.

func (UpdateApplicationVersionOutput) String

String returns the string representation

type UpdateApplicationVersionRequest

type UpdateApplicationVersionRequest struct {
	*aws.Request
	Input *UpdateApplicationVersionInput
	Copy  func(*UpdateApplicationVersionInput) UpdateApplicationVersionRequest
}

UpdateApplicationVersionRequest is the request type for the UpdateApplicationVersion API operation.

func (UpdateApplicationVersionRequest) Send

Send marshals and sends the UpdateApplicationVersion API request.

type UpdateApplicationVersionResponse added in v0.9.0

type UpdateApplicationVersionResponse struct {
	*UpdateApplicationVersionOutput
	// contains filtered or unexported fields
}

UpdateApplicationVersionResponse is the response type for the UpdateApplicationVersion API operation.

func (*UpdateApplicationVersionResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateApplicationVersion request.

type UpdateConfigurationTemplateInput

type UpdateConfigurationTemplateInput struct {

	// The name of the application associated with the configuration template to
	// update.
	//
	// If no application is found with this name, UpdateConfigurationTemplate returns
	// an InvalidParameterValue error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// A new description for the configuration.
	Description *string `type:"string"`

	// A list of configuration option settings to update with the new specified
	// option value.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// A list of configuration options to remove from the configuration set.
	//
	// Constraint: You can remove only UserDefined configuration options.
	OptionsToRemove []OptionSpecification `type:"list"`

	// The name of the configuration template to update.
	//
	// If no configuration template is found with this name, UpdateConfigurationTemplate
	// returns an InvalidParameterValue error.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The result message containing the options for the specified solution stack.

func (UpdateConfigurationTemplateInput) String

String returns the string representation

func (*UpdateConfigurationTemplateInput) Validate

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

type UpdateConfigurationTemplateOutput

type UpdateConfigurationTemplateOutput struct {

	// The name of the application associated with this configuration set.
	ApplicationName *string `min:"1" type:"string"`

	// The date (in UTC time) when this configuration set was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date (in UTC time) when this configuration set was last modified.
	DateUpdated *time.Time `type:"timestamp"`

	// If this configuration set is associated with an environment, the DeploymentStatus
	// parameter indicates the deployment status of this configuration set:
	//
	//    * null: This configuration is not associated with a running environment.
	//
	//    * pending: This is a draft configuration that is not deployed to the associated
	//    environment but is in the process of deploying.
	//
	//    * deployed: This is the configuration that is currently deployed to the
	//    associated running environment.
	//
	//    * failed: This is a draft configuration that failed to successfully deploy.
	DeploymentStatus ConfigurationDeploymentStatus `type:"string" enum:"true"`

	// Describes this configuration set.
	Description *string `type:"string"`

	// If not null, the name of the environment for this configuration set.
	EnvironmentName *string `min:"4" type:"string"`

	// A list of the configuration options and their values in this configuration
	// set.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The name of the solution stack this configuration set uses.
	SolutionStackName *string `type:"string"`

	// If not null, the name of the configuration template for this configuration
	// set.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the settings for a configuration set.

func (UpdateConfigurationTemplateOutput) String

String returns the string representation

type UpdateConfigurationTemplateRequest

type UpdateConfigurationTemplateRequest struct {
	*aws.Request
	Input *UpdateConfigurationTemplateInput
	Copy  func(*UpdateConfigurationTemplateInput) UpdateConfigurationTemplateRequest
}

UpdateConfigurationTemplateRequest is the request type for the UpdateConfigurationTemplate API operation.

func (UpdateConfigurationTemplateRequest) Send

Send marshals and sends the UpdateConfigurationTemplate API request.

type UpdateConfigurationTemplateResponse added in v0.9.0

type UpdateConfigurationTemplateResponse struct {
	*UpdateConfigurationTemplateOutput
	// contains filtered or unexported fields
}

UpdateConfigurationTemplateResponse is the response type for the UpdateConfigurationTemplate API operation.

func (*UpdateConfigurationTemplateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateConfigurationTemplate request.

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {

	// The name of the application with which the environment is associated.
	ApplicationName *string `min:"1" type:"string"`

	// If this parameter is specified, AWS Elastic Beanstalk updates the description
	// of this environment.
	Description *string `type:"string"`

	// The ID of the environment to update.
	//
	// If no environment with this ID exists, AWS Elastic Beanstalk returns an InvalidParameterValue
	// error.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment to update. If no environment with this name exists,
	// AWS Elastic Beanstalk returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

	// The name of the group to which the target environment belongs. Specify a
	// group name only if the environment's name is specified in an environment
	// manifest and not with the environment name or environment ID parameters.
	// See Environment Manifest (env.yaml) (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html)
	// for details.
	GroupName *string `min:"1" type:"string"`

	// If specified, AWS Elastic Beanstalk updates the configuration set associated
	// with the running environment and sets the specified configuration options
	// to the requested value.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// A list of custom user-defined configuration options to remove from the configuration
	// set for this environment.
	OptionsToRemove []OptionSpecification `type:"list"`

	// The ARN of the platform, if used.
	PlatformArn *string `type:"string"`

	// This specifies the platform version that the environment will run after the
	// environment is updated.
	SolutionStackName *string `type:"string"`

	// If this parameter is specified, AWS Elastic Beanstalk deploys this configuration
	// template to the environment. If no such configuration template is found,
	// AWS Elastic Beanstalk returns an InvalidParameterValue error.
	TemplateName *string `min:"1" type:"string"`

	// This specifies the tier to use to update the environment.
	//
	// Condition: At this time, if you change the tier version, name, or type, AWS
	// Elastic Beanstalk returns InvalidParameterValue error.
	Tier *EnvironmentTier `type:"structure"`

	// If this parameter is specified, AWS Elastic Beanstalk deploys the named application
	// version to the environment. If no such application version is found, returns
	// an InvalidParameterValue error.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Request to update an environment.

func (UpdateEnvironmentInput) String

func (s UpdateEnvironmentInput) String() string

String returns the string representation

func (*UpdateEnvironmentInput) Validate

func (s *UpdateEnvironmentInput) Validate() error

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

type UpdateEnvironmentOutput

type UpdateEnvironmentOutput struct {

	// Indicates if there is an in-progress environment configuration update or
	// application version deployment that you can cancel.
	//
	// true: There is an update in progress.
	//
	// false: There are no updates currently in progress.
	AbortableOperationInProgress *bool `type:"boolean"`

	// The name of the application associated with this environment.
	ApplicationName *string `min:"1" type:"string"`

	// The URL to the CNAME for this environment.
	CNAME *string `min:"1" type:"string"`

	// The creation date for this environment.
	DateCreated *time.Time `type:"timestamp"`

	// The last modified date for this environment.
	DateUpdated *time.Time `type:"timestamp"`

	// Describes this environment.
	Description *string `type:"string"`

	// For load-balanced, autoscaling environments, the URL to the LoadBalancer.
	// For single-instance environments, the IP address of the instance.
	EndpointURL *string `type:"string"`

	// The environment's Amazon Resource Name (ARN), which can be used in other
	// API requests that require an ARN.
	EnvironmentArn *string `type:"string"`

	// The ID of this environment.
	EnvironmentId *string `type:"string"`

	// A list of links to other environments in the same group.
	EnvironmentLinks []EnvironmentLink `type:"list"`

	// The name of this environment.
	EnvironmentName *string `min:"4" type:"string"`

	// Describes the health status of the environment. AWS Elastic Beanstalk indicates
	// the failure levels for a running environment:
	//
	//    * Red: Indicates the environment is not responsive. Occurs when three
	//    or more consecutive failures occur for an environment.
	//
	//    * Yellow: Indicates that something is wrong. Occurs when two consecutive
	//    failures occur for an environment.
	//
	//    * Green: Indicates the environment is healthy and fully functional.
	//
	//    * Grey: Default health for a new environment. The environment is not fully
	//    launched and health checks have not started or health checks are suspended
	//    during an UpdateEnvironment or RestartEnvironment request.
	//
	// Default: Grey
	Health EnvironmentHealth `type:"string" enum:"true"`

	// Returns the health status of the application running in your environment.
	// For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus EnvironmentHealthStatus `type:"string" enum:"true"`

	// The ARN of the platform version.
	PlatformArn *string `type:"string"`

	// The description of the AWS resources used by this environment.
	Resources *EnvironmentResourcesDescription `type:"structure"`

	// The name of the SolutionStack deployed with this environment.
	SolutionStackName *string `type:"string"`

	// The current operational status of the environment:
	//
	//    * Launching: Environment is in the process of initial deployment.
	//
	//    * Updating: Environment is in the process of updating its configuration
	//    settings or application version.
	//
	//    * Ready: Environment is available to have an action performed on it, such
	//    as update or terminate.
	//
	//    * Terminating: Environment is in the shut-down process.
	//
	//    * Terminated: Environment is not running.
	Status EnvironmentStatus `type:"string" enum:"true"`

	// The name of the configuration template used to originally launch this environment.
	TemplateName *string `min:"1" type:"string"`

	// Describes the current tier of this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The application version deployed in this environment.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment.

func (UpdateEnvironmentOutput) String

func (s UpdateEnvironmentOutput) String() string

String returns the string representation

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	*aws.Request
	Input *UpdateEnvironmentInput
	Copy  func(*UpdateEnvironmentInput) UpdateEnvironmentRequest
}

UpdateEnvironmentRequest is the request type for the UpdateEnvironment API operation.

func (UpdateEnvironmentRequest) Send

Send marshals and sends the UpdateEnvironment API request.

type UpdateEnvironmentResponse added in v0.9.0

type UpdateEnvironmentResponse struct {
	*UpdateEnvironmentOutput
	// contains filtered or unexported fields
}

UpdateEnvironmentResponse is the response type for the UpdateEnvironment API operation.

func (*UpdateEnvironmentResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateEnvironment request.

type UpdateTagsForResourceInput added in v0.2.0

type UpdateTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resouce to be updated.
	//
	// Must be the ARN of an Elastic Beanstalk resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// A list of tags to add or update.
	//
	// If a key of an existing tag is added, the tag's value is updated.
	TagsToAdd []Tag `type:"list"`

	// A list of tag keys to remove.
	//
	// If a tag key doesn't exist, it is silently ignored.
	TagsToRemove []string `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateTagsForResourceInput) String added in v0.2.0

String returns the string representation

func (*UpdateTagsForResourceInput) Validate added in v0.2.0

func (s *UpdateTagsForResourceInput) Validate() error

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

type UpdateTagsForResourceOutput added in v0.2.0

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

func (UpdateTagsForResourceOutput) String added in v0.2.0

String returns the string representation

type UpdateTagsForResourceRequest added in v0.2.0

type UpdateTagsForResourceRequest struct {
	*aws.Request
	Input *UpdateTagsForResourceInput
	Copy  func(*UpdateTagsForResourceInput) UpdateTagsForResourceRequest
}

UpdateTagsForResourceRequest is the request type for the UpdateTagsForResource API operation.

func (UpdateTagsForResourceRequest) Send added in v0.2.0

Send marshals and sends the UpdateTagsForResource API request.

type UpdateTagsForResourceResponse added in v0.9.0

type UpdateTagsForResourceResponse struct {
	*UpdateTagsForResourceOutput
	// contains filtered or unexported fields
}

UpdateTagsForResourceResponse is the response type for the UpdateTagsForResource API operation.

func (*UpdateTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateTagsForResource request.

type ValidateConfigurationSettingsInput

type ValidateConfigurationSettingsInput struct {

	// The name of the application that the configuration template or environment
	// belongs to.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The name of the environment to validate the settings against.
	//
	// Condition: You cannot specify both this and a configuration template name.
	EnvironmentName *string `min:"4" type:"string"`

	// A list of the options and desired values to evaluate.
	//
	// OptionSettings is a required field
	OptionSettings []ConfigurationOptionSetting `type:"list" required:"true"`

	// The name of the configuration template to validate the settings against.
	//
	// Condition: You cannot specify both this and an environment name.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A list of validation messages for a specified configuration template.

func (ValidateConfigurationSettingsInput) String

String returns the string representation

func (*ValidateConfigurationSettingsInput) Validate

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

type ValidateConfigurationSettingsOutput

type ValidateConfigurationSettingsOutput struct {

	// A list of ValidationMessage.
	Messages []ValidationMessage `type:"list"`
	// contains filtered or unexported fields
}

Provides a list of validation messages.

func (ValidateConfigurationSettingsOutput) String

String returns the string representation

type ValidateConfigurationSettingsRequest

type ValidateConfigurationSettingsRequest struct {
	*aws.Request
	Input *ValidateConfigurationSettingsInput
	Copy  func(*ValidateConfigurationSettingsInput) ValidateConfigurationSettingsRequest
}

ValidateConfigurationSettingsRequest is the request type for the ValidateConfigurationSettings API operation.

func (ValidateConfigurationSettingsRequest) Send

Send marshals and sends the ValidateConfigurationSettings API request.

type ValidateConfigurationSettingsResponse added in v0.9.0

type ValidateConfigurationSettingsResponse struct {
	*ValidateConfigurationSettingsOutput
	// contains filtered or unexported fields
}

ValidateConfigurationSettingsResponse is the response type for the ValidateConfigurationSettings API operation.

func (*ValidateConfigurationSettingsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ValidateConfigurationSettings request.

type ValidationMessage

type ValidationMessage struct {

	// A message describing the error or warning.
	Message *string `type:"string"`

	// The namespace to which the option belongs.
	Namespace *string `type:"string"`

	// The name of the option.
	OptionName *string `type:"string"`

	// An indication of the severity of this message:
	//
	//    * error: This message indicates that this is not a valid setting for an
	//    option.
	//
	//    * warning: This message is providing information you should take into
	//    account.
	Severity ValidationSeverity `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An error or warning for a desired configuration option value.

func (ValidationMessage) String

func (s ValidationMessage) String() string

String returns the string representation

type ValidationSeverity

type ValidationSeverity string
const (
	ValidationSeverityError   ValidationSeverity = "error"
	ValidationSeverityWarning ValidationSeverity = "warning"
)

Enum values for ValidationSeverity

func (ValidationSeverity) MarshalValue added in v0.3.0

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

func (ValidationSeverity) MarshalValueBuf added in v0.3.0

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

Source Files

Directories

Path Synopsis
Package elasticbeanstalkiface provides an interface to enable mocking the AWS Elastic Beanstalk service client for testing your code.
Package elasticbeanstalkiface provides an interface to enable mocking the AWS Elastic Beanstalk service client for testing your code.

Jump to

Keyboard shortcuts

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