AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Deployment

import "github.com/aws/aws-sdk-go/service/elasticbeanstalk"

type Deployment struct { DeploymentId *int64 `type:"long"` DeploymentTime *time.Time `type:"timestamp"` Status *string `type:"string"` VersionLabel *string `type:"string"` }

Information about an application version deployment.

DeploymentId

Type: *int64

The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

DeploymentTime

Type: *time.Time

For in-progress deployments, the time that the deployment started.

For completed deployments, the time that the deployment ended.

Status

Type: *string

The status of the deployment:

  • In Progress : The deployment is in progress.

  • Deployed : The deployment succeeded.

  • Failed : The deployment failed.

VersionLabel

Type: *string

The version label of the application version in the deployment.

Method

GoString

func (s Deployment) GoString() string

GoString returns the string representation

SetDeploymentId

func (s *Deployment) SetDeploymentId(v int64) *Deployment

SetDeploymentId sets the DeploymentId field's value.

SetDeploymentTime

func (s *Deployment) SetDeploymentTime(v time.Time) *Deployment

SetDeploymentTime sets the DeploymentTime field's value.

SetStatus

func (s *Deployment) SetStatus(v string) *Deployment

SetStatus sets the Status field's value.

SetVersionLabel

func (s *Deployment) SetVersionLabel(v string) *Deployment

SetVersionLabel sets the VersionLabel field's value.

String

func (s Deployment) String() string

String returns the string representation

On this page: