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

type Deployment struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` DeploymentId *string `locationName:"deploymentId" type:"string"` DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"` DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"` Description *string `locationName:"description" type:"string"` }

An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.

CreatedDate

Type: *time.Time

The date and time when the Deployment resource was created.

DeploymentId

Type: *string

The identifier for the deployment.

DeploymentStatus

Type: *string

The status of the deployment: PENDING, FAILED, or SUCCEEDED.

DeploymentStatusMessage

Type: *string

May contain additional feedback on the status of an API deployment.

Description

Type: *string

The description for the deployment.

Method

GoString

func (s Deployment) GoString() string

GoString returns the string representation

SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

SetDeploymentId

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

SetDeploymentId sets the DeploymentId field's value.

SetDeploymentStatus

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

SetDeploymentStatus sets the DeploymentStatus field's value.

SetDeploymentStatusMessage

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

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

SetDescription

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

SetDescription sets the Description field's value.

String

func (s Deployment) String() string

String returns the string representation

On this page: