elasticbeanstalk

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package elasticbeanstalk provides a client for AWS Elastic Beanstalk.

Index

Examples

Constants

View Source
const (
	// @enum ConfigurationDeploymentStatus
	ConfigurationDeploymentStatusDeployed = "deployed"
	// @enum ConfigurationDeploymentStatus
	ConfigurationDeploymentStatusPending = "pending"
	// @enum ConfigurationDeploymentStatus
	ConfigurationDeploymentStatusFailed = "failed"
)
View Source
const (
	// @enum ConfigurationOptionValueType
	ConfigurationOptionValueTypeScalar = "Scalar"
	// @enum ConfigurationOptionValueType
	ConfigurationOptionValueTypeList = "List"
)
View Source
const (
	// @enum EnvironmentHealth
	EnvironmentHealthGreen = "Green"
	// @enum EnvironmentHealth
	EnvironmentHealthYellow = "Yellow"
	// @enum EnvironmentHealth
	EnvironmentHealthRed = "Red"
	// @enum EnvironmentHealth
	EnvironmentHealthGrey = "Grey"
)
View Source
const (
	// @enum EnvironmentInfoType
	EnvironmentInfoTypeTail = "tail"
	// @enum EnvironmentInfoType
	EnvironmentInfoTypeBundle = "bundle"
)
View Source
const (
	// @enum EnvironmentStatus
	EnvironmentStatusLaunching = "Launching"
	// @enum EnvironmentStatus
	EnvironmentStatusUpdating = "Updating"
	// @enum EnvironmentStatus
	EnvironmentStatusReady = "Ready"
	// @enum EnvironmentStatus
	EnvironmentStatusTerminating = "Terminating"
	// @enum EnvironmentStatus
	EnvironmentStatusTerminated = "Terminated"
)
View Source
const (
	// @enum EventSeverity
	EventSeverityTrace = "TRACE"
	// @enum EventSeverity
	EventSeverityDebug = "DEBUG"
	// @enum EventSeverity
	EventSeverityInfo = "INFO"
	// @enum EventSeverity
	EventSeverityWarn = "WARN"
	// @enum EventSeverity
	EventSeverityError = "ERROR"
	// @enum EventSeverity
	EventSeverityFatal = "FATAL"
)
View Source
const (
	// @enum ValidationSeverity
	ValidationSeverityError = "error"
	// @enum ValidationSeverity
	ValidationSeverityWarning = "warning"
)

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 `locationName:"EnvironmentId" type:"string"`

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

func (AbortEnvironmentUpdateInput) GoString added in v0.6.5

func (s AbortEnvironmentUpdateInput) GoString() string

GoString returns the string representation

func (AbortEnvironmentUpdateInput) String added in v0.6.5

String returns the string representation

type AbortEnvironmentUpdateOutput

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

func (AbortEnvironmentUpdateOutput) GoString added in v0.6.5

func (s AbortEnvironmentUpdateOutput) GoString() string

GoString returns the string representation

func (AbortEnvironmentUpdateOutput) String added in v0.6.5

String returns the string representation

type ApplicationDescription

type ApplicationDescription struct {
	// The name of the application.
	ApplicationName *string `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" timestampFormat:"iso8601"`

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

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

	// 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) GoString added in v0.6.5

func (s ApplicationDescription) GoString() string

GoString returns the string representation

func (ApplicationDescription) String added in v0.6.5

func (s ApplicationDescription) String() string

String returns the string representation

type ApplicationDescriptionMessage

type ApplicationDescriptionMessage 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 (ApplicationDescriptionMessage) GoString added in v0.6.5

GoString returns the string representation

func (ApplicationDescriptionMessage) String added in v0.6.5

String returns the string representation

type ApplicationVersionDescription

type ApplicationVersionDescription struct {
	// The name of the application associated with this release.
	ApplicationName *string `type:"string"`

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

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

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

	// The location where the source bundle is located for this version.
	SourceBundle *S3Location `type:"structure"`

	// A label uniquely identifying the version for the associated application.
	VersionLabel *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an application version.

func (ApplicationVersionDescription) GoString added in v0.6.5

GoString returns the string representation

func (ApplicationVersionDescription) String added in v0.6.5

String returns the string representation

type ApplicationVersionDescriptionMessage

type ApplicationVersionDescriptionMessage 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 (ApplicationVersionDescriptionMessage) GoString added in v0.6.5

GoString returns the string representation

func (ApplicationVersionDescriptionMessage) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

func (s AutoScalingGroup) GoString() string

GoString returns the string representation

func (AutoScalingGroup) String added in v0.6.5

func (s AutoScalingGroup) String() string

String returns the string representation

type CheckDNSAvailabilityInput

type CheckDNSAvailabilityInput struct {
	// The prefix used when this CNAME is reserved.
	CNAMEPrefix *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Results message indicating whether a CNAME is available.

func (CheckDNSAvailabilityInput) GoString added in v0.6.5

func (s CheckDNSAvailabilityInput) GoString() string

GoString returns the string representation

func (CheckDNSAvailabilityInput) String added in v0.6.5

func (s CheckDNSAvailabilityInput) String() string

String returns the string representation

type CheckDNSAvailabilityOutput

type CheckDNSAvailabilityOutput struct {
	// Indicates if the specified CNAME is available:
	//
	//    true : The CNAME is available.
	//
	//    true : The CNAME is not 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 `type:"string"`
	// contains filtered or unexported fields
}

Indicates if the specified CNAME is available.

func (CheckDNSAvailabilityOutput) GoString added in v0.6.5

func (s CheckDNSAvailabilityOutput) GoString() string

GoString returns the string representation

func (CheckDNSAvailabilityOutput) String added in v0.6.5

String returns the string representation

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 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.
	//
	//     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 this as an Option to Remove when updating configuration
	// settings.
	//
	//    false : This configuration was not defined by the user.
	//
	//      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 a unformatted string or numeric value governed by the MIN/MAX/Regex
	// constraints:
	//
	//    List : Values for this option are multiple selections of the possible
	// values.
	//
	//    Boolean : Values for this option are either true or false .
	//
	//      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 .
	ValueType *string `type:"string" enum:"ConfigurationOptionValueType"`
	// contains filtered or unexported fields
}

Describes the possible values for a configuration option.

func (ConfigurationOptionDescription) GoString added in v0.6.5

GoString returns the string representation

func (ConfigurationOptionDescription) String added in v0.6.5

String returns the string representation

type ConfigurationOptionSetting

type ConfigurationOptionSetting 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 `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 option values, go to Option Values (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide.

func (ConfigurationOptionSetting) GoString added in v0.6.5

func (s ConfigurationOptionSetting) GoString() string

GoString returns the string representation

func (ConfigurationOptionSetting) String added in v0.6.5

String returns the string representation

type ConfigurationSettingsDescription

type ConfigurationSettingsDescription struct {
	// The name of the application associated with this configuration set.
	ApplicationName *string `type:"string"`

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

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

	// 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.
	//
	//     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 *string `type:"string" enum:"ConfigurationDeploymentStatus"`

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

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

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

	// 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 `type:"string"`
	// contains filtered or unexported fields
}

Describes the settings for a configuration set.

func (ConfigurationSettingsDescription) GoString added in v0.6.5

GoString returns the string representation

func (ConfigurationSettingsDescription) String added in v0.6.5

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {
	// The name of the application.
	//
	//  Constraint: This name must be unique within your account. If the specified
	// name already exists, the action returns an InvalidParameterValue error.
	ApplicationName *string `type:"string" required:"true"`

	// Describes the application.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (CreateApplicationInput) GoString added in v0.6.5

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (CreateApplicationInput) String added in v0.6.5

func (s CreateApplicationInput) String() string

String returns the string representation

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 *string `type:"string" required:"true"`

	// Determines how the system behaves if the specified application for this version
	// does not already exist:
	//
	//    true: Automatically creates the specified application for this version
	// if it does not already exist.
	//
	//    false: Returns an InvalidParameterValue if the specified application
	// for this version does not already exist.
	//
	//     true : Automatically creates the specified application for this release
	// if it does not already exist.   false : Throws an InvalidParameterValue if
	// the specified application for this release does not already exist.    Default:
	// false
	//
	//  Valid Values: true | false
	AutoCreateApplication *bool `type:"boolean"`

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

	// The Amazon S3 bucket and key that identify the location of the source bundle
	// for this version.
	//
	//  If data found at the Amazon S3 location exceeds the maximum allowed source
	// bundle size, AWS Elastic Beanstalk returns an InvalidParameterValue error.
	// The maximum size allowed is 512 MB.
	//
	// Default: If not specified, AWS Elastic Beanstalk uses a sample application.
	// If only partially specified (for example, a bucket is provided but not the
	// key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk
	// returns an InvalidParameterCombination error.
	SourceBundle *S3Location `type:"structure"`

	// 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 *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateApplicationVersionInput) GoString added in v0.6.5

GoString returns the string representation

func (CreateApplicationVersionInput) String added in v0.6.5

String returns the string representation

type CreateConfigurationTemplateInput

type CreateConfigurationTemplateInput struct {
	// The name of the application to associate with this configuration template.
	// If no application is found with this name, AWS Elastic Beanstalk returns
	// an InvalidParameterValue error.
	ApplicationName *string `type:"string" required:"true"`

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

	// The ID of the environment used with this configuration template.
	EnvironmentID *string `locationName:"EnvironmentId" type:"string"`

	// If specified, AWS Elastic Beanstalk sets the specified configuration option
	// to the requested value. The new value overrides the value obtained from the
	// solution stack or the source configuration template.
	OptionSettings []*ConfigurationOptionSetting `type:"list"`

	// The name of the solution stack used by this configuration. The solution stack
	// specifies the operating system, architecture, and application server for
	// a configuration template. It determines the set of configuration options
	// as well as the possible and default values.
	//
	//  Use ListAvailableSolutionStacks to obtain a list of available solution
	// stacks.
	//
	//  A solution stack name or a source configuration parameter must be specified,
	// otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error.
	//
	//  If a solution stack name is not specified and the source configuration
	// parameter is specified, AWS Elastic Beanstalk uses the same solution stack
	// as the source configuration template.
	SolutionStackName *string `type:"string"`

	// If specified, AWS Elastic Beanstalk uses the configuration values from the
	// specified configuration template to create a new configuration.
	//
	//  Values specified in the OptionSettings parameter of this call overrides
	// any values obtained from the SourceConfiguration.
	//
	//  If no configuration template is found, returns an InvalidParameterValue
	// error.
	//
	//  Constraint: If both the solution stack name parameter and the source configuration
	// parameters are specified, the solution stack of the source configuration
	// template must match the specified solution stack name or else AWS Elastic
	// Beanstalk returns an InvalidParameterCombination error.
	SourceConfiguration *SourceConfiguration `type:"structure"`

	// The name of the configuration template.
	//
	// Constraint: This name must be unique per application.
	//
	// Default: If a configuration template already exists with this name, AWS
	// Elastic Beanstalk returns an InvalidParameterValue error.
	TemplateName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (CreateConfigurationTemplateInput) GoString added in v0.6.5

GoString returns the string representation

func (CreateConfigurationTemplateInput) String added in v0.6.5

String returns the string representation

type CreateEnvironmentInput

type CreateEnvironmentInput struct {
	// The name of the application that contains the version to be deployed.
	//
	//  If no application is found with this name, CreateEnvironment returns an
	// InvalidParameterValue error.
	ApplicationName *string `type:"string" required:"true"`

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

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

	// A unique name for the deployment environment. Used in the application URL.
	//
	// Constraint: Must be from 4 to 23 characters in length. The name can contain
	// only letters, numbers, and hyphens. It cannot start or end with a hyphen.
	// This name must be unique in your account. If the specified name already exists,
	// AWS Elastic Beanstalk returns an InvalidParameterValue error.
	//
	// Default: If the CNAME parameter is not specified, the environment name becomes
	// part of the CNAME, and therefore part of the visible URL for your application.
	EnvironmentName *string `type:"string" required:"true"`

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

	// This is an alternative to specifying a configuration name. If specified,
	// AWS Elastic Beanstalk sets the configuration values to the default values
	// associated with the specified solution stack.
	//
	//  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 a MissingRequiredParameter
	// error.
	SolutionStackName *string `type:"string"`

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

	// The name of the configuration template to use in deployment. If no configuration
	// template is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue
	// error.
	//
	//  Condition: You must specify either this parameter or a SolutionStackName,
	// 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 `type:"string"`

	// This specifies the tier to use for creating this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The name of the application version to deploy.
	//
	//  If the specified application has no associated application versions, AWS
	// Elastic Beanstalk UpdateEnvironment returns an InvalidParameterValue error.
	//
	//  Default: If not specified, AWS Elastic Beanstalk attempts to launch the
	// sample application in the container.
	VersionLabel *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentInput) GoString added in v0.6.5

func (s CreateEnvironmentInput) GoString() string

GoString returns the string representation

func (CreateEnvironmentInput) String added in v0.6.5

func (s CreateEnvironmentInput) String() string

String returns the string representation

type CreateStorageLocationInput

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

func (CreateStorageLocationInput) GoString added in v0.6.5

func (s CreateStorageLocationInput) GoString() string

GoString returns the string representation

func (CreateStorageLocationInput) String added in v0.6.5

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) GoString added in v0.6.5

func (s CreateStorageLocationOutput) GoString() string

GoString returns the string representation

func (CreateStorageLocationOutput) String added in v0.6.5

String returns the string representation

type DeleteApplicationInput

type DeleteApplicationInput struct {
	// The name of the application to delete.
	ApplicationName *string `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
}

This documentation target is not reported in the API reference.

func (DeleteApplicationInput) GoString added in v0.6.5

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (DeleteApplicationInput) String added in v0.6.5

func (s DeleteApplicationInput) String() string

String returns the string representation

type DeleteApplicationOutput

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

func (DeleteApplicationOutput) GoString added in v0.6.5

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) String added in v0.6.5

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationVersionInput

type DeleteApplicationVersionInput struct {
	// The name of the application to delete releases from.
	ApplicationName *string `type:"string" required:"true"`

	// Indicates whether to delete the associated source bundle from Amazon S3:
	//
	//   true: An attempt is made to delete the associated Amazon S3 source bundle
	// specified at time of creation.   false: No action is taken on the Amazon
	// S3 source bundle specified at time of creation.    Valid Values: true | false
	DeleteSourceBundle *bool `type:"boolean"`

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

This documentation target is not reported in the API reference.

func (DeleteApplicationVersionInput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteApplicationVersionInput) String added in v0.6.5

String returns the string representation

type DeleteApplicationVersionOutput

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

func (DeleteApplicationVersionOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteApplicationVersionOutput) String added in v0.6.5

String returns the string representation

type DeleteConfigurationTemplateInput

type DeleteConfigurationTemplateInput struct {
	// The name of the application to delete the configuration template from.
	ApplicationName *string `type:"string" required:"true"`

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

This documentation target is not reported in the API reference.

func (DeleteConfigurationTemplateInput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteConfigurationTemplateInput) String added in v0.6.5

String returns the string representation

type DeleteConfigurationTemplateOutput

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

func (DeleteConfigurationTemplateOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteConfigurationTemplateOutput) String added in v0.6.5

String returns the string representation

type DeleteEnvironmentConfigurationInput

type DeleteEnvironmentConfigurationInput struct {
	// The name of the application the environment is associated with.
	ApplicationName *string `type:"string" required:"true"`

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

This documentation target is not reported in the API reference.

func (DeleteEnvironmentConfigurationInput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteEnvironmentConfigurationInput) String added in v0.6.5

String returns the string representation

type DeleteEnvironmentConfigurationOutput

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

func (DeleteEnvironmentConfigurationOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteEnvironmentConfigurationOutput) String added in v0.6.5

String returns the string representation

type DescribeApplicationVersionsInput

type DescribeApplicationVersionsInput struct {
	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// only include ones that are associated with the specified application.
	ApplicationName *string `type:"string"`

	// If specified, restricts the returned descriptions to only include ones that
	// have the specified version labels.
	VersionLabels []*string `type:"list"`
	// contains filtered or unexported fields
}

Result message containing a list of configuration descriptions.

func (DescribeApplicationVersionsInput) GoString added in v0.6.5

GoString returns the string representation

func (DescribeApplicationVersionsInput) String added in v0.6.5

String returns the string representation

type DescribeApplicationVersionsOutput

type DescribeApplicationVersionsOutput struct {
	// A list of ApplicationVersionDescription .
	ApplicationVersions []*ApplicationVersionDescription `type:"list"`
	// contains filtered or unexported fields
}

Result message wrapping a list of application version descriptions.

func (DescribeApplicationVersionsOutput) GoString added in v0.6.5

GoString returns the string representation

func (DescribeApplicationVersionsOutput) String added in v0.6.5

String returns the string representation

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
}

This documentation target is not reported in the API reference.

func (DescribeApplicationsInput) GoString added in v0.6.5

func (s DescribeApplicationsInput) GoString() string

GoString returns the string representation

func (DescribeApplicationsInput) String added in v0.6.5

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) GoString added in v0.6.5

func (s DescribeApplicationsOutput) GoString() string

GoString returns the string representation

func (DescribeApplicationsOutput) String added in v0.6.5

String returns the string representation

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 `type:"string"`

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

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

	// 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 `type:"string"`
	// contains filtered or unexported fields
}

Result message containig a list of application version descriptions.

func (DescribeConfigurationOptionsInput) GoString added in v0.6.5

GoString returns the string representation

func (DescribeConfigurationOptionsInput) String added in v0.6.5

String returns the string representation

type DescribeConfigurationOptionsOutput

type DescribeConfigurationOptionsOutput struct {
	// A list of ConfigurationOptionDescription.
	Options []*ConfigurationOptionDescription `type:"list"`

	// 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) GoString added in v0.6.5

GoString returns the string representation

func (DescribeConfigurationOptionsOutput) String added in v0.6.5

String returns the string representation

type DescribeConfigurationSettingsInput

type DescribeConfigurationSettingsInput struct {
	// The application for the environment or configuration template.
	ApplicationName *string `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 `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 `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) GoString added in v0.6.5

GoString returns the string representation

func (DescribeConfigurationSettingsInput) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

GoString returns the string representation

func (DescribeConfigurationSettingsOutput) String added in v0.6.5

String returns the string representation

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 `locationName:"EnvironmentId" 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 `type:"string"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (DescribeEnvironmentResourcesInput) GoString added in v0.6.5

GoString returns the string representation

func (DescribeEnvironmentResourcesInput) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

GoString returns the string representation

func (DescribeEnvironmentResourcesOutput) String added in v0.6.5

String returns the string representation

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 `type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those that have the specified IDs.
	EnvironmentIDs []*string `locationName:"EnvironmentIds" 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" timestampFormat:"iso8601"`

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

This documentation target is not reported in the API reference.

func (DescribeEnvironmentsInput) GoString added in v0.6.5

func (s DescribeEnvironmentsInput) GoString() string

GoString returns the string representation

func (DescribeEnvironmentsInput) String added in v0.6.5

func (s DescribeEnvironmentsInput) String() string

String returns the string representation

type DescribeEnvironmentsOutput

type DescribeEnvironmentsOutput struct {
	// Returns an EnvironmentDescription list.
	Environments []*EnvironmentDescription `type:"list"`
	// contains filtered or unexported fields
}

Result message containing a list of environment descriptions.

func (DescribeEnvironmentsOutput) GoString added in v0.6.5

func (s DescribeEnvironmentsOutput) GoString() string

GoString returns the string representation

func (DescribeEnvironmentsOutput) String added in v0.6.5

String returns the string representation

type DescribeEventsInput

type DescribeEventsInput struct {
	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// include only those associated with this application.
	ApplicationName *string `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" timestampFormat:"iso8601"`

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

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

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

	// Pagination token. If specified, the events return the next batch of results.
	NextToken *string `type:"string"`

	// If specified, AWS Elastic Beanstalk restricts the described events to include
	// only those associated with this request ID.
	RequestID *string `locationName:"RequestId" type:"string"`

	// If specified, limits the events returned from this call to include only those
	// with the specified severity or higher.
	Severity *string `type:"string" enum:"EventSeverity"`

	// If specified, AWS Elastic Beanstalk restricts the returned descriptions to
	// those that occur on or after this time.
	StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

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

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

This documentation target is not reported in the API reference.

func (DescribeEventsInput) GoString added in v0.6.5

func (s DescribeEventsInput) GoString() string

GoString returns the string representation

func (DescribeEventsInput) String added in v0.6.5

func (s DescribeEventsInput) String() string

String returns the string representation

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) GoString added in v0.6.5

func (s DescribeEventsOutput) GoString() string

GoString returns the string representation

func (DescribeEventsOutput) String added in v0.6.5

func (s DescribeEventsOutput) String() string

String returns the string representation

type ElasticBeanstalk

type ElasticBeanstalk struct {
	*aws.Service
}

This is the AWS Elastic Beanstalk API Reference. This guide provides detailed information about AWS Elastic Beanstalk actions, data types, parameters, and errors.

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

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 (https://aws.amazon.com/tools/).

Endpoints

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

func New

func New(config *aws.Config) *ElasticBeanstalk

New returns a new ElasticBeanstalk client.

func (*ElasticBeanstalk) AbortEnvironmentUpdate

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

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.AbortEnvironmentUpdateInput{
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.AbortEnvironmentUpdate(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) AbortEnvironmentUpdateRequest

func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironmentUpdateInput) (req *aws.Request, output *AbortEnvironmentUpdateOutput)

AbortEnvironmentUpdateRequest generates a request for the AbortEnvironmentUpdate operation.

func (*ElasticBeanstalk) CheckDNSAvailability

func (c *ElasticBeanstalk) CheckDNSAvailability(input *CheckDNSAvailabilityInput) (*CheckDNSAvailabilityOutput, error)

Checks if the specified CNAME is available.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.CheckDNSAvailabilityInput{
		CNAMEPrefix: aws.String("DNSCnamePrefix"), // Required
	}
	resp, err := svc.CheckDNSAvailability(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CheckDNSAvailabilityRequest

func (c *ElasticBeanstalk) CheckDNSAvailabilityRequest(input *CheckDNSAvailabilityInput) (req *aws.Request, output *CheckDNSAvailabilityOutput)

CheckDNSAvailabilityRequest generates a request for the CheckDNSAvailability operation.

func (*ElasticBeanstalk) CreateApplication

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

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.CreateApplicationInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		Description:     aws.String("Description"),
	}
	resp, err := svc.CreateApplication(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CreateApplicationRequest

func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInput) (req *aws.Request, output *ApplicationDescriptionMessage)

CreateApplicationRequest generates a request for the CreateApplication operation.

func (*ElasticBeanstalk) CreateApplicationVersion

Creates an application version for the specified application.

Once you create an application version with a specified Amazon S3 bucket and key location, you cannot 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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.CreateApplicationVersionInput{
		ApplicationName:       aws.String("ApplicationName"), // Required
		VersionLabel:          aws.String("VersionLabel"),    // Required
		AutoCreateApplication: aws.Bool(true),
		Description:           aws.String("Description"),
		SourceBundle: &elasticbeanstalk.S3Location{
			S3Bucket: aws.String("S3Bucket"),
			S3Key:    aws.String("S3Key"),
		},
	}
	resp, err := svc.CreateApplicationVersion(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CreateApplicationVersionRequest

func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) (req *aws.Request, output *ApplicationVersionDescriptionMessage)

CreateApplicationVersionRequest generates a request for the CreateApplicationVersion operation.

func (*ElasticBeanstalk) CreateConfigurationTemplate

Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

Related Topics

DescribeConfigurationOptions   DescribeConfigurationSettings   ListAvailableSolutionStacks
Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.CreateConfigurationTemplateInput{
		ApplicationName: aws.String("ApplicationName"),           // Required
		TemplateName:    aws.String("ConfigurationTemplateName"), // Required
		Description:     aws.String("Description"),
		EnvironmentID:   aws.String("EnvironmentId"),
		OptionSettings: []*elasticbeanstalk.ConfigurationOptionSetting{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
				Value:        aws.String("ConfigurationOptionValue"),
			},
			// More values...
		},
		SolutionStackName: aws.String("SolutionStackName"),
		SourceConfiguration: &elasticbeanstalk.SourceConfiguration{
			ApplicationName: aws.String("ApplicationName"),
			TemplateName:    aws.String("ConfigurationTemplateName"),
		},
	}
	resp, err := svc.CreateConfigurationTemplate(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CreateConfigurationTemplateRequest

func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfigurationTemplateInput) (req *aws.Request, output *ConfigurationSettingsDescription)

CreateConfigurationTemplateRequest generates a request for the CreateConfigurationTemplate operation.

func (*ElasticBeanstalk) CreateEnvironment

func (c *ElasticBeanstalk) CreateEnvironment(input *CreateEnvironmentInput) (*EnvironmentDescription, error)

Launches an environment for the specified application using the specified configuration.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.CreateEnvironmentInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		EnvironmentName: aws.String("EnvironmentName"), // Required
		CNAMEPrefix:     aws.String("DNSCnamePrefix"),
		Description:     aws.String("Description"),
		OptionSettings: []*elasticbeanstalk.ConfigurationOptionSetting{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
				Value:        aws.String("ConfigurationOptionValue"),
			},
			// More values...
		},
		OptionsToRemove: []*elasticbeanstalk.OptionSpecification{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
			},
			// More values...
		},
		SolutionStackName: aws.String("SolutionStackName"),
		Tags: []*elasticbeanstalk.Tag{
			{ // Required
				Key:   aws.String("TagKey"),
				Value: aws.String("TagValue"),
			},
			// More values...
		},
		TemplateName: aws.String("ConfigurationTemplateName"),
		Tier: &elasticbeanstalk.EnvironmentTier{
			Name:    aws.String("String"),
			Type:    aws.String("String"),
			Version: aws.String("String"),
		},
		VersionLabel: aws.String("VersionLabel"),
	}
	resp, err := svc.CreateEnvironment(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CreateEnvironmentRequest

func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *aws.Request, output *EnvironmentDescription)

CreateEnvironmentRequest generates a request for the CreateEnvironment operation.

func (*ElasticBeanstalk) CreateStorageLocation

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.
Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	var params *elasticbeanstalk.CreateStorageLocationInput
	resp, err := svc.CreateStorageLocation(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) CreateStorageLocationRequest

func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLocationInput) (req *aws.Request, output *CreateStorageLocationOutput)

CreateStorageLocationRequest generates a request for the CreateStorageLocation operation.

func (*ElasticBeanstalk) DeleteApplication

func (c *ElasticBeanstalk) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DeleteApplicationInput{
		ApplicationName:     aws.String("ApplicationName"), // Required
		TerminateEnvByForce: aws.Bool(true),
	}
	resp, err := svc.DeleteApplication(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DeleteApplicationRequest

func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInput) (req *aws.Request, output *DeleteApplicationOutput)

DeleteApplicationRequest generates a request for the DeleteApplication operation.

func (*ElasticBeanstalk) DeleteApplicationVersion

Deletes the specified version from the specified application.

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

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DeleteApplicationVersionInput{
		ApplicationName:    aws.String("ApplicationName"), // Required
		VersionLabel:       aws.String("VersionLabel"),    // Required
		DeleteSourceBundle: aws.Bool(true),
	}
	resp, err := svc.DeleteApplicationVersion(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DeleteApplicationVersionRequest

func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicationVersionInput) (req *aws.Request, output *DeleteApplicationVersionOutput)

DeleteApplicationVersionRequest generates a request for the DeleteApplicationVersion operation.

func (*ElasticBeanstalk) DeleteConfigurationTemplate

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DeleteConfigurationTemplateInput{
		ApplicationName: aws.String("ApplicationName"),           // Required
		TemplateName:    aws.String("ConfigurationTemplateName"), // Required
	}
	resp, err := svc.DeleteConfigurationTemplate(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DeleteConfigurationTemplateRequest

func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfigurationTemplateInput) (req *aws.Request, output *DeleteConfigurationTemplateOutput)

DeleteConfigurationTemplateRequest generates a request for the DeleteConfigurationTemplate operation.

func (*ElasticBeanstalk) DeleteEnvironmentConfiguration

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DeleteEnvironmentConfigurationInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		EnvironmentName: aws.String("EnvironmentName"), // Required
	}
	resp, err := svc.DeleteEnvironmentConfiguration(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DeleteEnvironmentConfigurationRequest

func (c *ElasticBeanstalk) DeleteEnvironmentConfigurationRequest(input *DeleteEnvironmentConfigurationInput) (req *aws.Request, output *DeleteEnvironmentConfigurationOutput)

DeleteEnvironmentConfigurationRequest generates a request for the DeleteEnvironmentConfiguration operation.

func (*ElasticBeanstalk) DescribeApplicationVersions

Returns descriptions for existing application versions.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeApplicationVersionsInput{
		ApplicationName: aws.String("ApplicationName"),
		VersionLabels: []*string{
			aws.String("VersionLabel"), // Required
			// More values...
		},
	}
	resp, err := svc.DescribeApplicationVersions(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeApplicationVersionsRequest

func (c *ElasticBeanstalk) DescribeApplicationVersionsRequest(input *DescribeApplicationVersionsInput) (req *aws.Request, output *DescribeApplicationVersionsOutput)

DescribeApplicationVersionsRequest generates a request for the DescribeApplicationVersions operation.

func (*ElasticBeanstalk) DescribeApplications

func (c *ElasticBeanstalk) DescribeApplications(input *DescribeApplicationsInput) (*DescribeApplicationsOutput, error)

Returns the descriptions of existing applications.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeApplicationsInput{
		ApplicationNames: []*string{
			aws.String("ApplicationName"), // Required
			// More values...
		},
	}
	resp, err := svc.DescribeApplications(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeApplicationsRequest

func (c *ElasticBeanstalk) DescribeApplicationsRequest(input *DescribeApplicationsInput) (req *aws.Request, output *DescribeApplicationsOutput)

DescribeApplicationsRequest generates a request for the DescribeApplications operation.

func (*ElasticBeanstalk) DescribeConfigurationOptions

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeConfigurationOptionsInput{
		ApplicationName: aws.String("ApplicationName"),
		EnvironmentName: aws.String("EnvironmentName"),
		Options: []*elasticbeanstalk.OptionSpecification{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
			},
			// More values...
		},
		SolutionStackName: aws.String("SolutionStackName"),
		TemplateName:      aws.String("ConfigurationTemplateName"),
	}
	resp, err := svc.DescribeConfigurationOptions(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeConfigurationOptionsRequest

func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeConfigurationOptionsInput) (req *aws.Request, output *DescribeConfigurationOptionsOutput)

DescribeConfigurationOptionsRequest generates a request for the DescribeConfigurationOptions operation.

func (*ElasticBeanstalk) DescribeConfigurationSettings

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeConfigurationSettingsInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		EnvironmentName: aws.String("EnvironmentName"),
		TemplateName:    aws.String("ConfigurationTemplateName"),
	}
	resp, err := svc.DescribeConfigurationSettings(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeConfigurationSettingsRequest

func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeConfigurationSettingsInput) (req *aws.Request, output *DescribeConfigurationSettingsOutput)

DescribeConfigurationSettingsRequest generates a request for the DescribeConfigurationSettings operation.

func (*ElasticBeanstalk) DescribeEnvironmentResources

Returns AWS resources for this environment.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeEnvironmentResourcesInput{
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.DescribeEnvironmentResources(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeEnvironmentResourcesRequest

func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEnvironmentResourcesInput) (req *aws.Request, output *DescribeEnvironmentResourcesOutput)

DescribeEnvironmentResourcesRequest generates a request for the DescribeEnvironmentResources operation.

func (*ElasticBeanstalk) DescribeEnvironments

func (c *ElasticBeanstalk) DescribeEnvironments(input *DescribeEnvironmentsInput) (*DescribeEnvironmentsOutput, error)

Returns descriptions for existing environments.

Example
package main

import (
	"fmt"
	"time"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeEnvironmentsInput{
		ApplicationName: aws.String("ApplicationName"),
		EnvironmentIDs: []*string{
			aws.String("EnvironmentId"), // Required
			// More values...
		},
		EnvironmentNames: []*string{
			aws.String("EnvironmentName"), // Required
			// More values...
		},
		IncludeDeleted:        aws.Bool(true),
		IncludedDeletedBackTo: aws.Time(time.Now()),
		VersionLabel:          aws.String("VersionLabel"),
	}
	resp, err := svc.DescribeEnvironments(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeEnvironmentsRequest

func (c *ElasticBeanstalk) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) (req *aws.Request, output *DescribeEnvironmentsOutput)

DescribeEnvironmentsRequest generates a request for the DescribeEnvironments operation.

func (*ElasticBeanstalk) DescribeEvents

func (c *ElasticBeanstalk) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)

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
package main

import (
	"fmt"
	"time"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.DescribeEventsInput{
		ApplicationName: aws.String("ApplicationName"),
		EndTime:         aws.Time(time.Now()),
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
		MaxRecords:      aws.Int64(1),
		NextToken:       aws.String("Token"),
		RequestID:       aws.String("RequestId"),
		Severity:        aws.String("EventSeverity"),
		StartTime:       aws.Time(time.Now()),
		TemplateName:    aws.String("ConfigurationTemplateName"),
		VersionLabel:    aws.String("VersionLabel"),
	}
	resp, err := svc.DescribeEvents(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) DescribeEventsPages

func (c *ElasticBeanstalk) DescribeEventsPages(input *DescribeEventsInput, fn func(p *DescribeEventsOutput, lastPage bool) (shouldContinue bool)) error

func (*ElasticBeanstalk) DescribeEventsRequest

func (c *ElasticBeanstalk) DescribeEventsRequest(input *DescribeEventsInput) (req *aws.Request, output *DescribeEventsOutput)

DescribeEventsRequest generates a request for the DescribeEvents operation.

func (*ElasticBeanstalk) ListAvailableSolutionStacks

Returns a list of the available solution stack names.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	var params *elasticbeanstalk.ListAvailableSolutionStacksInput
	resp, err := svc.ListAvailableSolutionStacks(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) ListAvailableSolutionStacksRequest

func (c *ElasticBeanstalk) ListAvailableSolutionStacksRequest(input *ListAvailableSolutionStacksInput) (req *aws.Request, output *ListAvailableSolutionStacksOutput)

ListAvailableSolutionStacksRequest generates a request for the ListAvailableSolutionStacks operation.

func (*ElasticBeanstalk) RebuildEnvironment

func (c *ElasticBeanstalk) RebuildEnvironment(input *RebuildEnvironmentInput) (*RebuildEnvironmentOutput, error)

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.RebuildEnvironmentInput{
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.RebuildEnvironment(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) RebuildEnvironmentRequest

func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentInput) (req *aws.Request, output *RebuildEnvironmentOutput)

RebuildEnvironmentRequest generates a request for the RebuildEnvironment operation.

func (*ElasticBeanstalk) RequestEnvironmentInfo

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.RequestEnvironmentInfoInput{
		InfoType:        aws.String("EnvironmentInfoType"), // Required
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.RequestEnvironmentInfo(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) RequestEnvironmentInfoRequest

func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironmentInfoInput) (req *aws.Request, output *RequestEnvironmentInfoOutput)

RequestEnvironmentInfoRequest generates a request for the RequestEnvironmentInfo operation.

func (*ElasticBeanstalk) RestartAppServer

func (c *ElasticBeanstalk) RestartAppServer(input *RestartAppServerInput) (*RestartAppServerOutput, error)

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

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.RestartAppServerInput{
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.RestartAppServer(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) RestartAppServerRequest

func (c *ElasticBeanstalk) RestartAppServerRequest(input *RestartAppServerInput) (req *aws.Request, output *RestartAppServerOutput)

RestartAppServerRequest generates a request for the RestartAppServer operation.

func (*ElasticBeanstalk) RetrieveEnvironmentInfo

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

RequestEnvironmentInfo
Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.RetrieveEnvironmentInfoInput{
		InfoType:        aws.String("EnvironmentInfoType"), // Required
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
	}
	resp, err := svc.RetrieveEnvironmentInfo(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) RetrieveEnvironmentInfoRequest

func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnvironmentInfoInput) (req *aws.Request, output *RetrieveEnvironmentInfoOutput)

RetrieveEnvironmentInfoRequest generates a request for the RetrieveEnvironmentInfo operation.

func (*ElasticBeanstalk) SwapEnvironmentCNAMEs

Swaps the CNAMEs of two environments.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.SwapEnvironmentCNAMEsInput{
		DestinationEnvironmentID:   aws.String("EnvironmentId"),
		DestinationEnvironmentName: aws.String("EnvironmentName"),
		SourceEnvironmentID:        aws.String("EnvironmentId"),
		SourceEnvironmentName:      aws.String("EnvironmentName"),
	}
	resp, err := svc.SwapEnvironmentCNAMEs(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) SwapEnvironmentCNAMEsRequest

func (c *ElasticBeanstalk) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCNAMEsInput) (req *aws.Request, output *SwapEnvironmentCNAMEsOutput)

SwapEnvironmentCNAMEsRequest generates a request for the SwapEnvironmentCNAMEs operation.

func (*ElasticBeanstalk) TerminateEnvironment

func (c *ElasticBeanstalk) TerminateEnvironment(input *TerminateEnvironmentInput) (*EnvironmentDescription, error)

Terminates the specified environment.

Example
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.TerminateEnvironmentInput{
		EnvironmentID:      aws.String("EnvironmentId"),
		EnvironmentName:    aws.String("EnvironmentName"),
		TerminateResources: aws.Bool(true),
	}
	resp, err := svc.TerminateEnvironment(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) TerminateEnvironmentRequest

func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironmentInput) (req *aws.Request, output *EnvironmentDescription)

TerminateEnvironmentRequest generates a request for the TerminateEnvironment operation.

func (*ElasticBeanstalk) UpdateApplication

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.UpdateApplicationInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		Description:     aws.String("Description"),
	}
	resp, err := svc.UpdateApplication(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) UpdateApplicationRequest

func (c *ElasticBeanstalk) UpdateApplicationRequest(input *UpdateApplicationInput) (req *aws.Request, output *ApplicationDescriptionMessage)

UpdateApplicationRequest generates a request for the UpdateApplication operation.

func (*ElasticBeanstalk) UpdateApplicationVersion

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.UpdateApplicationVersionInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		VersionLabel:    aws.String("VersionLabel"),    // Required
		Description:     aws.String("Description"),
	}
	resp, err := svc.UpdateApplicationVersion(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) UpdateApplicationVersionRequest

func (c *ElasticBeanstalk) UpdateApplicationVersionRequest(input *UpdateApplicationVersionInput) (req *aws.Request, output *ApplicationVersionDescriptionMessage)

UpdateApplicationVersionRequest generates a request for the UpdateApplicationVersion operation.

func (*ElasticBeanstalk) UpdateConfigurationTemplate

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.UpdateConfigurationTemplateInput{
		ApplicationName: aws.String("ApplicationName"),           // Required
		TemplateName:    aws.String("ConfigurationTemplateName"), // Required
		Description:     aws.String("Description"),
		OptionSettings: []*elasticbeanstalk.ConfigurationOptionSetting{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
				Value:        aws.String("ConfigurationOptionValue"),
			},
			// More values...
		},
		OptionsToRemove: []*elasticbeanstalk.OptionSpecification{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
			},
			// More values...
		},
	}
	resp, err := svc.UpdateConfigurationTemplate(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) UpdateConfigurationTemplateRequest

func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfigurationTemplateInput) (req *aws.Request, output *ConfigurationSettingsDescription)

UpdateConfigurationTemplateRequest generates a request for the UpdateConfigurationTemplate operation.

func (*ElasticBeanstalk) UpdateEnvironment

func (c *ElasticBeanstalk) UpdateEnvironment(input *UpdateEnvironmentInput) (*EnvironmentDescription, error)

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.UpdateEnvironmentInput{
		Description:     aws.String("Description"),
		EnvironmentID:   aws.String("EnvironmentId"),
		EnvironmentName: aws.String("EnvironmentName"),
		OptionSettings: []*elasticbeanstalk.ConfigurationOptionSetting{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
				Value:        aws.String("ConfigurationOptionValue"),
			},
			// More values...
		},
		OptionsToRemove: []*elasticbeanstalk.OptionSpecification{
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
			},
			// More values...
		},
		SolutionStackName: aws.String("SolutionStackName"),
		TemplateName:      aws.String("ConfigurationTemplateName"),
		Tier: &elasticbeanstalk.EnvironmentTier{
			Name:    aws.String("String"),
			Type:    aws.String("String"),
			Version: aws.String("String"),
		},
		VersionLabel: aws.String("VersionLabel"),
	}
	resp, err := svc.UpdateEnvironment(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) UpdateEnvironmentRequest

func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *aws.Request, output *EnvironmentDescription)

UpdateEnvironmentRequest generates a request for the UpdateEnvironment operation.

func (*ElasticBeanstalk) ValidateConfigurationSettings

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
package main

import (
	"fmt"

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

func main() {
	svc := elasticbeanstalk.New(nil)

	params := &elasticbeanstalk.ValidateConfigurationSettingsInput{
		ApplicationName: aws.String("ApplicationName"), // Required
		OptionSettings: []*elasticbeanstalk.ConfigurationOptionSetting{ // Required
			{ // Required
				Namespace:    aws.String("OptionNamespace"),
				OptionName:   aws.String("ConfigurationOptionName"),
				ResourceName: aws.String("ResourceName"),
				Value:        aws.String("ConfigurationOptionValue"),
			},
			// More values...
		},
		EnvironmentName: aws.String("EnvironmentName"),
		TemplateName:    aws.String("ConfigurationTemplateName"),
	}
	resp, err := svc.ValidateConfigurationSettings(params)

	if err != nil {
		if awsErr, ok := err.(awserr.Error); ok {
			// Generic AWS error with Code, Message, and original error (if any)
			fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr())
			if reqErr, ok := err.(awserr.RequestFailure); ok {
				// A service error occurred
				fmt.Println(reqErr.Code(), reqErr.Message(), reqErr.StatusCode(), reqErr.RequestID())
			}
		} else {
			// This case should never be hit, the SDK should always return an
			// error which satisfies the awserr.Error interface.
			fmt.Println(err.Error())
		}
	}

	// Pretty-print the response data.
	fmt.Println(awsutil.Prettify(resp))
}
Output:

func (*ElasticBeanstalk) ValidateConfigurationSettingsRequest

func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateConfigurationSettingsInput) (req *aws.Request, output *ValidateConfigurationSettingsOutput)

ValidateConfigurationSettingsRequest generates a request for the ValidateConfigurationSettings operation.

type EnvironmentDescription

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 `type:"string"`

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

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

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

	// 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 ID of this environment.
	EnvironmentID *string `locationName:"EnvironmentId" type:"string"`

	// The name of this environment.
	EnvironmentName *string `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 working.
	//
	//    Yellow: Indicates that something is wrong, the application might not
	// be available, but the instances appear running.
	//
	//    Green: Indicates the environment is healthy and fully functional.
	//
	//     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 RestartEnvironement request.    Default: Grey
	Health *string `type:"string" enum:"EnvironmentHealth"`

	// 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 *string `type:"string" enum:"EnvironmentStatus"`

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

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

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

Describes the properties of an environment.

func (EnvironmentDescription) GoString added in v0.6.5

func (s EnvironmentDescription) GoString() string

GoString returns the string representation

func (EnvironmentDescription) String added in v0.6.5

func (s EnvironmentDescription) String() string

String returns the string representation

type EnvironmentInfoDescription

type EnvironmentInfoDescription struct {
	// The Amazon EC2 Instance ID for this information.
	EC2InstanceID *string `locationName:"Ec2InstanceId" type:"string"`

	// The type of information retrieved.
	InfoType *string `type:"string" enum:"EnvironmentInfoType"`

	// The retrieved information.
	Message *string `type:"string"`

	// The time stamp when this information was retrieved.
	SampleTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The information retrieved from the Amazon EC2 instances.

func (EnvironmentInfoDescription) GoString added in v0.6.5

func (s EnvironmentInfoDescription) GoString() string

GoString returns the string representation

func (EnvironmentInfoDescription) String added in v0.6.5

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 `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 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) GoString added in v0.6.5

GoString returns the string representation

func (EnvironmentResourceDescription) String added in v0.6.5

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) GoString added in v0.6.5

GoString returns the string representation

func (EnvironmentResourcesDescription) String added in v0.6.5

String returns the string representation

type EnvironmentTier

type EnvironmentTier struct {
	// The name of this environment tier.
	Name *string `type:"string"`

	// The type of this environment tier.
	Type *string `type:"string"`

	// The version of this environment tier.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment tier

func (EnvironmentTier) GoString added in v0.6.5

func (s EnvironmentTier) GoString() string

GoString returns the string representation

func (EnvironmentTier) String added in v0.6.5

func (s EnvironmentTier) String() string

String returns the string representation

type EventDescription

type EventDescription struct {
	// The application associated with the event.
	ApplicationName *string `type:"string"`

	// The name of the environment associated with this event.
	EnvironmentName *string `type:"string"`

	// The date when the event occurred.
	EventDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The event message.
	Message *string `type:"string"`

	// The web service request ID for the activity of this event.
	RequestID *string `locationName:"RequestId" type:"string"`

	// The severity level of this event.
	Severity *string `type:"string" enum:"EventSeverity"`

	// The name of the configuration associated with this event.
	TemplateName *string `type:"string"`

	// The release label for the application version associated with this event.
	VersionLabel *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an event.

func (EventDescription) GoString added in v0.6.5

func (s EventDescription) GoString() string

GoString returns the string representation

func (EventDescription) String added in v0.6.5

func (s EventDescription) String() string

String returns the string representation

type Instance

type Instance struct {
	// The ID of the Amazon EC2 instance.
	ID *string `locationName:"Id" type:"string"`
	// contains filtered or unexported fields
}

The description of an Amazon EC2 instance.

func (Instance) GoString added in v0.6.5

func (s Instance) GoString() string

GoString returns the string representation

func (Instance) String added in v0.6.5

func (s Instance) 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) GoString added in v0.6.5

func (s LaunchConfiguration) GoString() string

GoString returns the string representation

func (LaunchConfiguration) String added in v0.6.5

func (s LaunchConfiguration) String() string

String returns the string representation

type ListAvailableSolutionStacksInput

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

func (ListAvailableSolutionStacksInput) GoString added in v0.6.5

GoString returns the string representation

func (ListAvailableSolutionStacksInput) String added in v0.6.5

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) GoString added in v0.6.5

GoString returns the string representation

func (ListAvailableSolutionStacksOutput) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

func (s Listener) GoString() string

GoString returns the string representation

func (Listener) String added in v0.6.5

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) GoString added in v0.6.5

func (s LoadBalancer) GoString() string

GoString returns the string representation

func (LoadBalancer) String added in v0.6.5

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) GoString added in v0.6.5

func (s LoadBalancerDescription) GoString() string

GoString returns the string representation

func (LoadBalancerDescription) String added in v0.6.5

func (s LoadBalancerDescription) String() string

String returns the string representation

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) GoString added in v0.6.5

func (s OptionRestrictionRegex) GoString() string

GoString returns the string representation

func (OptionRestrictionRegex) String added in v0.6.5

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 `type:"string"`
	// contains filtered or unexported fields
}

A specification identifying an individual configuration option.

func (OptionSpecification) GoString added in v0.6.5

func (s OptionSpecification) GoString() string

GoString returns the string representation

func (OptionSpecification) String added in v0.6.5

func (s OptionSpecification) 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) GoString added in v0.6.5

func (s Queue) GoString() string

GoString returns the string representation

func (Queue) String added in v0.6.5

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 `locationName:"EnvironmentId" 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 `type:"string"`
	// contains filtered or unexported fields
}

func (RebuildEnvironmentInput) GoString added in v0.6.5

func (s RebuildEnvironmentInput) GoString() string

GoString returns the string representation

func (RebuildEnvironmentInput) String added in v0.6.5

func (s RebuildEnvironmentInput) String() string

String returns the string representation

type RebuildEnvironmentOutput

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

func (RebuildEnvironmentOutput) GoString added in v0.6.5

func (s RebuildEnvironmentOutput) GoString() string

GoString returns the string representation

func (RebuildEnvironmentOutput) String added in v0.6.5

func (s RebuildEnvironmentOutput) String() string

String returns the string representation

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 `locationName:"EnvironmentId" 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 `type:"string"`

	// The type of information to request.
	InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (RequestEnvironmentInfoInput) GoString added in v0.6.5

func (s RequestEnvironmentInfoInput) GoString() string

GoString returns the string representation

func (RequestEnvironmentInfoInput) String added in v0.6.5

String returns the string representation

type RequestEnvironmentInfoOutput

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

func (RequestEnvironmentInfoOutput) GoString added in v0.6.5

func (s RequestEnvironmentInfoOutput) GoString() string

GoString returns the string representation

func (RequestEnvironmentInfoOutput) String added in v0.6.5

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 `locationName:"EnvironmentId" 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 `type:"string"`
	// contains filtered or unexported fields
}

func (RestartAppServerInput) GoString added in v0.6.5

func (s RestartAppServerInput) GoString() string

GoString returns the string representation

func (RestartAppServerInput) String added in v0.6.5

func (s RestartAppServerInput) String() string

String returns the string representation

type RestartAppServerOutput

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

func (RestartAppServerOutput) GoString added in v0.6.5

func (s RestartAppServerOutput) GoString() string

GoString returns the string representation

func (RestartAppServerOutput) String added in v0.6.5

func (s RestartAppServerOutput) String() string

String returns the string representation

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 `locationName:"EnvironmentId" 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 `type:"string"`

	// The type of information to retrieve.
	InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (RetrieveEnvironmentInfoInput) GoString added in v0.6.5

func (s RetrieveEnvironmentInfoInput) GoString() string

GoString returns the string representation

func (RetrieveEnvironmentInfoInput) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

GoString returns the string representation

func (RetrieveEnvironmentInfoOutput) String added in v0.6.5

String returns the string representation

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
}

A specification of a location in Amazon S3.

func (S3Location) GoString added in v0.6.5

func (s S3Location) GoString() string

GoString returns the string representation

func (S3Location) String added in v0.6.5

func (s S3Location) 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) GoString added in v0.6.5

func (s SolutionStackDescription) GoString() string

GoString returns the string representation

func (SolutionStackDescription) String added in v0.6.5

func (s SolutionStackDescription) String() string

String returns the string representation

type SourceConfiguration

type SourceConfiguration struct {
	// The name of the application associated with the configuration.
	ApplicationName *string `type:"string"`

	// The name of the configuration template.
	TemplateName *string `type:"string"`
	// contains filtered or unexported fields
}

A specification for an environment configuration

func (SourceConfiguration) GoString added in v0.6.5

func (s SourceConfiguration) GoString() string

GoString returns the string representation

func (SourceConfiguration) String added in v0.6.5

func (s SourceConfiguration) 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 `locationName:"DestinationEnvironmentId" 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 `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 `locationName:"SourceEnvironmentId" 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 `type:"string"`
	// contains filtered or unexported fields
}

Swaps the CNAMEs of two environments.

func (SwapEnvironmentCNAMEsInput) GoString added in v0.6.5

func (s SwapEnvironmentCNAMEsInput) GoString() string

GoString returns the string representation

func (SwapEnvironmentCNAMEsInput) String added in v0.6.5

String returns the string representation

type SwapEnvironmentCNAMEsOutput

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

func (SwapEnvironmentCNAMEsOutput) GoString added in v0.6.5

func (s SwapEnvironmentCNAMEsOutput) GoString() string

GoString returns the string representation

func (SwapEnvironmentCNAMEsOutput) String added in v0.6.5

String returns the string representation

type Tag

type Tag struct {
	// The key of the tag.
	Key *string `type:"string"`

	// The value of the tag.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a tag applied to a resource in an environment.

func (Tag) GoString added in v0.6.5

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String added in v0.6.5

func (s Tag) String() string

String returns the string representation

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 `locationName:"EnvironmentId" 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 `type:"string"`

	// Indicates whether the associated AWS resources should shut down when the
	// environment is terminated:
	//
	//    true: (default) The user AWS resources (for example, the Auto Scaling
	// group, LoadBalancer, etc.) are terminated along with the environment.
	//
	//    false: The environment is removed from the AWS Elastic Beanstalk but
	// the AWS resources continue to operate.
	//
	//     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.  (http://docs.aws.amazon.com/elasticbeanstalk/latest/ug/)
	//
	//  Default: true
	//
	//  Valid Values: true | false
	TerminateResources *bool `type:"boolean"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (TerminateEnvironmentInput) GoString added in v0.6.5

func (s TerminateEnvironmentInput) GoString() string

GoString returns the string representation

func (TerminateEnvironmentInput) String added in v0.6.5

func (s TerminateEnvironmentInput) String() string

String returns the string representation

type Trigger

type Trigger struct {
	// The name of the trigger.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a trigger.

func (Trigger) GoString added in v0.6.5

func (s Trigger) GoString() string

GoString returns the string representation

func (Trigger) String added in v0.6.5

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 *string `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
}

This documentation target is not reported in the API reference.

func (UpdateApplicationInput) GoString added in v0.6.5

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation

func (UpdateApplicationInput) String added in v0.6.5

func (s UpdateApplicationInput) String() string

String returns the string representation

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 *string `type:"string" required:"true"`

	// A new description for this release.
	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 *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApplicationVersionInput) GoString added in v0.6.5

GoString returns the string representation

func (UpdateApplicationVersionInput) String added in v0.6.5

String returns the string representation

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 *string `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 *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The result message containing the options for the specified solution stack.

func (UpdateConfigurationTemplateInput) GoString added in v0.6.5

GoString returns the string representation

func (UpdateConfigurationTemplateInput) String added in v0.6.5

String returns the string representation

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {
	// 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 `locationName:"EnvironmentId" 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 `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"`

	// 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 `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 `type:"string"`
	// contains filtered or unexported fields
}

This documentation target is not reported in the API reference.

func (UpdateEnvironmentInput) GoString added in v0.6.5

func (s UpdateEnvironmentInput) GoString() string

GoString returns the string representation

func (UpdateEnvironmentInput) String added in v0.6.5

func (s UpdateEnvironmentInput) String() string

String returns the string representation

type ValidateConfigurationSettingsInput

type ValidateConfigurationSettingsInput struct {
	// The name of the application that the configuration template or environment
	// belongs to.
	ApplicationName *string `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 `type:"string"`

	// A list of the options and desired values to evaluate.
	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 `type:"string"`
	// contains filtered or unexported fields
}

A list of validation messages for a specified configuration template.

func (ValidateConfigurationSettingsInput) GoString added in v0.6.5

GoString returns the string representation

func (ValidateConfigurationSettingsInput) String added in v0.6.5

String returns the string representation

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) GoString added in v0.6.5

GoString returns the string representation

func (ValidateConfigurationSettingsOutput) String added in v0.6.5

String returns the string representation

type ValidationMessage

type ValidationMessage struct {
	// A message describing the error or warning.
	Message *string `type:"string"`

	Namespace *string `type:"string"`

	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.
	//
	//     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 *string `type:"string" enum:"ValidationSeverity"`
	// contains filtered or unexported fields
}

An error or warning for a desired configuration option value.

func (ValidationMessage) GoString added in v0.6.5

func (s ValidationMessage) GoString() string

GoString returns the string representation

func (ValidationMessage) String added in v0.6.5

func (s ValidationMessage) String() string

String returns the string representation

Directories

Path Synopsis
Package elasticbeanstalkiface provides an interface for the AWS Elastic Beanstalk.
Package elasticbeanstalkiface provides an interface for the AWS Elastic Beanstalk.

Jump to

Keyboard shortcuts

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