elasticbeanstalk

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

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

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

Endpoints

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

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

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

Using the Client

To AWS Elastic Beanstalk with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Elastic Beanstalk client ElasticBeanstalk for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticbeanstalk/#New

Index

Examples

Constants

View Source
const (

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

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

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

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

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

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

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

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

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

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

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// A generic service exception has occurred.
	ErrCodeServiceException = "ServiceException"

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

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

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

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

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

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

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

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The number of tags in the resource would exceed the number of tags that each
	// resource can have.
	//
	// To calculate this, the operation considers both the number of tags the resource
	// already has and the tags this operation would add if it succeeded.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)
View Source
const (
	ServiceName = "elasticbeanstalk" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName        // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortEnvironmentUpdateInput

type AbortEnvironmentUpdateInput struct {

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

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

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

func (AbortEnvironmentUpdateInput) GoString

func (s AbortEnvironmentUpdateInput) GoString() string

GoString returns the string representation

func (AbortEnvironmentUpdateInput) String

String returns the string representation

func (*AbortEnvironmentUpdateInput) Validate

func (s *AbortEnvironmentUpdateInput) Validate() error

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

type AbortEnvironmentUpdateOutput

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

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

func (AbortEnvironmentUpdateOutput) GoString

func (s AbortEnvironmentUpdateOutput) GoString() string

GoString returns the string representation

func (AbortEnvironmentUpdateOutput) SDKResponseMetadata

func (s AbortEnvironmentUpdateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AbortEnvironmentUpdateOutput) String

String returns the string representation

type AbortEnvironmentUpdateRequest

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

AbortEnvironmentUpdateRequest is a API request type for the AbortEnvironmentUpdate API operation.

func (AbortEnvironmentUpdateRequest) Send

Send marshals and sends the AbortEnvironmentUpdate API request.

type ActionHistoryStatus

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

Enum values for ActionHistoryStatus

func (ActionHistoryStatus) MarshalValue

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

func (ActionHistoryStatus) MarshalValueBuf

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

type ActionStatus

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

Enum values for ActionStatus

func (ActionStatus) MarshalValue

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

func (ActionStatus) MarshalValueBuf

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

type ActionType

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

Enum values for ActionType

func (ActionType) MarshalValue

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

func (ActionType) MarshalValueBuf

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

type ApplicationDescription

type ApplicationDescription struct {

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

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

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

	// The date when the application was created.
	DateCreated *time.Time `type:"timestamp" 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 lifecycle settings for the application.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`

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

Describes the properties of an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescription

func (ApplicationDescription) GoString

func (s ApplicationDescription) GoString() string

GoString returns the string representation

func (ApplicationDescription) String

func (s ApplicationDescription) String() string

String returns the string representation

type ApplicationMetrics

type ApplicationMetrics struct {

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

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

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

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

Application request metrics for an AWS Elastic Beanstalk environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationMetrics

func (ApplicationMetrics) GoString

func (s ApplicationMetrics) GoString() string

GoString returns the string representation

func (ApplicationMetrics) String

func (s ApplicationMetrics) String() string

String returns the string representation

type ApplicationResourceLifecycleConfig

type ApplicationResourceLifecycleConfig struct {

	// The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
	ServiceRole *string `type:"string"`

	// The application version lifecycle configuration.
	VersionLifecycleConfig *ApplicationVersionLifecycleConfig `type:"structure"`
	// contains filtered or unexported fields
}

The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleConfig

func (ApplicationResourceLifecycleConfig) GoString

GoString returns the string representation

func (ApplicationResourceLifecycleConfig) String

String returns the string representation

func (*ApplicationResourceLifecycleConfig) Validate

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

type ApplicationVersionDescription

type ApplicationVersionDescription struct {

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

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

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

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

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

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

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

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

	// The processing status of the application version.
	Status ApplicationVersionStatus `type:"string" enum:"true"`

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

Describes the properties of an application version. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescription

func (ApplicationVersionDescription) GoString

GoString returns the string representation

func (ApplicationVersionDescription) String

String returns the string representation

type ApplicationVersionLifecycleConfig

type ApplicationVersionLifecycleConfig struct {

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

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

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

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionLifecycleConfig

func (ApplicationVersionLifecycleConfig) GoString

GoString returns the string representation

func (ApplicationVersionLifecycleConfig) String

String returns the string representation

func (*ApplicationVersionLifecycleConfig) Validate

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

type ApplicationVersionStatus

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

Enum values for ApplicationVersionStatus

func (ApplicationVersionStatus) MarshalValue

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

func (ApplicationVersionStatus) MarshalValueBuf

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

type ApplyEnvironmentManagedActionInput

type ApplyEnvironmentManagedActionInput struct {

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

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

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

Request to execute a scheduled managed action immediately. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionRequest

func (ApplyEnvironmentManagedActionInput) GoString

GoString returns the string representation

func (ApplyEnvironmentManagedActionInput) String

String returns the string representation

func (*ApplyEnvironmentManagedActionInput) Validate

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

type ApplyEnvironmentManagedActionOutput

type ApplyEnvironmentManagedActionOutput struct {

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

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

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

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

The result message containing information about the managed action. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionResult

func (ApplyEnvironmentManagedActionOutput) GoString

GoString returns the string representation

func (ApplyEnvironmentManagedActionOutput) SDKResponseMetadata

func (s ApplyEnvironmentManagedActionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ApplyEnvironmentManagedActionOutput) String

String returns the string representation

type ApplyEnvironmentManagedActionRequest

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

ApplyEnvironmentManagedActionRequest is a API request type for the ApplyEnvironmentManagedAction API operation.

func (ApplyEnvironmentManagedActionRequest) Send

Send marshals and sends the ApplyEnvironmentManagedAction API request.

type AutoScalingGroup

type AutoScalingGroup struct {

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

Describes an Auto Scaling launch configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AutoScalingGroup

func (AutoScalingGroup) GoString

func (s AutoScalingGroup) GoString() string

GoString returns the string representation

func (AutoScalingGroup) String

func (s AutoScalingGroup) String() string

String returns the string representation

type BuildConfiguration

type BuildConfiguration struct {

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

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

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

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

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

Settings for an AWS CodeBuild build. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/BuildConfiguration

func (BuildConfiguration) GoString

func (s BuildConfiguration) GoString() string

GoString returns the string representation

func (BuildConfiguration) String

func (s BuildConfiguration) String() string

String returns the string representation

func (*BuildConfiguration) Validate

func (s *BuildConfiguration) Validate() error

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

type Builder

type Builder struct {

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

The builder used to build the custom platform. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Builder

func (Builder) GoString

func (s Builder) GoString() string

GoString returns the string representation

func (Builder) String

func (s Builder) String() string

String returns the string representation

type CPUUtilization

type CPUUtilization struct {

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

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

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

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

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

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

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

CPU utilization metrics for an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CPUUtilization

func (CPUUtilization) GoString

func (s CPUUtilization) GoString() string

GoString returns the string representation

func (CPUUtilization) String

func (s CPUUtilization) String() string

String returns the string representation

type CheckDNSAvailabilityInput

type CheckDNSAvailabilityInput struct {

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

Results message indicating whether a CNAME is available. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityMessage

func (CheckDNSAvailabilityInput) GoString

func (s CheckDNSAvailabilityInput) GoString() string

GoString returns the string representation

func (CheckDNSAvailabilityInput) String

func (s CheckDNSAvailabilityInput) String() string

String returns the string representation

func (*CheckDNSAvailabilityInput) Validate

func (s *CheckDNSAvailabilityInput) Validate() error

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

type CheckDNSAvailabilityOutput

type CheckDNSAvailabilityOutput struct {

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

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

Indicates if the specified CNAME is available. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityResultMessage

func (CheckDNSAvailabilityOutput) GoString

func (s CheckDNSAvailabilityOutput) GoString() string

GoString returns the string representation

func (CheckDNSAvailabilityOutput) SDKResponseMetadata

func (s CheckDNSAvailabilityOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CheckDNSAvailabilityOutput) String

String returns the string representation

type CheckDNSAvailabilityRequest

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

CheckDNSAvailabilityRequest is a API request type for the CheckDNSAvailability API operation.

func (CheckDNSAvailabilityRequest) Send

Send marshals and sends the CheckDNSAvailability API request.

type ComposeEnvironmentsInput

type ComposeEnvironmentsInput struct {

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

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

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

Request to create or update a group of environments. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsMessage

func (ComposeEnvironmentsInput) GoString

func (s ComposeEnvironmentsInput) GoString() string

GoString returns the string representation

func (ComposeEnvironmentsInput) String

func (s ComposeEnvironmentsInput) String() string

String returns the string representation

func (*ComposeEnvironmentsInput) Validate

func (s *ComposeEnvironmentsInput) Validate() error

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

type ComposeEnvironmentsRequest

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

ComposeEnvironmentsRequest is a API request type for the ComposeEnvironments API operation.

func (ComposeEnvironmentsRequest) Send

Send marshals and sends the ComposeEnvironments API request.

type ComputeType

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

Enum values for ComputeType

func (ComputeType) MarshalValue

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

func (ComputeType) MarshalValueBuf

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

type ConfigurationDeploymentStatus

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

Enum values for ConfigurationDeploymentStatus

func (ConfigurationDeploymentStatus) MarshalValue

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

func (ConfigurationDeploymentStatus) MarshalValueBuf

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

type ConfigurationOptionDescription

type ConfigurationOptionDescription struct {

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

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

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

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

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

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

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

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

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

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

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

Describes the possible values for a configuration option. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionDescription

func (ConfigurationOptionDescription) GoString

GoString returns the string representation

func (ConfigurationOptionDescription) String

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

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

A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionSetting

func (ConfigurationOptionSetting) GoString

func (s ConfigurationOptionSetting) GoString() string

GoString returns the string representation

func (ConfigurationOptionSetting) String

String returns the string representation

func (*ConfigurationOptionSetting) Validate

func (s *ConfigurationOptionSetting) Validate() error

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

type ConfigurationOptionValueType

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

Enum values for ConfigurationOptionValueType

func (ConfigurationOptionValueType) MarshalValue

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

func (ConfigurationOptionValueType) MarshalValueBuf

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

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 is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// Describes the application.
	Description *string `type:"string"`

	// Specify an application resource lifecycle configuration to prevent your application
	// from accumulating too many versions.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`
	// contains filtered or unexported fields
}

Request to create an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationMessage

func (CreateApplicationInput) GoString

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationRequest

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

CreateApplicationRequest is a API request type for the CreateApplication API operation.

func (CreateApplicationRequest) Send

Send marshals and sends the CreateApplication API request.

type CreateApplicationVersionInput

type CreateApplicationVersionInput struct {

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

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

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

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

	// Preprocesses and validates the environment manifest (env.yaml) and configuration
	// files (*.config files in the .ebextensions folder) in the source bundle.
	// Validating configuration files can identify issues prior to deploying the
	// application version to an environment.
	//
	// The Process option validates Elastic Beanstalk configuration files. It doesn't
	// validate your application's configuration files, like proxy server or Docker
	// configuration.
	Process *bool `type:"boolean"`

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

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

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

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

func (CreateApplicationVersionInput) GoString

GoString returns the string representation

func (CreateApplicationVersionInput) String

String returns the string representation

func (*CreateApplicationVersionInput) Validate

func (s *CreateApplicationVersionInput) Validate() error

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

type CreateApplicationVersionRequest

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

CreateApplicationVersionRequest is a API request type for the CreateApplicationVersion API operation.

func (CreateApplicationVersionRequest) Send

Send marshals and sends the CreateApplicationVersion API request.

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 is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

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

	// The ID of the environment used with this configuration template.
	EnvironmentId *string `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 ARN of the custom platform.
	PlatformArn *string `type:"string"`

	// 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 is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to create a configuration template. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage

func (CreateConfigurationTemplateInput) GoString

GoString returns the string representation

func (CreateConfigurationTemplateInput) String

String returns the string representation

func (*CreateConfigurationTemplateInput) Validate

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

type CreateConfigurationTemplateRequest

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

CreateConfigurationTemplateRequest is a API request type for the CreateConfigurationTemplate API operation.

func (CreateConfigurationTemplateRequest) Send

Send marshals and sends the CreateConfigurationTemplate API request.

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 is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// If specified, the environment attempts to use this value as the prefix for
	// the CNAME. If not specified, the CNAME is generated automatically by appending
	// a random alphanumeric string to the environment name.
	CNAMEPrefix *string `min:"4" 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 40 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 within a region in your account. If the specified
	// name already exists in the region, 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 `min:"4" type:"string"`

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

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

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

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

	// This is an alternative to specifying a template name. If specified, AWS Elastic
	// Beanstalk sets the configuration values to the default values associated
	// with the specified solution stack.
	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.
	TemplateName *string `min:"1" 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 `min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (CreateEnvironmentInput) GoString

func (s CreateEnvironmentInput) GoString() string

GoString returns the string representation

func (CreateEnvironmentInput) String

func (s CreateEnvironmentInput) String() string

String returns the string representation

func (*CreateEnvironmentInput) Validate

func (s *CreateEnvironmentInput) Validate() error

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

type CreateEnvironmentRequest

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

CreateEnvironmentRequest is a API request type for the CreateEnvironment API operation.

func (CreateEnvironmentRequest) Send

Send marshals and sends the CreateEnvironment API request.

type CreatePlatformVersionInput

type CreatePlatformVersionInput struct {

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

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

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

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

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

Request to create a new platform version. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionRequest

func (CreatePlatformVersionInput) GoString

func (s CreatePlatformVersionInput) GoString() string

GoString returns the string representation

func (CreatePlatformVersionInput) String

String returns the string representation

func (*CreatePlatformVersionInput) Validate

func (s *CreatePlatformVersionInput) Validate() error

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

type CreatePlatformVersionOutput

type CreatePlatformVersionOutput struct {

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

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

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

func (CreatePlatformVersionOutput) GoString

func (s CreatePlatformVersionOutput) GoString() string

GoString returns the string representation

func (CreatePlatformVersionOutput) SDKResponseMetadata

func (s CreatePlatformVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreatePlatformVersionOutput) String

String returns the string representation

type CreatePlatformVersionRequest

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

CreatePlatformVersionRequest is a API request type for the CreatePlatformVersion API operation.

func (CreatePlatformVersionRequest) Send

Send marshals and sends the CreatePlatformVersion API request.

type CreateStorageLocationInput

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

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

func (CreateStorageLocationInput) GoString

func (s CreateStorageLocationInput) GoString() string

GoString returns the string representation

func (CreateStorageLocationInput) String

String returns the string representation

type CreateStorageLocationOutput

type CreateStorageLocationOutput struct {

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

Results of a CreateStorageLocationResult call. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationResultMessage

func (CreateStorageLocationOutput) GoString

func (s CreateStorageLocationOutput) GoString() string

GoString returns the string representation

func (CreateStorageLocationOutput) SDKResponseMetadata

func (s CreateStorageLocationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateStorageLocationOutput) String

String returns the string representation

type CreateStorageLocationRequest

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

CreateStorageLocationRequest is a API request type for the CreateStorageLocation API operation.

func (CreateStorageLocationRequest) Send

Send marshals and sends the CreateStorageLocation API request.

type CustomAmi

type CustomAmi struct {

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

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

A custom AMI available to platforms. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CustomAmi

func (CustomAmi) GoString

func (s CustomAmi) GoString() string

GoString returns the string representation

func (CustomAmi) String

func (s CustomAmi) String() string

String returns the string representation

type DeleteApplicationInput

type DeleteApplicationInput struct {

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

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

Request to delete an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationMessage

func (DeleteApplicationInput) GoString

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput

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

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

func (DeleteApplicationOutput) GoString

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) SDKResponseMetadata

func (s DeleteApplicationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationRequest

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

DeleteApplicationRequest is a API request type for the DeleteApplication API operation.

func (DeleteApplicationRequest) Send

Send marshals and sends the DeleteApplication API request.

type DeleteApplicationVersionInput

type DeleteApplicationVersionInput struct {

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

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

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

Request to delete an application version. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionMessage

func (DeleteApplicationVersionInput) GoString

GoString returns the string representation

func (DeleteApplicationVersionInput) String

String returns the string representation

func (*DeleteApplicationVersionInput) Validate

func (s *DeleteApplicationVersionInput) Validate() error

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

type DeleteApplicationVersionOutput

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

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

func (DeleteApplicationVersionOutput) GoString

GoString returns the string representation

func (DeleteApplicationVersionOutput) SDKResponseMetadata

func (s DeleteApplicationVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApplicationVersionOutput) String

String returns the string representation

type DeleteApplicationVersionRequest

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

DeleteApplicationVersionRequest is a API request type for the DeleteApplicationVersion API operation.

func (DeleteApplicationVersionRequest) Send

Send marshals and sends the DeleteApplicationVersion API request.

type DeleteConfigurationTemplateInput

type DeleteConfigurationTemplateInput struct {

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

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

Request to delete a configuration template. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateMessage

func (DeleteConfigurationTemplateInput) GoString

GoString returns the string representation

func (DeleteConfigurationTemplateInput) String

String returns the string representation

func (*DeleteConfigurationTemplateInput) Validate

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

type DeleteConfigurationTemplateOutput

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

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

func (DeleteConfigurationTemplateOutput) GoString

GoString returns the string representation

func (DeleteConfigurationTemplateOutput) SDKResponseMetadata

func (s DeleteConfigurationTemplateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteConfigurationTemplateOutput) String

String returns the string representation

type DeleteConfigurationTemplateRequest

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

DeleteConfigurationTemplateRequest is a API request type for the DeleteConfigurationTemplate API operation.

func (DeleteConfigurationTemplateRequest) Send

Send marshals and sends the DeleteConfigurationTemplate API request.

type DeleteEnvironmentConfigurationInput

type DeleteEnvironmentConfigurationInput struct {

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

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

Request to delete a draft environment configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationMessage

func (DeleteEnvironmentConfigurationInput) GoString

GoString returns the string representation

func (DeleteEnvironmentConfigurationInput) String

String returns the string representation

func (*DeleteEnvironmentConfigurationInput) Validate

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

type DeleteEnvironmentConfigurationOutput

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

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

func (DeleteEnvironmentConfigurationOutput) GoString

GoString returns the string representation

func (DeleteEnvironmentConfigurationOutput) SDKResponseMetadata

func (s DeleteEnvironmentConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEnvironmentConfigurationOutput) String

String returns the string representation

type DeleteEnvironmentConfigurationRequest

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

DeleteEnvironmentConfigurationRequest is a API request type for the DeleteEnvironmentConfiguration API operation.

func (DeleteEnvironmentConfigurationRequest) Send

Send marshals and sends the DeleteEnvironmentConfiguration API request.

type DeletePlatformVersionInput

type DeletePlatformVersionInput struct {

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

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

func (DeletePlatformVersionInput) GoString

func (s DeletePlatformVersionInput) GoString() string

GoString returns the string representation

func (DeletePlatformVersionInput) String

String returns the string representation

type DeletePlatformVersionOutput

type DeletePlatformVersionOutput struct {

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

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

func (DeletePlatformVersionOutput) GoString

func (s DeletePlatformVersionOutput) GoString() string

GoString returns the string representation

func (DeletePlatformVersionOutput) SDKResponseMetadata

func (s DeletePlatformVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeletePlatformVersionOutput) String

String returns the string representation

type DeletePlatformVersionRequest

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

DeletePlatformVersionRequest is a API request type for the DeletePlatformVersion API operation.

func (DeletePlatformVersionRequest) Send

Send marshals and sends the DeletePlatformVersion API request.

type Deployment

type Deployment struct {

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

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

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

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

Information about an application version deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Deployment

func (Deployment) GoString

func (s Deployment) GoString() string

GoString returns the string representation

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DescribeAccountAttributesInput

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

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

func (DescribeAccountAttributesInput) GoString

GoString returns the string representation

func (DescribeAccountAttributesInput) String

String returns the string representation

type DescribeAccountAttributesOutput

type DescribeAccountAttributesOutput struct {

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

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

func (DescribeAccountAttributesOutput) GoString

GoString returns the string representation

func (DescribeAccountAttributesOutput) SDKResponseMetadata

func (s DescribeAccountAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeAccountAttributesOutput) String

String returns the string representation

type DescribeAccountAttributesRequest

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

DescribeAccountAttributesRequest is a API request type for the DescribeAccountAttributes API operation.

func (DescribeAccountAttributesRequest) Send

Send marshals and sends the DescribeAccountAttributes API request.

type DescribeApplicationVersionsInput

type DescribeApplicationVersionsInput struct {

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

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

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

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

Request to describe application versions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersionsMessage

func (DescribeApplicationVersionsInput) GoString

GoString returns the string representation

func (DescribeApplicationVersionsInput) String

String returns the string representation

func (*DescribeApplicationVersionsInput) Validate

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

type DescribeApplicationVersionsOutput

type DescribeApplicationVersionsOutput struct {

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

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

Result message wrapping a list of application version descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionsMessage

func (DescribeApplicationVersionsOutput) GoString

GoString returns the string representation

func (DescribeApplicationVersionsOutput) SDKResponseMetadata

func (s DescribeApplicationVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeApplicationVersionsOutput) String

String returns the string representation

type DescribeApplicationVersionsRequest

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

DescribeApplicationVersionsRequest is a API request type for the DescribeApplicationVersions API operation.

func (DescribeApplicationVersionsRequest) Send

Send marshals and sends the DescribeApplicationVersions API request.

type DescribeApplicationsInput

type DescribeApplicationsInput struct {

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

Request to describe one or more applications. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationsMessage

func (DescribeApplicationsInput) GoString

func (s DescribeApplicationsInput) GoString() string

GoString returns the string representation

func (DescribeApplicationsInput) String

func (s DescribeApplicationsInput) String() string

String returns the string representation

type DescribeApplicationsOutput

type DescribeApplicationsOutput struct {

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

Result message containing a list of application descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionsMessage

func (DescribeApplicationsOutput) GoString

func (s DescribeApplicationsOutput) GoString() string

GoString returns the string representation

func (DescribeApplicationsOutput) SDKResponseMetadata

func (s DescribeApplicationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeApplicationsOutput) String

String returns the string representation

type DescribeApplicationsRequest

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

DescribeApplicationsRequest is a API request type for the DescribeApplications API operation.

func (DescribeApplicationsRequest) Send

Send marshals and sends the DescribeApplications API request.

type DescribeConfigurationOptionsInput

type DescribeConfigurationOptionsInput struct {

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

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

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

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

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

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

Result message containing a list of application version descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptionsMessage

func (DescribeConfigurationOptionsInput) GoString

GoString returns the string representation

func (DescribeConfigurationOptionsInput) String

String returns the string representation

func (*DescribeConfigurationOptionsInput) Validate

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

type DescribeConfigurationOptionsOutput

type DescribeConfigurationOptionsOutput struct {

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

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

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

Describes the settings for a specified configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionsDescription

func (DescribeConfigurationOptionsOutput) GoString

GoString returns the string representation

func (DescribeConfigurationOptionsOutput) SDKResponseMetadata

func (s DescribeConfigurationOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeConfigurationOptionsOutput) String

String returns the string representation

type DescribeConfigurationOptionsRequest

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

DescribeConfigurationOptionsRequest is a API request type for the DescribeConfigurationOptions API operation.

func (DescribeConfigurationOptionsRequest) Send

Send marshals and sends the DescribeConfigurationOptions API request.

type DescribeConfigurationSettingsInput

type DescribeConfigurationSettingsInput struct {

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

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

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

Result message containing all of the configuration settings for a specified solution stack or configuration template. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettingsMessage

func (DescribeConfigurationSettingsInput) GoString

GoString returns the string representation

func (DescribeConfigurationSettingsInput) String

String returns the string representation

func (*DescribeConfigurationSettingsInput) Validate

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

type DescribeConfigurationSettingsOutput

type DescribeConfigurationSettingsOutput struct {

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

The results from a request to change the configuration settings of an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescriptions

func (DescribeConfigurationSettingsOutput) GoString

GoString returns the string representation

func (DescribeConfigurationSettingsOutput) SDKResponseMetadata

func (s DescribeConfigurationSettingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeConfigurationSettingsOutput) String

String returns the string representation

type DescribeConfigurationSettingsRequest

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

DescribeConfigurationSettingsRequest is a API request type for the DescribeConfigurationSettings API operation.

func (DescribeConfigurationSettingsRequest) Send

Send marshals and sends the DescribeConfigurationSettings API request.

type DescribeEnvironmentHealthInput

type DescribeEnvironmentHealthInput struct {

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

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

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

See the example below to learn how to create a request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthRequest

func (DescribeEnvironmentHealthInput) GoString

GoString returns the string representation

func (DescribeEnvironmentHealthInput) String

String returns the string representation

func (*DescribeEnvironmentHealthInput) Validate

func (s *DescribeEnvironmentHealthInput) Validate() error

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

type DescribeEnvironmentHealthOutput

type DescribeEnvironmentHealthOutput struct {

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

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

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

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

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

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

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

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

Health details for an AWS Elastic Beanstalk environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthResult

func (DescribeEnvironmentHealthOutput) GoString

GoString returns the string representation

func (DescribeEnvironmentHealthOutput) SDKResponseMetadata

func (s DescribeEnvironmentHealthOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEnvironmentHealthOutput) String

String returns the string representation

type DescribeEnvironmentHealthRequest

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

DescribeEnvironmentHealthRequest is a API request type for the DescribeEnvironmentHealth API operation.

func (DescribeEnvironmentHealthRequest) Send

Send marshals and sends the DescribeEnvironmentHealth API request.

type DescribeEnvironmentManagedActionHistoryInput

type DescribeEnvironmentManagedActionHistoryInput struct {

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

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

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

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

Request to list completed and failed managed actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryRequest

func (DescribeEnvironmentManagedActionHistoryInput) GoString

GoString returns the string representation

func (DescribeEnvironmentManagedActionHistoryInput) String

String returns the string representation

func (*DescribeEnvironmentManagedActionHistoryInput) Validate

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

type DescribeEnvironmentManagedActionHistoryOutput

type DescribeEnvironmentManagedActionHistoryOutput struct {

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

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

A result message containing a list of completed and failed managed actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryResult

func (DescribeEnvironmentManagedActionHistoryOutput) GoString

GoString returns the string representation

func (DescribeEnvironmentManagedActionHistoryOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEnvironmentManagedActionHistoryOutput) String

String returns the string representation

type DescribeEnvironmentManagedActionHistoryRequest

DescribeEnvironmentManagedActionHistoryRequest is a API request type for the DescribeEnvironmentManagedActionHistory API operation.

func (DescribeEnvironmentManagedActionHistoryRequest) Send

Send marshals and sends the DescribeEnvironmentManagedActionHistory API request.

type DescribeEnvironmentManagedActionsInput

type DescribeEnvironmentManagedActionsInput struct {

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

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

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

Request to list an environment's upcoming and in-progress managed actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsRequest

func (DescribeEnvironmentManagedActionsInput) GoString

GoString returns the string representation

func (DescribeEnvironmentManagedActionsInput) String

String returns the string representation

type DescribeEnvironmentManagedActionsOutput

type DescribeEnvironmentManagedActionsOutput struct {

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

The result message containing a list of managed actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsResult

func (DescribeEnvironmentManagedActionsOutput) GoString

GoString returns the string representation

func (DescribeEnvironmentManagedActionsOutput) SDKResponseMetadata

func (s DescribeEnvironmentManagedActionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEnvironmentManagedActionsOutput) String

String returns the string representation

type DescribeEnvironmentManagedActionsRequest

DescribeEnvironmentManagedActionsRequest is a API request type for the DescribeEnvironmentManagedActions API operation.

func (DescribeEnvironmentManagedActionsRequest) Send

Send marshals and sends the DescribeEnvironmentManagedActions API request.

type DescribeEnvironmentResourcesInput

type DescribeEnvironmentResourcesInput struct {

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

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

Request to describe the resources in an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResourcesMessage

func (DescribeEnvironmentResourcesInput) GoString

GoString returns the string representation

func (DescribeEnvironmentResourcesInput) String

String returns the string representation

func (*DescribeEnvironmentResourcesInput) Validate

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

type DescribeEnvironmentResourcesOutput

type DescribeEnvironmentResourcesOutput struct {

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

Result message containing a list of environment resource descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescriptionsMessage

func (DescribeEnvironmentResourcesOutput) GoString

GoString returns the string representation

func (DescribeEnvironmentResourcesOutput) SDKResponseMetadata

func (s DescribeEnvironmentResourcesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEnvironmentResourcesOutput) String

String returns the string representation

type DescribeEnvironmentResourcesRequest

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

DescribeEnvironmentResourcesRequest is a API request type for the DescribeEnvironmentResources API operation.

func (DescribeEnvironmentResourcesRequest) Send

Send marshals and sends the DescribeEnvironmentResources API request.

type DescribeEnvironmentsInput

type DescribeEnvironmentsInput struct {

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

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

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

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

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

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

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

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

Request to describe one or more environments. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentsMessage

func (DescribeEnvironmentsInput) GoString

func (s DescribeEnvironmentsInput) GoString() string

GoString returns the string representation

func (DescribeEnvironmentsInput) String

func (s DescribeEnvironmentsInput) String() string

String returns the string representation

func (*DescribeEnvironmentsInput) Validate

func (s *DescribeEnvironmentsInput) Validate() error

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

type DescribeEnvironmentsOutput

type DescribeEnvironmentsOutput struct {

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

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

Result message containing a list of environment descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsOutput

func (DescribeEnvironmentsOutput) GoString

func (s DescribeEnvironmentsOutput) GoString() string

GoString returns the string representation

func (DescribeEnvironmentsOutput) SDKResponseMetadata

func (s DescribeEnvironmentsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEnvironmentsOutput) String

String returns the string representation

type DescribeEnvironmentsRequest

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

DescribeEnvironmentsRequest is a API request type for the DescribeEnvironments API operation.

func (DescribeEnvironmentsRequest) Send

Send marshals and sends the DescribeEnvironments API request.

type DescribeEventsInput

type DescribeEventsInput struct {

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

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

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

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

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

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

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

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

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

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

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

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

Request to retrieve a list of events for an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEventsMessage

func (DescribeEventsInput) GoString

func (s DescribeEventsInput) GoString() string

GoString returns the string representation

func (DescribeEventsInput) String

func (s DescribeEventsInput) String() string

String returns the string representation

func (*DescribeEventsInput) Validate

func (s *DescribeEventsInput) Validate() error

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

type DescribeEventsOutput

type DescribeEventsOutput struct {

	// A list of EventDescription.
	Events []EventDescription `type:"list"`

	// If returned, this indicates that there are more results to obtain. Use this
	// token in the next DescribeEvents call to get the next batch of events.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Result message wrapping a list of event descriptions. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescriptionsMessage

func (DescribeEventsOutput) GoString

func (s DescribeEventsOutput) GoString() string

GoString returns the string representation

func (DescribeEventsOutput) SDKResponseMetadata

func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEventsOutput) String

func (s DescribeEventsOutput) String() string

String returns the string representation

type DescribeEventsPager

type DescribeEventsPager struct {
	aws.Pager
}

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

func (*DescribeEventsPager) CurrentPage

func (p *DescribeEventsPager) CurrentPage() *DescribeEventsOutput

type DescribeEventsRequest

type DescribeEventsRequest struct {
	*aws.Request
	Input *DescribeEventsInput
	Copy  func(*DescribeEventsInput) DescribeEventsRequest
}

DescribeEventsRequest is a API request type for the DescribeEvents API operation.

func (*DescribeEventsRequest) Paginate

func (p *DescribeEventsRequest) Paginate(opts ...aws.Option) DescribeEventsPager

Paginate pages iterates over the pages of a DescribeEventsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a DescribeEvents operation.
		req := client.DescribeEventsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (DescribeEventsRequest) Send

Send marshals and sends the DescribeEvents API request.

type DescribeInstancesHealthInput

type DescribeInstancesHealthInput struct {

	// Specifies the response elements you wish to receive. To retrieve all attributes,
	// set to All. If no attribute names are specified, returns a list of instances.
	AttributeNames []InstancesHealthAttribute `type:"list"`

	// Specify the AWS Elastic Beanstalk environment by ID.
	EnvironmentId *string `type:"string"`

	// Specify the AWS Elastic Beanstalk environment by name.
	EnvironmentName *string `min:"4" type:"string"`

	// Specify the pagination token returned by a previous call.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Parameters for a call to DescribeInstancesHealth. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthRequest

func (DescribeInstancesHealthInput) GoString

func (s DescribeInstancesHealthInput) GoString() string

GoString returns the string representation

func (DescribeInstancesHealthInput) String

String returns the string representation

func (*DescribeInstancesHealthInput) Validate

func (s *DescribeInstancesHealthInput) Validate() error

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

type DescribeInstancesHealthOutput

type DescribeInstancesHealthOutput struct {

	// Detailed health information about each instance.
	InstanceHealthList []SingleInstanceHealth `type:"list"`

	// Pagination token for the next page of results, if available.
	NextToken *string `min:"1" type:"string"`

	// The date and time that the health information was retrieved.
	RefreshedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthResult

func (DescribeInstancesHealthOutput) GoString

GoString returns the string representation

func (DescribeInstancesHealthOutput) SDKResponseMetadata

func (s DescribeInstancesHealthOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeInstancesHealthOutput) String

String returns the string representation

type DescribeInstancesHealthRequest

type DescribeInstancesHealthRequest struct {
	*aws.Request
	Input *DescribeInstancesHealthInput
	Copy  func(*DescribeInstancesHealthInput) DescribeInstancesHealthRequest
}

DescribeInstancesHealthRequest is a API request type for the DescribeInstancesHealth API operation.

func (DescribeInstancesHealthRequest) Send

Send marshals and sends the DescribeInstancesHealth API request.

type DescribePlatformVersionInput

type DescribePlatformVersionInput struct {

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

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

func (DescribePlatformVersionInput) GoString

func (s DescribePlatformVersionInput) GoString() string

GoString returns the string representation

func (DescribePlatformVersionInput) String

String returns the string representation

type DescribePlatformVersionOutput

type DescribePlatformVersionOutput struct {

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

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

func (DescribePlatformVersionOutput) GoString

GoString returns the string representation

func (DescribePlatformVersionOutput) SDKResponseMetadata

func (s DescribePlatformVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribePlatformVersionOutput) String

String returns the string representation

type DescribePlatformVersionRequest

type DescribePlatformVersionRequest struct {
	*aws.Request
	Input *DescribePlatformVersionInput
	Copy  func(*DescribePlatformVersionInput) DescribePlatformVersionRequest
}

DescribePlatformVersionRequest is a API request type for the DescribePlatformVersion API operation.

func (DescribePlatformVersionRequest) Send

Send marshals and sends the DescribePlatformVersion API request.

type ElasticBeanstalk

type ElasticBeanstalk struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *ElasticBeanstalk

New creates a new instance of the ElasticBeanstalk client with a config.

Example:

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

func (*ElasticBeanstalk) AbortEnvironmentUpdateRequest

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

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

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

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

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

Example (Shared00)

To abort a deployment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) ApplyEnvironmentManagedActionRequest

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

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

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

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

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

func (*ElasticBeanstalk) CheckDNSAvailabilityRequest

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

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

Checks if the specified CNAME is available.

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

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

Example (Shared00)

To check the availability of a CNAME

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) ComposeEnvironmentsRequest

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

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

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

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

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

func (*ElasticBeanstalk) CreateApplicationRequest

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

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

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

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

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

Example (Shared00)

To create a new application

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) CreateApplicationVersionRequest

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

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

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

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation.

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

Specify a source bundle in S3 with SourceBundle

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

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 sending a request using the CreateApplicationVersionRequest method.
req := client.CreateApplicationVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

Example (Shared00)

To create a new application

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) CreateConfigurationTemplateRequest

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

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

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 sending a request using the CreateConfigurationTemplateRequest method. req := client.CreateConfigurationTemplateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }

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

Example (Shared00)

To create a configuration template

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) CreateEnvironmentRequest

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

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

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

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

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

Example (Shared00)

To create a new environment for an application

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) CreatePlatformVersionRequest

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

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

Create a new version of your custom platform.

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

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

func (*ElasticBeanstalk) CreateStorageLocationRequest

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

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

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

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

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

Example (Shared00)

To create a new environment for an application

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DeleteApplicationRequest

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

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

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

You cannot delete an application that has a running environment.

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

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

Example (Shared00)

To delete an application

The following operation deletes an application named my-app:

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DeleteApplicationVersionRequest

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

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

Deletes the specified version from the specified application.

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

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

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

Example (Shared00)

To delete an application version

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DeleteConfigurationTemplateRequest

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

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

Deletes the specified configuration template.

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

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

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

Example (Shared00)

To delete a configuration template

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DeleteEnvironmentConfigurationRequest

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

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

Deletes the draft configuration associated with the running environment.

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

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

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

Example (Shared00)

To delete a draft configuration

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DeletePlatformVersionRequest

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

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

Deletes the specified version of a custom platform.

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

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

func (*ElasticBeanstalk) DescribeAccountAttributesRequest

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

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

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

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

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

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

func (*ElasticBeanstalk) DescribeApplicationVersionsRequest

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

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

Retrieve a list of application versions.

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

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

Example (Shared00)

To view information about an application version

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeApplicationsRequest

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

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

Returns the descriptions of existing applications.

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

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

Example (Shared00)

To view a list of applications

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeConfigurationOptionsRequest

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

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

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

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

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

Example (Shared00)

To view configuration options for an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeConfigurationSettingsRequest

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

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

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

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

Related Topics

  • DeleteEnvironmentConfiguration

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

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

Example (Shared00)

To view configurations settings for an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeEnvironmentHealthRequest

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

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

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

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

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

Example (Shared00)

To view environment health

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest

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

Lists an environment's completed and failed managed actions.

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

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

func (*ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest

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

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

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

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

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

func (*ElasticBeanstalk) DescribeEnvironmentResourcesRequest

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

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

Returns AWS resources for this environment.

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

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

Example (Shared00)

To view information about the AWS resources in your environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeEnvironmentsRequest

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

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

Returns descriptions for existing environments.

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

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

Example (Shared00)

To view information about an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeEventsRequest

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

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

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

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

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

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

Example (Shared00)

To view events for an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribeInstancesHealthRequest

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

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

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

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

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

Example (Shared00)

To view environment health

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) DescribePlatformVersionRequest

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

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

Describes the version of the platform.

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

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

func (*ElasticBeanstalk) ListAvailableSolutionStacksRequest

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

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

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

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

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

Example (Shared00)

To view solution stacks

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) ListPlatformVersionsRequest

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

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

Lists the available platforms.

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

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

func (*ElasticBeanstalk) ListTagsForResourceRequest

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

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

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

Currently, Elastic Beanstalk only supports tagging of Elastic Beanstalk environments. For details about environment tagging, see Tagging Resources in Your Elastic Beanstalk Environment (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.tagging.html).

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

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

func (*ElasticBeanstalk) RebuildEnvironmentRequest

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

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

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

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

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

Example (Shared00)

To rebuild an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) RequestEnvironmentInfoRequest

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

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

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

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

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

Use RetrieveEnvironmentInfo to obtain the set of logs.

Related Topics

  • RetrieveEnvironmentInfo

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

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

Example (Shared00)

To request tailed logs

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) RestartAppServerRequest

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

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

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

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

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

Example (Shared00)

To restart application servers

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) RetrieveEnvironmentInfoRequest

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

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

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo

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

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

Example (Shared00)

To retrieve tailed logs

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) SwapEnvironmentCNAMEsRequest

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

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

Swaps the CNAMEs of two environments.

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

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

Example (Shared00)

To swap environment CNAMES

The following operation swaps the assigned subdomains of two environments:

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) TerminateEnvironmentRequest

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

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

Terminates the specified environment.

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

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

Example (Shared00)

To terminate an environment

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) UpdateApplicationRequest

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

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

Updates the specified application to have the specified properties.

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

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

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

Example (Shared00)

To change an application's description

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest

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

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

Modifies lifecycle settings for an application.

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

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

func (*ElasticBeanstalk) UpdateApplicationVersionRequest

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

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

Updates the specified application version to have the specified properties.

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

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

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

Example (Shared00)

To change an application version's description

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) UpdateConfigurationTemplateRequest

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

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

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

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

Related Topics

  • DescribeConfigurationOptions

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

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

Example (Shared00)

To update a configuration template

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) UpdateEnvironmentRequest

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

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

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

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

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

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

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

Example (Shared00)

To update an environment to a new version

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

Example (Shared01)

To configure option settings

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

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

func (*ElasticBeanstalk) UpdateTagsForResourceRequest

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

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

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

Currently, Elastic Beanstalk only supports tagging of Elastic Beanstalk environments. For details about environment tagging, see Tagging Resources in Your Elastic Beanstalk Environment (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.tagging.html).

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

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

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

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

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

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

func (*ElasticBeanstalk) ValidateConfigurationSettingsRequest

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

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

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

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

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

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

Example (Shared00)

To validate configuration settings

The following operation validates a CloudWatch custom metrics config document:

package main

import (
	"fmt"

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

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

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

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

	fmt.Println(result)
}
Output:

type EnvironmentHealth

type EnvironmentHealth string
const (
	EnvironmentHealthGreen  EnvironmentHealth = "Green"
	EnvironmentHealthYellow EnvironmentHealth = "Yellow"
	EnvironmentHealthRed    EnvironmentHealth = "Red"
	EnvironmentHealthGrey   EnvironmentHealth = "Grey"
)

Enum values for EnvironmentHealth

func (EnvironmentHealth) MarshalValue

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

func (EnvironmentHealth) MarshalValueBuf

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

type EnvironmentHealthAttribute

type EnvironmentHealthAttribute string
const (
	EnvironmentHealthAttributeStatus             EnvironmentHealthAttribute = "Status"
	EnvironmentHealthAttributeColor              EnvironmentHealthAttribute = "Color"
	EnvironmentHealthAttributeCauses             EnvironmentHealthAttribute = "Causes"
	EnvironmentHealthAttributeApplicationMetrics EnvironmentHealthAttribute = "ApplicationMetrics"
	EnvironmentHealthAttributeInstancesHealth    EnvironmentHealthAttribute = "InstancesHealth"
	EnvironmentHealthAttributeAll                EnvironmentHealthAttribute = "All"
	EnvironmentHealthAttributeHealthStatus       EnvironmentHealthAttribute = "HealthStatus"
	EnvironmentHealthAttributeRefreshedAt        EnvironmentHealthAttribute = "RefreshedAt"
)

Enum values for EnvironmentHealthAttribute

func (EnvironmentHealthAttribute) MarshalValue

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

func (EnvironmentHealthAttribute) MarshalValueBuf

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

type EnvironmentHealthStatus

type EnvironmentHealthStatus string
const (
	EnvironmentHealthStatusNoData   EnvironmentHealthStatus = "NoData"
	EnvironmentHealthStatusUnknown  EnvironmentHealthStatus = "Unknown"
	EnvironmentHealthStatusPending  EnvironmentHealthStatus = "Pending"
	EnvironmentHealthStatusOk       EnvironmentHealthStatus = "Ok"
	EnvironmentHealthStatusInfo     EnvironmentHealthStatus = "Info"
	EnvironmentHealthStatusWarning  EnvironmentHealthStatus = "Warning"
	EnvironmentHealthStatusDegraded EnvironmentHealthStatus = "Degraded"
	EnvironmentHealthStatusSevere   EnvironmentHealthStatus = "Severe"
)

Enum values for EnvironmentHealthStatus

func (EnvironmentHealthStatus) MarshalValue

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

func (EnvironmentHealthStatus) MarshalValueBuf

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

type EnvironmentInfoDescription

type EnvironmentInfoDescription struct {

	// The Amazon EC2 Instance ID for this information.
	Ec2InstanceId *string `type:"string"`

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

	// The retrieved information.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentInfoDescription

func (EnvironmentInfoDescription) GoString

func (s EnvironmentInfoDescription) GoString() string

GoString returns the string representation

func (EnvironmentInfoDescription) String

String returns the string representation

type EnvironmentInfoType

type EnvironmentInfoType string
const (
	EnvironmentInfoTypeTail   EnvironmentInfoType = "tail"
	EnvironmentInfoTypeBundle EnvironmentInfoType = "bundle"
)

Enum values for EnvironmentInfoType

func (EnvironmentInfoType) MarshalValue

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

func (EnvironmentInfoType) MarshalValueBuf

func (enum EnvironmentInfoType) MarshalValueBuf(b []byte) ([]byte, error)
type EnvironmentLink struct {

	// The name of the linked environment (the dependency).
	EnvironmentName *string `type:"string"`

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

A link to another environment, defined in the environment's manifest. Links provide connection information in system properties that can be used to connect to another environment in the same group. See Environment Manifest (env.yaml) (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html) for details. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentLink

func (EnvironmentLink) GoString

func (s EnvironmentLink) GoString() string

GoString returns the string representation

func (EnvironmentLink) String

func (s EnvironmentLink) String() string

String returns the string representation

type EnvironmentResourceDescription

type EnvironmentResourceDescription struct {

	// The AutoScalingGroups used by this environment.
	AutoScalingGroups []AutoScalingGroup `type:"list"`

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

	// The Amazon EC2 instances used by this environment.
	Instances []Instance `type:"list"`

	// The Auto Scaling launch configurations in use by this environment.
	LaunchConfigurations []LaunchConfiguration `type:"list"`

	// The 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescription

func (EnvironmentResourceDescription) GoString

GoString returns the string representation

func (EnvironmentResourceDescription) String

String returns the string representation

type EnvironmentResourcesDescription

type EnvironmentResourcesDescription struct {

	// Describes the LoadBalancer.
	LoadBalancer *LoadBalancerDescription `type:"structure"`
	// contains filtered or unexported fields
}

Describes the AWS resources in use by this environment. This data is not live data. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourcesDescription

func (EnvironmentResourcesDescription) GoString

GoString returns the string representation

func (EnvironmentResourcesDescription) String

String returns the string representation

type EnvironmentStatus

type EnvironmentStatus string
const (
	EnvironmentStatusLaunching   EnvironmentStatus = "Launching"
	EnvironmentStatusUpdating    EnvironmentStatus = "Updating"
	EnvironmentStatusReady       EnvironmentStatus = "Ready"
	EnvironmentStatusTerminating EnvironmentStatus = "Terminating"
	EnvironmentStatusTerminated  EnvironmentStatus = "Terminated"
)

Enum values for EnvironmentStatus

func (EnvironmentStatus) MarshalValue

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

func (EnvironmentStatus) MarshalValueBuf

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

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 Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentTier

func (EnvironmentTier) GoString

func (s EnvironmentTier) GoString() string

GoString returns the string representation

func (EnvironmentTier) String

func (s EnvironmentTier) String() string

String returns the string representation

type EventDescription

type EventDescription struct {

	// The application associated with the event.
	ApplicationName *string `min:"1" type:"string"`

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

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

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

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

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

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

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

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

Describes an event. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescription

func (EventDescription) GoString

func (s EventDescription) GoString() string

GoString returns the string representation

func (EventDescription) String

func (s EventDescription) String() string

String returns the string representation

type EventSeverity

type EventSeverity string
const (
	EventSeverityTrace EventSeverity = "TRACE"
	EventSeverityDebug EventSeverity = "DEBUG"
	EventSeverityInfo  EventSeverity = "INFO"
	EventSeverityWarn  EventSeverity = "WARN"
	EventSeverityError EventSeverity = "ERROR"
	EventSeverityFatal EventSeverity = "FATAL"
)

Enum values for EventSeverity

func (EventSeverity) MarshalValue

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

func (EventSeverity) MarshalValueBuf

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

type FailureType

type FailureType string
const (
	FailureTypeUpdateCancelled         FailureType = "UpdateCancelled"
	FailureTypeCancellationFailed      FailureType = "CancellationFailed"
	FailureTypeRollbackFailed          FailureType = "RollbackFailed"
	FailureTypeRollbackSuccessful      FailureType = "RollbackSuccessful"
	FailureTypeInternalFailure         FailureType = "InternalFailure"
	FailureTypeInvalidEnvironmentState FailureType = "InvalidEnvironmentState"
	FailureTypePermissionsError        FailureType = "PermissionsError"
)

Enum values for FailureType

func (FailureType) MarshalValue

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

func (FailureType) MarshalValueBuf

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

type Instance

type Instance struct {

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

The description of an Amazon EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Instance

func (Instance) GoString

func (s Instance) GoString() string

GoString returns the string representation

func (Instance) String

func (s Instance) String() string

String returns the string representation

type InstanceHealthSummary

type InstanceHealthSummary struct {

	// Red. The health agent is reporting a high number of request failures or other
	// issues for an instance or environment.
	Degraded *int64 `type:"integer"`

	// Green. An operation is in progress on an instance.
	Info *int64 `type:"integer"`

	// Grey. AWS Elastic Beanstalk and the health agent are reporting no data on
	// an instance.
	NoData *int64 `type:"integer"`

	// Green. An instance is passing health checks and the health agent is not reporting
	// any problems.
	Ok *int64 `type:"integer"`

	// Grey. An operation is in progress on an instance within the command timeout.
	Pending *int64 `type:"integer"`

	// Red. The health agent is reporting a very high number of request failures
	// or other issues for an instance or environment.
	Severe *int64 `type:"integer"`

	// Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient
	// amount of data on an instance.
	Unknown *int64 `type:"integer"`

	// Yellow. The health agent is reporting a moderate number of request failures
	// or other issues for an instance or environment.
	Warning *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents summary information about the health of an instance. For more information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InstanceHealthSummary

func (InstanceHealthSummary) GoString

func (s InstanceHealthSummary) GoString() string

GoString returns the string representation

func (InstanceHealthSummary) String

func (s InstanceHealthSummary) String() string

String returns the string representation

type InstancesHealthAttribute

type InstancesHealthAttribute string
const (
	InstancesHealthAttributeHealthStatus       InstancesHealthAttribute = "HealthStatus"
	InstancesHealthAttributeColor              InstancesHealthAttribute = "Color"
	InstancesHealthAttributeCauses             InstancesHealthAttribute = "Causes"
	InstancesHealthAttributeApplicationMetrics InstancesHealthAttribute = "ApplicationMetrics"
	InstancesHealthAttributeRefreshedAt        InstancesHealthAttribute = "RefreshedAt"
	InstancesHealthAttributeLaunchedAt         InstancesHealthAttribute = "LaunchedAt"
	InstancesHealthAttributeSystem             InstancesHealthAttribute = "System"
	InstancesHealthAttributeDeployment         InstancesHealthAttribute = "Deployment"
	InstancesHealthAttributeAvailabilityZone   InstancesHealthAttribute = "AvailabilityZone"
	InstancesHealthAttributeInstanceType       InstancesHealthAttribute = "InstanceType"
	InstancesHealthAttributeAll                InstancesHealthAttribute = "All"
)

Enum values for InstancesHealthAttribute

func (InstancesHealthAttribute) MarshalValue

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

func (InstancesHealthAttribute) MarshalValueBuf

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

type Latency

type Latency struct {

	// The average latency for the slowest 90 percent of requests over the last
	// 10 seconds.
	P10 *float64 `type:"double"`

	// The average latency for the slowest 50 percent of requests over the last
	// 10 seconds.
	P50 *float64 `type:"double"`

	// The average latency for the slowest 25 percent of requests over the last
	// 10 seconds.
	P75 *float64 `type:"double"`

	// The average latency for the slowest 15 percent of requests over the last
	// 10 seconds.
	P85 *float64 `type:"double"`

	// The average latency for the slowest 10 percent of requests over the last
	// 10 seconds.
	P90 *float64 `type:"double"`

	// The average latency for the slowest 5 percent of requests over the last 10
	// seconds.
	P95 *float64 `type:"double"`

	// The average latency for the slowest 1 percent of requests over the last 10
	// seconds.
	P99 *float64 `type:"double"`

	// The average latency for the slowest 0.1 percent of requests over the last
	// 10 seconds.
	P999 *float64 `type:"double"`
	// contains filtered or unexported fields
}

Represents the average latency for the slowest X percent of requests over the last 10 seconds. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Latency

func (Latency) GoString

func (s Latency) GoString() string

GoString returns the string representation

func (Latency) String

func (s Latency) String() string

String returns the string representation

type LaunchConfiguration

type LaunchConfiguration struct {

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

Describes an Auto Scaling launch configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LaunchConfiguration

func (LaunchConfiguration) GoString

func (s LaunchConfiguration) GoString() string

GoString returns the string representation

func (LaunchConfiguration) String

func (s LaunchConfiguration) String() string

String returns the string representation

type ListAvailableSolutionStacksInput

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

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

func (ListAvailableSolutionStacksInput) GoString

GoString returns the string representation

func (ListAvailableSolutionStacksInput) String

String returns the string representation

type ListAvailableSolutionStacksOutput

type ListAvailableSolutionStacksOutput struct {

	// A list of available solution stacks and their SolutionStackDescription.
	SolutionStackDetails []SolutionStackDescription `type:"list"`

	// A list of available solution stacks.
	SolutionStacks []string `type:"list"`
	// contains filtered or unexported fields
}

A list of available AWS Elastic Beanstalk solution stacks. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksResultMessage

func (ListAvailableSolutionStacksOutput) GoString

GoString returns the string representation

func (ListAvailableSolutionStacksOutput) SDKResponseMetadata

func (s ListAvailableSolutionStacksOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListAvailableSolutionStacksOutput) String

String returns the string representation

type ListAvailableSolutionStacksRequest

type ListAvailableSolutionStacksRequest struct {
	*aws.Request
	Input *ListAvailableSolutionStacksInput
	Copy  func(*ListAvailableSolutionStacksInput) ListAvailableSolutionStacksRequest
}

ListAvailableSolutionStacksRequest is a API request type for the ListAvailableSolutionStacks API operation.

func (ListAvailableSolutionStacksRequest) Send

Send marshals and sends the ListAvailableSolutionStacks API request.

type ListPlatformVersionsInput

type ListPlatformVersionsInput struct {

	// List only the platforms where the platform member value relates to one of
	// the supplied values.
	Filters []PlatformFilter `type:"list"`

	// The maximum number of platform values returned in one call.
	MaxRecords *int64 `min:"1" type:"integer"`

	// The starting index into the remaining list of platforms. Use the NextToken
	// value from a previous ListPlatformVersion call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (ListPlatformVersionsInput) GoString

func (s ListPlatformVersionsInput) GoString() string

GoString returns the string representation

func (ListPlatformVersionsInput) String

func (s ListPlatformVersionsInput) String() string

String returns the string representation

func (*ListPlatformVersionsInput) Validate

func (s *ListPlatformVersionsInput) Validate() error

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

type ListPlatformVersionsOutput

type ListPlatformVersionsOutput struct {

	// The starting index into the remaining list of platforms. if this value is
	// not null, you can use it in a subsequent ListPlatformVersion call.
	NextToken *string `type:"string"`

	// Detailed information about the platforms.
	PlatformSummaryList []PlatformSummary `type:"list"`
	// contains filtered or unexported fields
}

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

func (ListPlatformVersionsOutput) GoString

func (s ListPlatformVersionsOutput) GoString() string

GoString returns the string representation

func (ListPlatformVersionsOutput) SDKResponseMetadata

func (s ListPlatformVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListPlatformVersionsOutput) String

String returns the string representation

type ListPlatformVersionsRequest

type ListPlatformVersionsRequest struct {
	*aws.Request
	Input *ListPlatformVersionsInput
	Copy  func(*ListPlatformVersionsInput) ListPlatformVersionsRequest
}

ListPlatformVersionsRequest is a API request type for the ListPlatformVersions API operation.

func (ListPlatformVersionsRequest) Send

Send marshals and sends the ListPlatformVersions API request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resouce for which a tag list is requested.
	//
	// Must be the ARN of an Elastic Beanstalk environment.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
	ResourceArn *string `type:"string"`

	// A list of tag key-value pairs.
	ResourceTags []Tag `type:"list"`
	// contains filtered or unexported fields
}

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

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (ListTagsForResourceOutput) SDKResponseMetadata

func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type Listener

type Listener struct {

	// The port that is used by the Listener.
	Port *int64 `type:"integer"`

	// The protocol that is used by the Listener.
	Protocol *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of a Listener for the LoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Listener

func (Listener) GoString

func (s Listener) GoString() string

GoString returns the string representation

func (Listener) String

func (s Listener) String() string

String returns the string representation

type LoadBalancer

type LoadBalancer struct {

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

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

func (LoadBalancer) GoString

func (s LoadBalancer) GoString() string

GoString returns the string representation

func (LoadBalancer) String

func (s LoadBalancer) String() string

String returns the string representation

type LoadBalancerDescription

type LoadBalancerDescription struct {

	// The domain name of the LoadBalancer.
	Domain *string `type:"string"`

	// A list of Listeners used by the LoadBalancer.
	Listeners []Listener `type:"list"`

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

Describes the details of a LoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancerDescription

func (LoadBalancerDescription) GoString

func (s LoadBalancerDescription) GoString() string

GoString returns the string representation

func (LoadBalancerDescription) String

func (s LoadBalancerDescription) String() string

String returns the string representation

type ManagedAction

type ManagedAction struct {

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

	// A unique identifier for the managed action.
	ActionId *string `type:"string"`

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

	// The status of the managed action. If the action is Scheduled, you can apply
	// it immediately with ApplyEnvironmentManagedAction.
	Status ActionStatus `type:"string" enum:"true"`

	// The start time of the maintenance window in which the managed action will
	// execute.
	WindowStartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The record of an upcoming or in-progress managed action. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedAction

func (ManagedAction) GoString

func (s ManagedAction) GoString() string

GoString returns the string representation

func (ManagedAction) String

func (s ManagedAction) String() string

String returns the string representation

type ManagedActionHistoryItem

type ManagedActionHistoryItem struct {

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

	// A unique identifier for the managed action.
	ActionId *string `type:"string"`

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

	// The date and time that the action started executing.
	ExecutedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// If the action failed, a description of the failure.
	FailureDescription *string `type:"string"`

	// If the action failed, the type of failure.
	FailureType FailureType `type:"string" enum:"true"`

	// The date and time that the action finished executing.
	FinishedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The status of the action.
	Status ActionHistoryStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The record of a completed or failed managed action. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedActionHistoryItem

func (ManagedActionHistoryItem) GoString

func (s ManagedActionHistoryItem) GoString() string

GoString returns the string representation

func (ManagedActionHistoryItem) String

func (s ManagedActionHistoryItem) String() string

String returns the string representation

type MaxAgeRule

type MaxAgeRule struct {

	// Set to true to delete a version's source bundle from Amazon S3 when Elastic
	// Beanstalk deletes the application version.
	DeleteSourceFromS3 *bool `type:"boolean"`

	// Specify true to apply the rule, or false to disable it.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// Specify the number of days to retain an application versions.
	MaxAgeInDays *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A lifecycle rule that deletes application versions after the specified number of days. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxAgeRule

func (MaxAgeRule) GoString

func (s MaxAgeRule) GoString() string

GoString returns the string representation

func (MaxAgeRule) String

func (s MaxAgeRule) String() string

String returns the string representation

func (*MaxAgeRule) Validate

func (s *MaxAgeRule) Validate() error

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

type MaxCountRule

type MaxCountRule struct {

	// Set to true to delete a version's source bundle from Amazon S3 when Elastic
	// Beanstalk deletes the application version.
	DeleteSourceFromS3 *bool `type:"boolean"`

	// Specify true to apply the rule, or false to disable it.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// Specify the maximum number of application versions to retain.
	MaxCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A lifecycle rule that deletes the oldest application version when the maximum count is exceeded. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxCountRule

func (MaxCountRule) GoString

func (s MaxCountRule) GoString() string

GoString returns the string representation

func (MaxCountRule) String

func (s MaxCountRule) String() string

String returns the string representation

func (*MaxCountRule) Validate

func (s *MaxCountRule) Validate() error

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

type OptionRestrictionRegex

type OptionRestrictionRegex struct {

	// A unique name representing this regular expression.
	Label *string `type:"string"`

	// The regular expression pattern that a string configuration option value with
	// this restriction must match.
	Pattern *string `type:"string"`
	// contains filtered or unexported fields
}

A regular expression representing a restriction on a string configuration option value. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionRestrictionRegex

func (OptionRestrictionRegex) GoString

func (s OptionRestrictionRegex) GoString() string

GoString returns the string representation

func (OptionRestrictionRegex) String

func (s OptionRestrictionRegex) String() string

String returns the string representation

type OptionSpecification

type OptionSpecification struct {

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

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

	// A unique resource name for a time-based scaling configuration option.
	ResourceName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A specification identifying an individual configuration option. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionSpecification

func (OptionSpecification) GoString

func (s OptionSpecification) GoString() string

GoString returns the string representation

func (OptionSpecification) String

func (s OptionSpecification) String() string

String returns the string representation

func (*OptionSpecification) Validate

func (s *OptionSpecification) Validate() error

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

type PlatformDescription

type PlatformDescription struct {

	// The custom AMIs supported by the platform.
	CustomAmiList []CustomAmi `type:"list"`

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

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

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

	// The frameworks supported by the platform.
	Frameworks []PlatformFramework `type:"list"`

	// Information about the maintainer of the platform.
	Maintainer *string `type:"string"`

	// The operating system used by the platform.
	OperatingSystemName *string `type:"string"`

	// The version of the operating system used by the platform.
	OperatingSystemVersion *string `type:"string"`

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

	// The category of the platform.
	PlatformCategory *string `type:"string"`

	// The name of the platform.
	PlatformName *string `type:"string"`

	// The AWS account ID of the person who created the platform.
	PlatformOwner *string `type:"string"`

	// The status of the platform.
	PlatformStatus PlatformStatus `type:"string" enum:"true"`

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

	// The programming languages supported by the platform.
	ProgrammingLanguages []PlatformProgrammingLanguage `type:"list"`

	// The name of the solution stack used by the platform.
	SolutionStackName *string `type:"string"`

	// The additions supported by the platform.
	SupportedAddonList []string `type:"list"`

	// The tiers supported by the platform.
	SupportedTierList []string `type:"list"`
	// contains filtered or unexported fields
}

Detailed information about a platform. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformDescription

func (PlatformDescription) GoString

func (s PlatformDescription) GoString() string

GoString returns the string representation

func (PlatformDescription) String

func (s PlatformDescription) String() string

String returns the string representation

type PlatformFilter

type PlatformFilter struct {

	// The operator to apply to the Type with each of the Values.
	//
	// Valid Values: = (equal to) | != (not equal to) | < (less than) | <= (less
	// than or equal to) | > (greater than) | >= (greater than or equal to) | contains
	// | begins_with | ends_with
	Operator *string `type:"string"`

	// The custom platform attribute to which the filter values are applied.
	//
	// Valid Values: PlatformName | PlatformVersion | PlatformStatus | PlatformOwner
	Type *string `type:"string"`

	// The list of values applied to the custom platform attribute.
	Values []string `type:"list"`
	// contains filtered or unexported fields
}

Specify criteria to restrict the results when listing custom platforms.

The filter is evaluated as the expression:

TypeOperatorValues[i] Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFilter

func (PlatformFilter) GoString

func (s PlatformFilter) GoString() string

GoString returns the string representation

func (PlatformFilter) String

func (s PlatformFilter) String() string

String returns the string representation

type PlatformFramework

type PlatformFramework struct {

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

	// The version of the framework.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A framework supported by the custom platform. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFramework

func (PlatformFramework) GoString

func (s PlatformFramework) GoString() string

GoString returns the string representation

func (PlatformFramework) String

func (s PlatformFramework) String() string

String returns the string representation

type PlatformProgrammingLanguage

type PlatformProgrammingLanguage struct {

	// The name of the programming language.
	Name *string `type:"string"`

	// The version of the programming language.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A programming language supported by the platform. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformProgrammingLanguage

func (PlatformProgrammingLanguage) GoString

func (s PlatformProgrammingLanguage) GoString() string

GoString returns the string representation

func (PlatformProgrammingLanguage) String

String returns the string representation

type PlatformStatus

type PlatformStatus string
const (
	PlatformStatusCreating PlatformStatus = "Creating"
	PlatformStatusFailed   PlatformStatus = "Failed"
	PlatformStatusReady    PlatformStatus = "Ready"
	PlatformStatusDeleting PlatformStatus = "Deleting"
	PlatformStatusDeleted  PlatformStatus = "Deleted"
)

Enum values for PlatformStatus

func (PlatformStatus) MarshalValue

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

func (PlatformStatus) MarshalValueBuf

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

type PlatformSummary

type PlatformSummary struct {

	// The operating system used by the platform.
	OperatingSystemName *string `type:"string"`

	// The version of the operating system used by the platform.
	OperatingSystemVersion *string `type:"string"`

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

	// The category of platform.
	PlatformCategory *string `type:"string"`

	// The AWS account ID of the person who created the platform.
	PlatformOwner *string `type:"string"`

	// The status of the platform. You can create an environment from the platform
	// once it is ready.
	PlatformStatus PlatformStatus `type:"string" enum:"true"`

	// The additions associated with the platform.
	SupportedAddonList []string `type:"list"`

	// The tiers in which the platform runs.
	SupportedTierList []string `type:"list"`
	// contains filtered or unexported fields
}

Detailed information about a platform. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformSummary

func (PlatformSummary) GoString

func (s PlatformSummary) GoString() string

GoString returns the string representation

func (PlatformSummary) String

func (s PlatformSummary) String() string

String returns the string representation

type Queue

type Queue struct {

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

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

Describes a queue. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Queue

func (Queue) GoString

func (s Queue) GoString() string

GoString returns the string representation

func (Queue) String

func (s Queue) String() string

String returns the string representation

type RebuildEnvironmentInput

type RebuildEnvironmentInput struct {

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

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

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

func (RebuildEnvironmentInput) GoString

func (s RebuildEnvironmentInput) GoString() string

GoString returns the string representation

func (RebuildEnvironmentInput) String

func (s RebuildEnvironmentInput) String() string

String returns the string representation

func (*RebuildEnvironmentInput) Validate

func (s *RebuildEnvironmentInput) Validate() error

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

type RebuildEnvironmentOutput

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

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

func (RebuildEnvironmentOutput) GoString

func (s RebuildEnvironmentOutput) GoString() string

GoString returns the string representation

func (RebuildEnvironmentOutput) SDKResponseMetadata

func (s RebuildEnvironmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RebuildEnvironmentOutput) String

func (s RebuildEnvironmentOutput) String() string

String returns the string representation

type RebuildEnvironmentRequest

type RebuildEnvironmentRequest struct {
	*aws.Request
	Input *RebuildEnvironmentInput
	Copy  func(*RebuildEnvironmentInput) RebuildEnvironmentRequest
}

RebuildEnvironmentRequest is a API request type for the RebuildEnvironment API operation.

func (RebuildEnvironmentRequest) Send

Send marshals and sends the RebuildEnvironment API request.

type RequestEnvironmentInfoInput

type RequestEnvironmentInfoInput struct {

	// The ID of the environment of the requested data.
	//
	// If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
	// error.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the environment of the requested data.
	//
	// If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
	// error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

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

Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoMessage

func (RequestEnvironmentInfoInput) GoString

func (s RequestEnvironmentInfoInput) GoString() string

GoString returns the string representation

func (RequestEnvironmentInfoInput) String

String returns the string representation

func (*RequestEnvironmentInfoInput) Validate

func (s *RequestEnvironmentInfoInput) Validate() error

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

type RequestEnvironmentInfoOutput

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

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

func (RequestEnvironmentInfoOutput) GoString

func (s RequestEnvironmentInfoOutput) GoString() string

GoString returns the string representation

func (RequestEnvironmentInfoOutput) SDKResponseMetadata

func (s RequestEnvironmentInfoOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RequestEnvironmentInfoOutput) String

String returns the string representation

type RequestEnvironmentInfoRequest

type RequestEnvironmentInfoRequest struct {
	*aws.Request
	Input *RequestEnvironmentInfoInput
	Copy  func(*RequestEnvironmentInfoInput) RequestEnvironmentInfoRequest
}

RequestEnvironmentInfoRequest is a API request type for the RequestEnvironmentInfo API operation.

func (RequestEnvironmentInfoRequest) Send

Send marshals and sends the RequestEnvironmentInfo API request.

type ResourceQuota

type ResourceQuota struct {

	// The maximum number of instances of this Elastic Beanstalk resource type that
	// an AWS account can use.
	Maximum *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The AWS Elastic Beanstalk quota information for a single resource type in an AWS account. It reflects the resource's limits for this account. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceQuota

func (ResourceQuota) GoString

func (s ResourceQuota) GoString() string

GoString returns the string representation

func (ResourceQuota) String

func (s ResourceQuota) String() string

String returns the string representation

type ResourceQuotas

type ResourceQuotas struct {

	// The quota for applications in the AWS account.
	ApplicationQuota *ResourceQuota `type:"structure"`

	// The quota for application versions in the AWS account.
	ApplicationVersionQuota *ResourceQuota `type:"structure"`

	// The quota for configuration templates in the AWS account.
	ConfigurationTemplateQuota *ResourceQuota `type:"structure"`

	// The quota for custom platforms in the AWS account.
	CustomPlatformQuota *ResourceQuota `type:"structure"`

	// The quota for environments in the AWS account.
	EnvironmentQuota *ResourceQuota `type:"structure"`
	// contains filtered or unexported fields
}

A set of per-resource AWS Elastic Beanstalk quotas associated with an AWS account. They reflect Elastic Beanstalk resource limits for this account. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceQuotas

func (ResourceQuotas) GoString

func (s ResourceQuotas) GoString() string

GoString returns the string representation

func (ResourceQuotas) String

func (s ResourceQuotas) String() string

String returns the string representation

type RestartAppServerInput

type RestartAppServerInput struct {

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

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

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

func (RestartAppServerInput) GoString

func (s RestartAppServerInput) GoString() string

GoString returns the string representation

func (RestartAppServerInput) String

func (s RestartAppServerInput) String() string

String returns the string representation

func (*RestartAppServerInput) Validate

func (s *RestartAppServerInput) Validate() error

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

type RestartAppServerOutput

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

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

func (RestartAppServerOutput) GoString

func (s RestartAppServerOutput) GoString() string

GoString returns the string representation

func (RestartAppServerOutput) SDKResponseMetadata

func (s RestartAppServerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RestartAppServerOutput) String

func (s RestartAppServerOutput) String() string

String returns the string representation

type RestartAppServerRequest

type RestartAppServerRequest struct {
	*aws.Request
	Input *RestartAppServerInput
	Copy  func(*RestartAppServerInput) RestartAppServerRequest
}

RestartAppServerRequest is a API request type for the RestartAppServer API operation.

func (RestartAppServerRequest) Send

Send marshals and sends the RestartAppServer API request.

type RetrieveEnvironmentInfoInput

type RetrieveEnvironmentInfoInput struct {

	// The ID of the data's environment.
	//
	// If no such environment is found, returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentName, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentId *string `type:"string"`

	// The name of the data's environment.
	//
	// If no such environment is found, returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

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

Request to download logs retrieved with RequestEnvironmentInfo. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoMessage

func (RetrieveEnvironmentInfoInput) GoString

func (s RetrieveEnvironmentInfoInput) GoString() string

GoString returns the string representation

func (RetrieveEnvironmentInfoInput) String

String returns the string representation

func (*RetrieveEnvironmentInfoInput) Validate

func (s *RetrieveEnvironmentInfoInput) Validate() error

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

type RetrieveEnvironmentInfoOutput

type RetrieveEnvironmentInfoOutput struct {

	// The EnvironmentInfoDescription of the environment.
	EnvironmentInfo []EnvironmentInfoDescription `type:"list"`
	// contains filtered or unexported fields
}

Result message containing a description of the requested environment info. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoResultMessage

func (RetrieveEnvironmentInfoOutput) GoString

GoString returns the string representation

func (RetrieveEnvironmentInfoOutput) SDKResponseMetadata

func (s RetrieveEnvironmentInfoOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RetrieveEnvironmentInfoOutput) String

String returns the string representation

type RetrieveEnvironmentInfoRequest

type RetrieveEnvironmentInfoRequest struct {
	*aws.Request
	Input *RetrieveEnvironmentInfoInput
	Copy  func(*RetrieveEnvironmentInfoInput) RetrieveEnvironmentInfoRequest
}

RetrieveEnvironmentInfoRequest is a API request type for the RetrieveEnvironmentInfo API operation.

func (RetrieveEnvironmentInfoRequest) Send

Send marshals and sends the RetrieveEnvironmentInfo API request.

type S3Location

type S3Location struct {

	// The Amazon S3 bucket where the data is located.
	S3Bucket *string `type:"string"`

	// The Amazon S3 key where the data is located.
	S3Key *string `type:"string"`
	// contains filtered or unexported fields
}

The bucket and key of an item stored in Amazon S3. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3Location

func (S3Location) GoString

func (s S3Location) GoString() string

GoString returns the string representation

func (S3Location) String

func (s S3Location) String() string

String returns the string representation

type SingleInstanceHealth

type SingleInstanceHealth struct {

	// Request metrics from your application.
	ApplicationMetrics *ApplicationMetrics `type:"structure"`

	// The availability zone in which the instance runs.
	AvailabilityZone *string `type:"string"`

	// Represents the causes, which provide more information about the current health
	// status.
	Causes []string `type:"list"`

	// Represents the color indicator that gives you information about the health
	// of the EC2 instance. For more information, see Health Colors and Statuses
	// (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	Color *string `type:"string"`

	// Information about the most recent deployment to an instance.
	Deployment *Deployment `type:"structure"`

	// Returns the health status of the specified instance. For more information,
	// see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
	HealthStatus *string `type:"string"`

	// The ID of the Amazon EC2 instance.
	InstanceId *string `min:"1" type:"string"`

	// The instance's type.
	InstanceType *string `type:"string"`

	// The time at which the EC2 instance was launched.
	LaunchedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Operating system metrics from the instance.
	System *SystemStatus `type:"structure"`
	// contains filtered or unexported fields
}

Detailed health information about an Amazon EC2 instance in your Elastic Beanstalk environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SingleInstanceHealth

func (SingleInstanceHealth) GoString

func (s SingleInstanceHealth) GoString() string

GoString returns the string representation

func (SingleInstanceHealth) String

func (s SingleInstanceHealth) String() string

String returns the string representation

type SolutionStackDescription

type SolutionStackDescription struct {

	// The permitted file types allowed for a solution stack.
	PermittedFileTypes []string `type:"list"`

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

Describes the solution stack. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SolutionStackDescription

func (SolutionStackDescription) GoString

func (s SolutionStackDescription) GoString() string

GoString returns the string representation

func (SolutionStackDescription) String

func (s SolutionStackDescription) String() string

String returns the string representation

type SourceBuildInformation

type SourceBuildInformation struct {

	// The location of the source code, as a formatted string, depending on the
	// value of SourceRepository
	//
	//    * For CodeCommit, the format is the repository name and commit ID, separated
	//    by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
	//
	//    * For S3, the format is the S3 bucket name and object key, separated by
	//    a forward slash. For example, my-s3-bucket/Folders/my-source-file.
	//
	// SourceLocation is a required field
	SourceLocation *string `min:"3" type:"string" required:"true"`

	// Location where the repository is stored.
	//
	//    * CodeCommit
	//
	//    * S3
	//
	// SourceRepository is a required field
	SourceRepository SourceRepository `type:"string" required:"true" enum:"true"`

	// The type of repository.
	//
	//    * Git
	//
	//    * Zip
	//
	// SourceType is a required field
	SourceType SourceType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Location of the source code for an application version. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceBuildInformation

func (SourceBuildInformation) GoString

func (s SourceBuildInformation) GoString() string

GoString returns the string representation

func (SourceBuildInformation) String

func (s SourceBuildInformation) String() string

String returns the string representation

func (*SourceBuildInformation) Validate

func (s *SourceBuildInformation) Validate() error

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

type SourceConfiguration

type SourceConfiguration struct {

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

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

A specification for an environment configuration Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceConfiguration

func (SourceConfiguration) GoString

func (s SourceConfiguration) GoString() string

GoString returns the string representation

func (SourceConfiguration) String

func (s SourceConfiguration) String() string

String returns the string representation

func (*SourceConfiguration) Validate

func (s *SourceConfiguration) Validate() error

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

type SourceRepository

type SourceRepository string
const (
	SourceRepositoryCodeCommit SourceRepository = "CodeCommit"
	SourceRepositoryS3         SourceRepository = "S3"
)

Enum values for SourceRepository

func (SourceRepository) MarshalValue

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

func (SourceRepository) MarshalValueBuf

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

type SourceType

type SourceType string
const (
	SourceTypeGit SourceType = "Git"
	SourceTypeZip SourceType = "Zip"
)

Enum values for SourceType

func (SourceType) MarshalValue

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

func (SourceType) MarshalValueBuf

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

type StatusCodes

type StatusCodes struct {

	// The percentage of requests over the last 10 seconds that resulted in a 2xx
	// (200, 201, etc.) status code.
	Status2xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 3xx
	// (300, 301, etc.) status code.
	Status3xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 4xx
	// (400, 401, etc.) status code.
	Status4xx *int64 `type:"integer"`

	// The percentage of requests over the last 10 seconds that resulted in a 5xx
	// (500, 501, etc.) status code.
	Status5xx *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/StatusCodes

func (StatusCodes) GoString

func (s StatusCodes) GoString() string

GoString returns the string representation

func (StatusCodes) String

func (s StatusCodes) String() string

String returns the string representation

type SwapEnvironmentCNAMEsInput

type SwapEnvironmentCNAMEsInput struct {

	// The ID of the destination environment.
	//
	// Condition: You must specify at least the DestinationEnvironmentID or the
	// DestinationEnvironmentName. You may also specify both. You must specify the
	// SourceEnvironmentId with the DestinationEnvironmentId.
	DestinationEnvironmentId *string `type:"string"`

	// The name of the destination environment.
	//
	// Condition: You must specify at least the DestinationEnvironmentID or the
	// DestinationEnvironmentName. You may also specify both. You must specify the
	// SourceEnvironmentName with the DestinationEnvironmentName.
	DestinationEnvironmentName *string `min:"4" type:"string"`

	// The ID of the source environment.
	//
	// Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
	// You may also specify both. If you specify the SourceEnvironmentId, you must
	// specify the DestinationEnvironmentId.
	SourceEnvironmentId *string `type:"string"`

	// The name of the source environment.
	//
	// Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
	// You may also specify both. If you specify the SourceEnvironmentName, you
	// must specify the DestinationEnvironmentName.
	SourceEnvironmentName *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

Swaps the CNAMEs of two environments. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsMessage

func (SwapEnvironmentCNAMEsInput) GoString

func (s SwapEnvironmentCNAMEsInput) GoString() string

GoString returns the string representation

func (SwapEnvironmentCNAMEsInput) String

String returns the string representation

func (*SwapEnvironmentCNAMEsInput) Validate

func (s *SwapEnvironmentCNAMEsInput) Validate() error

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

type SwapEnvironmentCNAMEsOutput

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

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

func (SwapEnvironmentCNAMEsOutput) GoString

func (s SwapEnvironmentCNAMEsOutput) GoString() string

GoString returns the string representation

func (SwapEnvironmentCNAMEsOutput) SDKResponseMetadata

func (s SwapEnvironmentCNAMEsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SwapEnvironmentCNAMEsOutput) String

String returns the string representation

type SwapEnvironmentCNAMEsRequest

type SwapEnvironmentCNAMEsRequest struct {
	*aws.Request
	Input *SwapEnvironmentCNAMEsInput
	Copy  func(*SwapEnvironmentCNAMEsInput) SwapEnvironmentCNAMEsRequest
}

SwapEnvironmentCNAMEsRequest is a API request type for the SwapEnvironmentCNAMEs API operation.

func (SwapEnvironmentCNAMEsRequest) Send

Send marshals and sends the SwapEnvironmentCNAMEs API request.

type SystemStatus

type SystemStatus struct {

	// CPU utilization metrics for the instance.
	CPUUtilization *CPUUtilization `type:"structure"`

	// Load average in the last 1-minute, 5-minute, and 15-minute periods. For more
	// information, see Operating System Metrics (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-metrics.html#health-enhanced-metrics-os).
	LoadAverage []float64 `type:"list"`
	// contains filtered or unexported fields
}

CPU utilization and load average metrics for an Amazon EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SystemStatus

func (SystemStatus) GoString

func (s SystemStatus) GoString() string

GoString returns the string representation

func (SystemStatus) String

func (s SystemStatus) String() string

String returns the string representation

type Tag

type Tag struct {

	// The key of the tag.
	Key *string `min:"1" type:"string"`

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

Describes a tag applied to a resource in an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TerminateEnvironmentInput

type TerminateEnvironmentInput struct {

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

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

	// Terminates the target environment even if another environment in the same
	// group is dependent on it.
	ForceTerminate *bool `type:"boolean"`

	// Indicates whether the associated AWS resources should shut down when the
	// environment is terminated:
	//
	//    * true: The specified environment as well as the associated AWS resources,
	//    such as Auto Scaling group and LoadBalancer, are terminated.
	//
	//    * false: AWS Elastic Beanstalk resource management is removed from the
	//    environment, but the AWS resources continue to operate.
	//
	// For more information, see the  AWS Elastic Beanstalk User Guide.  (http://docs.aws.amazon.com/elasticbeanstalk/latest/ug/)
	//
	// Default: true
	//
	// Valid Values: true | false
	TerminateResources *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Request to terminate an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentMessage

func (TerminateEnvironmentInput) GoString

func (s TerminateEnvironmentInput) GoString() string

GoString returns the string representation

func (TerminateEnvironmentInput) String

func (s TerminateEnvironmentInput) String() string

String returns the string representation

func (*TerminateEnvironmentInput) Validate

func (s *TerminateEnvironmentInput) Validate() error

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

type TerminateEnvironmentRequest

type TerminateEnvironmentRequest struct {
	*aws.Request
	Input *TerminateEnvironmentInput
	Copy  func(*TerminateEnvironmentInput) TerminateEnvironmentRequest
}

TerminateEnvironmentRequest is a API request type for the TerminateEnvironment API operation.

func (TerminateEnvironmentRequest) Send

Send marshals and sends the TerminateEnvironment API request.

type Trigger

type Trigger struct {

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

Describes a trigger. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Trigger

func (Trigger) GoString

func (s Trigger) GoString() string

GoString returns the string representation

func (Trigger) String

func (s Trigger) String() string

String returns the string representation

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The name of the application to update. If no such application is found, UpdateApplication
	// returns an InvalidParameterValue error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// A new description for the application.
	//
	// Default: If not specified, AWS Elastic Beanstalk does not update the description.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

Request to update an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationMessage

func (UpdateApplicationInput) GoString

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation

func (UpdateApplicationInput) String

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput

type UpdateApplicationOutput struct {

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

Result message containing a single description of an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationOutput

func (UpdateApplicationOutput) GoString

func (s UpdateApplicationOutput) GoString() string

GoString returns the string representation

func (UpdateApplicationOutput) SDKResponseMetadata

func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApplicationOutput) String

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	*aws.Request
	Input *UpdateApplicationInput
	Copy  func(*UpdateApplicationInput) UpdateApplicationRequest
}

UpdateApplicationRequest is a API request type for the UpdateApplication API operation.

func (UpdateApplicationRequest) Send

Send marshals and sends the UpdateApplication API request.

type UpdateApplicationResourceLifecycleInput

type UpdateApplicationResourceLifecycleInput struct {

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

	// The lifecycle configuration.
	//
	// ResourceLifecycleConfig is a required field
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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

func (UpdateApplicationResourceLifecycleInput) GoString

GoString returns the string representation

func (UpdateApplicationResourceLifecycleInput) String

String returns the string representation

func (*UpdateApplicationResourceLifecycleInput) Validate

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

type UpdateApplicationResourceLifecycleOutput

type UpdateApplicationResourceLifecycleOutput struct {

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

	// The lifecycle configuration.
	ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"`
	// contains filtered or unexported fields
}

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

func (UpdateApplicationResourceLifecycleOutput) GoString

GoString returns the string representation

func (UpdateApplicationResourceLifecycleOutput) SDKResponseMetadata

func (s UpdateApplicationResourceLifecycleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApplicationResourceLifecycleOutput) String

String returns the string representation

type UpdateApplicationResourceLifecycleRequest

UpdateApplicationResourceLifecycleRequest is a API request type for the UpdateApplicationResourceLifecycle API operation.

func (UpdateApplicationResourceLifecycleRequest) Send

Send marshals and sends the UpdateApplicationResourceLifecycle API request.

type UpdateApplicationVersionInput

type UpdateApplicationVersionInput struct {

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

	// A new description for this version.
	Description *string `type:"string"`

	// The name of the version to update.
	//
	// If no application version is found with this label, UpdateApplication returns
	// an InvalidParameterValue error.
	//
	// VersionLabel is a required field
	VersionLabel *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (UpdateApplicationVersionInput) GoString

GoString returns the string representation

func (UpdateApplicationVersionInput) String

String returns the string representation

func (*UpdateApplicationVersionInput) Validate

func (s *UpdateApplicationVersionInput) Validate() error

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

type UpdateApplicationVersionOutput

type UpdateApplicationVersionOutput struct {

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

Result message wrapping a single description of an application version. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersionOutput

func (UpdateApplicationVersionOutput) GoString

GoString returns the string representation

func (UpdateApplicationVersionOutput) SDKResponseMetadata

func (s UpdateApplicationVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApplicationVersionOutput) String

String returns the string representation

type UpdateApplicationVersionRequest

type UpdateApplicationVersionRequest struct {
	*aws.Request
	Input *UpdateApplicationVersionInput
	Copy  func(*UpdateApplicationVersionInput) UpdateApplicationVersionRequest
}

UpdateApplicationVersionRequest is a API request type for the UpdateApplicationVersion API operation.

func (UpdateApplicationVersionRequest) Send

Send marshals and sends the UpdateApplicationVersion API request.

type UpdateConfigurationTemplateInput

type UpdateConfigurationTemplateInput struct {

	// The name of the application associated with the configuration template to
	// update.
	//
	// If no application is found with this name, UpdateConfigurationTemplate returns
	// an InvalidParameterValue error.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// A new description for the configuration.
	Description *string `type:"string"`

	// A list of configuration option settings to update with the new specified
	// option value.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

	// A list of configuration options to remove from the configuration set.
	//
	// Constraint: You can remove only UserDefined configuration options.
	OptionsToRemove []OptionSpecification `type:"list"`

	// The name of the configuration template to update.
	//
	// If no configuration template is found with this name, UpdateConfigurationTemplate
	// returns an InvalidParameterValue error.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The result message containing the options for the specified solution stack. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplateMessage

func (UpdateConfigurationTemplateInput) GoString

GoString returns the string representation

func (UpdateConfigurationTemplateInput) String

String returns the string representation

func (*UpdateConfigurationTemplateInput) Validate

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

type UpdateConfigurationTemplateOutput

type UpdateConfigurationTemplateOutput struct {

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

	// The date (in UTC time) when this configuration set was created.
	DateCreated *time.Time `type:"timestamp" 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.
	DeploymentStatus ConfigurationDeploymentStatus `type:"string" enum:"true"`

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

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

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

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

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

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

Describes the settings for a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateOutput

func (UpdateConfigurationTemplateOutput) GoString

GoString returns the string representation

func (UpdateConfigurationTemplateOutput) SDKResponseMetadata

func (s UpdateConfigurationTemplateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateConfigurationTemplateOutput) String

String returns the string representation

type UpdateConfigurationTemplateRequest

type UpdateConfigurationTemplateRequest struct {
	*aws.Request
	Input *UpdateConfigurationTemplateInput
	Copy  func(*UpdateConfigurationTemplateInput) UpdateConfigurationTemplateRequest
}

UpdateConfigurationTemplateRequest is a API request type for the UpdateConfigurationTemplate API operation.

func (UpdateConfigurationTemplateRequest) Send

Send marshals and sends the UpdateConfigurationTemplate API request.

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {

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

	// If this parameter is specified, AWS Elastic Beanstalk updates the description
	// of this environment.
	Description *string `type:"string"`

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

	// The name of the environment to update. If no environment with this name exists,
	// AWS Elastic Beanstalk returns an InvalidParameterValue error.
	//
	// Condition: You must specify either this or an EnvironmentId, or both. If
	// you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
	// error.
	EnvironmentName *string `min:"4" type:"string"`

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

	// If specified, AWS Elastic Beanstalk updates the configuration set associated
	// with the running environment and sets the specified configuration options
	// to the requested value.
	OptionSettings []ConfigurationOptionSetting `type:"list"`

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

	// The ARN of the platform, if used.
	PlatformArn *string `type:"string"`

	// This specifies the platform version that the environment will run after the
	// environment is updated.
	SolutionStackName *string `type:"string"`

	// If this parameter is specified, AWS Elastic Beanstalk deploys this configuration
	// template to the environment. If no such configuration template is found,
	// AWS Elastic Beanstalk returns an InvalidParameterValue error.
	TemplateName *string `min:"1" type:"string"`

	// This specifies the tier to use to update the environment.
	//
	// Condition: At this time, if you change the tier version, name, or type, AWS
	// Elastic Beanstalk returns InvalidParameterValue error.
	Tier *EnvironmentTier `type:"structure"`

	// If this parameter is specified, AWS Elastic Beanstalk deploys the named application
	// version to the environment. If no such application version is found, returns
	// an InvalidParameterValue error.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Request to update an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironmentMessage

func (UpdateEnvironmentInput) GoString

func (s UpdateEnvironmentInput) GoString() string

GoString returns the string representation

func (UpdateEnvironmentInput) String

func (s UpdateEnvironmentInput) String() string

String returns the string representation

func (*UpdateEnvironmentInput) Validate

func (s *UpdateEnvironmentInput) Validate() error

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

type UpdateEnvironmentOutput

type UpdateEnvironmentOutput struct {

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

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

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

	// The creation date for this environment.
	DateCreated *time.Time `type:"timestamp" 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 environment's Amazon Resource Name (ARN), which can be used in other
	// API requests that require an ARN.
	EnvironmentArn *string `type:"string"`

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

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

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

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

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

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

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

	// The name of the SolutionStack deployed with this environment.
	SolutionStackName *string `type:"string"`

	// The current operational status of the environment:
	//
	//    * Launching: Environment is in the process of initial deployment.
	//
	//    * Updating: Environment is in the process of updating its configuration
	//    settings or application version.
	//
	//    * Ready: Environment is available to have an action performed on it, such
	//    as update or terminate.
	//
	//    * Terminating: Environment is in the shut-down process.
	//
	//    * Terminated: Environment is not running.
	Status EnvironmentStatus `type:"string" enum:"true"`

	// The name of the configuration template used to originally launch this environment.
	TemplateName *string `min:"1" type:"string"`

	// Describes the current tier of this environment.
	Tier *EnvironmentTier `type:"structure"`

	// The application version deployed in this environment.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the properties of an environment. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentOutput

func (UpdateEnvironmentOutput) GoString

func (s UpdateEnvironmentOutput) GoString() string

GoString returns the string representation

func (UpdateEnvironmentOutput) SDKResponseMetadata

func (s UpdateEnvironmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEnvironmentOutput) String

func (s UpdateEnvironmentOutput) String() string

String returns the string representation

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	*aws.Request
	Input *UpdateEnvironmentInput
	Copy  func(*UpdateEnvironmentInput) UpdateEnvironmentRequest
}

UpdateEnvironmentRequest is a API request type for the UpdateEnvironment API operation.

func (UpdateEnvironmentRequest) Send

Send marshals and sends the UpdateEnvironment API request.

type UpdateTagsForResourceInput

type UpdateTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resouce to be updated.
	//
	// Must be the ARN of an Elastic Beanstalk environment.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// A list of tags to add or update.
	//
	// If a key of an existing tag is added, the tag's value is updated.
	TagsToAdd []Tag `type:"list"`

	// A list of tag keys to remove.
	//
	// If a tag key doesn't exist, it is silently ignored.
	TagsToRemove []string `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceMessage

func (UpdateTagsForResourceInput) GoString

func (s UpdateTagsForResourceInput) GoString() string

GoString returns the string representation

func (UpdateTagsForResourceInput) String

String returns the string representation

func (*UpdateTagsForResourceInput) Validate

func (s *UpdateTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateTagsForResourceOutput

type UpdateTagsForResourceOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceOutput

func (UpdateTagsForResourceOutput) GoString

func (s UpdateTagsForResourceOutput) GoString() string

GoString returns the string representation

func (UpdateTagsForResourceOutput) SDKResponseMetadata

func (s UpdateTagsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateTagsForResourceOutput) String

String returns the string representation

type UpdateTagsForResourceRequest

type UpdateTagsForResourceRequest struct {
	*aws.Request
	Input *UpdateTagsForResourceInput
	Copy  func(*UpdateTagsForResourceInput) UpdateTagsForResourceRequest
}

UpdateTagsForResourceRequest is a API request type for the UpdateTagsForResource API operation.

func (UpdateTagsForResourceRequest) Send

Send marshals and sends the UpdateTagsForResource API request.

type ValidateConfigurationSettingsInput

type ValidateConfigurationSettingsInput struct {

	// The name of the application that the configuration template or environment
	// belongs to.
	//
	// ApplicationName is a required field
	ApplicationName *string `min:"1" type:"string" required:"true"`

	// The name of the environment to validate the settings against.
	//
	// Condition: You cannot specify both this and a configuration template name.
	EnvironmentName *string `min:"4" type:"string"`

	// A list of the options and desired values to evaluate.
	//
	// OptionSettings is a required field
	OptionSettings []ConfigurationOptionSetting `type:"list" required:"true"`

	// The name of the configuration template to validate the settings against.
	//
	// Condition: You cannot specify both this and an environment name.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A list of validation messages for a specified configuration template. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettingsMessage

func (ValidateConfigurationSettingsInput) GoString

GoString returns the string representation

func (ValidateConfigurationSettingsInput) String

String returns the string representation

func (*ValidateConfigurationSettingsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ValidateConfigurationSettingsOutput

type ValidateConfigurationSettingsOutput struct {

	// A list of ValidationMessage.
	Messages []ValidationMessage `type:"list"`
	// contains filtered or unexported fields
}

Provides a list of validation messages. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsValidationMessages

func (ValidateConfigurationSettingsOutput) GoString

GoString returns the string representation

func (ValidateConfigurationSettingsOutput) SDKResponseMetadata

func (s ValidateConfigurationSettingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ValidateConfigurationSettingsOutput) String

String returns the string representation

type ValidateConfigurationSettingsRequest

type ValidateConfigurationSettingsRequest struct {
	*aws.Request
	Input *ValidateConfigurationSettingsInput
	Copy  func(*ValidateConfigurationSettingsInput) ValidateConfigurationSettingsRequest
}

ValidateConfigurationSettingsRequest is a API request type for the ValidateConfigurationSettings API operation.

func (ValidateConfigurationSettingsRequest) Send

Send marshals and sends the ValidateConfigurationSettings API request.

type ValidationMessage

type ValidationMessage struct {

	// A message describing the error or warning.
	Message *string `type:"string"`

	// The namespace to which the option belongs.
	Namespace *string `type:"string"`

	// The name of the option.
	OptionName *string `type:"string"`

	// An indication of the severity of this message:
	//
	//    * error: This message indicates that this is not a valid setting for an
	//    option.
	//
	//    * warning: This message is providing information you should take into
	//    account.
	Severity ValidationSeverity `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An error or warning for a desired configuration option value. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidationMessage

func (ValidationMessage) GoString

func (s ValidationMessage) GoString() string

GoString returns the string representation

func (ValidationMessage) String

func (s ValidationMessage) String() string

String returns the string representation

type ValidationSeverity

type ValidationSeverity string
const (
	ValidationSeverityError   ValidationSeverity = "error"
	ValidationSeverityWarning ValidationSeverity = "warning"
)

Enum values for ValidationSeverity

func (ValidationSeverity) MarshalValue

func (enum ValidationSeverity) MarshalValue() (string, error)

func (ValidationSeverity) MarshalValueBuf

func (enum ValidationSeverity) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package elasticbeanstalkiface provides an interface to enable mocking the AWS Elastic Beanstalk service client for testing your code.
Package elasticbeanstalkiface provides an interface to enable mocking the AWS Elastic Beanstalk service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL