types

package
v1.29.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm

type Alarm struct {

	// The name of the alarm. Maximum length is 255 characters. Each alarm name can be
	// used only once in a list of alarms.
	Name *string
	// contains filtered or unexported fields
}

Information about an alarm.

type AlarmConfiguration

type AlarmConfiguration struct {

	// A list of alarms configured for the deployment or deployment group. A maximum
	// of 10 alarms can be added.
	Alarms []Alarm

	// Indicates whether the alarm configuration is enabled.
	Enabled bool

	// Indicates whether a deployment should continue if information about the current
	// state of alarms cannot be retrieved from Amazon CloudWatch. The default value is
	// false.
	//
	//   - true : The deployment proceeds even if alarm status information can't be
	//   retrieved from Amazon CloudWatch.
	//
	//   - false : The deployment stops if alarm status information can't be retrieved
	//   from Amazon CloudWatch.
	IgnorePollAlarmFailure bool
	// contains filtered or unexported fields
}

Information about alarms associated with a deployment or deployment group.

type AlarmsLimitExceededException

type AlarmsLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum number of alarms for a deployment group (10) was exceeded.

func (*AlarmsLimitExceededException) Error

func (*AlarmsLimitExceededException) ErrorCode

func (e *AlarmsLimitExceededException) ErrorCode() string

func (*AlarmsLimitExceededException) ErrorFault

func (*AlarmsLimitExceededException) ErrorMessage

func (e *AlarmsLimitExceededException) ErrorMessage() string

type AppSpecContent

type AppSpecContent struct {

	//  The YAML-formatted or JSON-formatted revision string.
	//
	// For an Lambda deployment, the content includes a Lambda function name, the
	// alias for its original version, and the alias for its replacement version. The
	// deployment shifts traffic from the original version of the Lambda function to
	// the replacement version.
	//
	// For an Amazon ECS deployment, the content includes the task name, information
	// about the load balancer that serves traffic to the container, and more.
	//
	// For both types of deployments, the content can specify Lambda functions that
	// run at specified hooks, such as BeforeInstall , during a deployment.
	Content *string

	//  The SHA256 hash value of the revision content.
	Sha256 *string
	// contains filtered or unexported fields
}
A revision for an Lambda or Amazon ECS deployment that is a YAML-formatted or

JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString data type.

type ApplicationAlreadyExistsException

type ApplicationAlreadyExistsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An application with the specified name with the user or Amazon Web Services account already exists.

func (*ApplicationAlreadyExistsException) Error

func (*ApplicationAlreadyExistsException) ErrorCode

func (*ApplicationAlreadyExistsException) ErrorFault

func (*ApplicationAlreadyExistsException) ErrorMessage

func (e *ApplicationAlreadyExistsException) ErrorMessage() string

type ApplicationDoesNotExistException

type ApplicationDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The application does not exist with the user or Amazon Web Services account.

func (*ApplicationDoesNotExistException) Error

func (*ApplicationDoesNotExistException) ErrorCode

func (*ApplicationDoesNotExistException) ErrorFault

func (*ApplicationDoesNotExistException) ErrorMessage

func (e *ApplicationDoesNotExistException) ErrorMessage() string

type ApplicationInfo

type ApplicationInfo struct {

	// The application ID.
	ApplicationId *string

	// The application name.
	ApplicationName *string

	// The destination platform type for deployment of the application ( Lambda or
	// Server ).
	ComputePlatform ComputePlatform

	// The time at which the application was created.
	CreateTime *time.Time

	// The name for a connection to a GitHub account.
	GitHubAccountName *string

	// True if the user has authenticated with GitHub for the specified application.
	// Otherwise, false.
	LinkedToGitHub bool
	// contains filtered or unexported fields
}

Information about an application.

type ApplicationLimitExceededException

type ApplicationLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

More applications were attempted to be created than are allowed.

func (*ApplicationLimitExceededException) Error

func (*ApplicationLimitExceededException) ErrorCode

func (*ApplicationLimitExceededException) ErrorFault

func (*ApplicationLimitExceededException) ErrorMessage

func (e *ApplicationLimitExceededException) ErrorMessage() string

type ApplicationNameRequiredException

type ApplicationNameRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The minimum number of required application names was not specified.

func (*ApplicationNameRequiredException) Error

func (*ApplicationNameRequiredException) ErrorCode

func (*ApplicationNameRequiredException) ErrorFault

func (*ApplicationNameRequiredException) ErrorMessage

func (e *ApplicationNameRequiredException) ErrorMessage() string

type ApplicationRevisionSortBy

type ApplicationRevisionSortBy string
const (
	ApplicationRevisionSortByRegisterTime  ApplicationRevisionSortBy = "registerTime"
	ApplicationRevisionSortByFirstUsedTime ApplicationRevisionSortBy = "firstUsedTime"
	ApplicationRevisionSortByLastUsedTime  ApplicationRevisionSortBy = "lastUsedTime"
)

Enum values for ApplicationRevisionSortBy

func (ApplicationRevisionSortBy) Values added in v0.29.0

Values returns all known values for ApplicationRevisionSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ArnNotSupportedException

type ArnNotSupportedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}
The specified ARN is not supported. For example, it might be an ARN for a

resource that is not expected.

func (*ArnNotSupportedException) Error

func (e *ArnNotSupportedException) Error() string

func (*ArnNotSupportedException) ErrorCode

func (e *ArnNotSupportedException) ErrorCode() string

func (*ArnNotSupportedException) ErrorFault

func (e *ArnNotSupportedException) ErrorFault() smithy.ErrorFault

func (*ArnNotSupportedException) ErrorMessage

func (e *ArnNotSupportedException) ErrorMessage() string

type AutoRollbackConfiguration

type AutoRollbackConfiguration struct {

	// Indicates whether a defined automatic rollback configuration is currently
	// enabled.
	Enabled bool

	// The event type or types that trigger a rollback.
	Events []AutoRollbackEvent
	// contains filtered or unexported fields
}

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.

type AutoRollbackEvent

type AutoRollbackEvent string
const (
	AutoRollbackEventDeploymentFailure       AutoRollbackEvent = "DEPLOYMENT_FAILURE"
	AutoRollbackEventDeploymentStopOnAlarm   AutoRollbackEvent = "DEPLOYMENT_STOP_ON_ALARM"
	AutoRollbackEventDeploymentStopOnRequest AutoRollbackEvent = "DEPLOYMENT_STOP_ON_REQUEST"
)

Enum values for AutoRollbackEvent

func (AutoRollbackEvent) Values added in v0.29.0

Values returns all known values for AutoRollbackEvent. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type AutoScalingGroup

type AutoScalingGroup struct {

	// The name of the launch hook that CodeDeploy installed into the Auto Scaling
	// group.
	//
	// For more information about the launch hook, see [How Amazon EC2 Auto Scaling works with CodeDeploy] in the CodeDeploy User Guide.
	//
	// [How Amazon EC2 Auto Scaling works with CodeDeploy]: https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors
	Hook *string

	// The Auto Scaling group name.
	Name *string

	// The name of the termination hook that CodeDeploy installed into the Auto
	// Scaling group.
	//
	// For more information about the termination hook, see [Enabling termination deployments during Auto Scaling scale-in events] in the CodeDeploy User
	// Guide.
	//
	// [Enabling termination deployments during Auto Scaling scale-in events]: https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable
	TerminationHook *string
	// contains filtered or unexported fields
}

Information about an Auto Scaling group.

type BatchLimitExceededException

type BatchLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum number of names or IDs allowed for this request (100) was exceeded.

func (*BatchLimitExceededException) Error

func (*BatchLimitExceededException) ErrorCode

func (e *BatchLimitExceededException) ErrorCode() string

func (*BatchLimitExceededException) ErrorFault

func (*BatchLimitExceededException) ErrorMessage

func (e *BatchLimitExceededException) ErrorMessage() string

type BlueGreenDeploymentConfiguration

type BlueGreenDeploymentConfiguration struct {

	// Information about the action to take when newly provisioned instances are ready
	// to receive traffic in a blue/green deployment.
	DeploymentReadyOption *DeploymentReadyOption

	// Information about how instances are provisioned for a replacement environment
	// in a blue/green deployment.
	GreenFleetProvisioningOption *GreenFleetProvisioningOption

	// Information about whether to terminate instances in the original fleet during a
	// blue/green deployment.
	TerminateBlueInstancesOnDeploymentSuccess *BlueInstanceTerminationOption
	// contains filtered or unexported fields
}

Information about blue/green deployment options for a deployment group.

type BlueInstanceTerminationOption

type BlueInstanceTerminationOption struct {

	// The action to take on instances in the original environment after a successful
	// blue/green deployment.
	//
	//   - TERMINATE : Instances are terminated after a specified wait time.
	//
	//   - KEEP_ALIVE : Instances are left running after they are deregistered from the
	//   load balancer and removed from the deployment group.
	Action InstanceAction

	// For an Amazon EC2 deployment, the number of minutes to wait after a successful
	// blue/green deployment before terminating instances from the original
	// environment.
	//
	// For an Amazon ECS deployment, the number of minutes before deleting the
	// original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts
	// traffic from the original (blue) task set to a replacement (green) task set.
	//
	// The maximum setting is 2880 minutes (2 days).
	TerminationWaitTimeInMinutes int32
	// contains filtered or unexported fields
}

Information about whether instances in the original environment are terminated when a blue/green deployment is successful. BlueInstanceTerminationOption does not apply to Lambda deployments.

type BucketNameFilterRequiredException

type BucketNameFilterRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A bucket name is required, but was not provided.

func (*BucketNameFilterRequiredException) Error

func (*BucketNameFilterRequiredException) ErrorCode

func (*BucketNameFilterRequiredException) ErrorFault

func (*BucketNameFilterRequiredException) ErrorMessage

func (e *BucketNameFilterRequiredException) ErrorMessage() string

type BundleType

type BundleType string
const (
	BundleTypeTar     BundleType = "tar"
	BundleTypeTarGZip BundleType = "tgz"
	BundleTypeZip     BundleType = "zip"
	BundleTypeYaml    BundleType = "YAML"
	BundleTypeJson    BundleType = "JSON"
)

Enum values for BundleType

func (BundleType) Values added in v0.29.0

func (BundleType) Values() []BundleType

Values returns all known values for BundleType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type CloudFormationTarget

type CloudFormationTarget struct {

	// The unique ID of an CloudFormation blue/green deployment.
	DeploymentId *string

	//  The date and time when the target application was updated by an CloudFormation
	// blue/green deployment.
	LastUpdatedAt *time.Time

	//  The lifecycle events of the CloudFormation blue/green deployment to this
	// target application.
	LifecycleEvents []LifecycleEvent

	// The resource type for the CloudFormation blue/green deployment.
	ResourceType *string

	//  The status of an CloudFormation blue/green deployment's target application.
	Status TargetStatus

	//  The unique ID of a deployment target that has a type of CloudFormationTarget .
	TargetId *string

	// The percentage of production traffic that the target version of an
	// CloudFormation blue/green deployment receives.
	TargetVersionWeight float64
	// contains filtered or unexported fields
}
Information about the target to be updated by an CloudFormation blue/green

deployment. This target type is used for all deployments initiated by a CloudFormation stack update.

type ComputePlatform

type ComputePlatform string
const (
	ComputePlatformServer ComputePlatform = "Server"
	ComputePlatformLambda ComputePlatform = "Lambda"
	ComputePlatformEcs    ComputePlatform = "ECS"
)

Enum values for ComputePlatform

func (ComputePlatform) Values added in v0.29.0

func (ComputePlatform) Values() []ComputePlatform

Values returns all known values for ComputePlatform. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentAlreadyCompletedException

type DeploymentAlreadyCompletedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment is already complete.

func (*DeploymentAlreadyCompletedException) Error

func (*DeploymentAlreadyCompletedException) ErrorCode

func (*DeploymentAlreadyCompletedException) ErrorFault

func (*DeploymentAlreadyCompletedException) ErrorMessage

func (e *DeploymentAlreadyCompletedException) ErrorMessage() string

type DeploymentConfigAlreadyExistsException

type DeploymentConfigAlreadyExistsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A deployment configuration with the specified name with the user or Amazon Web Services account already exists.

func (*DeploymentConfigAlreadyExistsException) Error

func (*DeploymentConfigAlreadyExistsException) ErrorCode

func (*DeploymentConfigAlreadyExistsException) ErrorFault

func (*DeploymentConfigAlreadyExistsException) ErrorMessage

type DeploymentConfigDoesNotExistException

type DeploymentConfigDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment configuration does not exist with the user or Amazon Web Services account.

func (*DeploymentConfigDoesNotExistException) Error

func (*DeploymentConfigDoesNotExistException) ErrorCode

func (*DeploymentConfigDoesNotExistException) ErrorFault

func (*DeploymentConfigDoesNotExistException) ErrorMessage

type DeploymentConfigInUseException

type DeploymentConfigInUseException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment configuration is still in use.

func (*DeploymentConfigInUseException) Error

func (*DeploymentConfigInUseException) ErrorCode

func (e *DeploymentConfigInUseException) ErrorCode() string

func (*DeploymentConfigInUseException) ErrorFault

func (*DeploymentConfigInUseException) ErrorMessage

func (e *DeploymentConfigInUseException) ErrorMessage() string

type DeploymentConfigInfo

type DeploymentConfigInfo struct {

	// The destination platform type for the deployment ( Lambda , Server , or ECS ).
	ComputePlatform ComputePlatform

	// The time at which the deployment configuration was created.
	CreateTime *time.Time

	// The deployment configuration ID.
	DeploymentConfigId *string

	// The deployment configuration name.
	DeploymentConfigName *string

	// Information about the number or percentage of minimum healthy instances.
	MinimumHealthyHosts *MinimumHealthyHosts

	// The configuration that specifies how the deployment traffic is routed. Used for
	// deployments with a Lambda or Amazon ECS compute platform only.
	TrafficRoutingConfig *TrafficRoutingConfig

	// Information about a zonal configuration.
	ZonalConfig *ZonalConfig
	// contains filtered or unexported fields
}

Information about a deployment configuration.

type DeploymentConfigLimitExceededException

type DeploymentConfigLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment configurations limit was exceeded.

func (*DeploymentConfigLimitExceededException) Error

func (*DeploymentConfigLimitExceededException) ErrorCode

func (*DeploymentConfigLimitExceededException) ErrorFault

func (*DeploymentConfigLimitExceededException) ErrorMessage

type DeploymentConfigNameRequiredException

type DeploymentConfigNameRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment configuration name was not specified.

func (*DeploymentConfigNameRequiredException) Error

func (*DeploymentConfigNameRequiredException) ErrorCode

func (*DeploymentConfigNameRequiredException) ErrorFault

func (*DeploymentConfigNameRequiredException) ErrorMessage

type DeploymentCreator

type DeploymentCreator string
const (
	DeploymentCreatorUser                   DeploymentCreator = "user"
	DeploymentCreatorAutoscaling            DeploymentCreator = "autoscaling"
	DeploymentCreatorCodeDeployRollback     DeploymentCreator = "codeDeployRollback"
	DeploymentCreatorCodeDeploy             DeploymentCreator = "CodeDeploy"
	DeploymentCreatorCodeDeployAutoUpdate   DeploymentCreator = "CodeDeployAutoUpdate"
	DeploymentCreatorCloudFormation         DeploymentCreator = "CloudFormation"
	DeploymentCreatorCloudFormationRollback DeploymentCreator = "CloudFormationRollback"
	DeploymentCreatorAutoscalingTermination DeploymentCreator = "autoscalingTermination"
)

Enum values for DeploymentCreator

func (DeploymentCreator) Values added in v0.29.0

Values returns all known values for DeploymentCreator. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentDoesNotExistException

type DeploymentDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment with the user or Amazon Web Services account does not exist.

func (*DeploymentDoesNotExistException) Error

func (*DeploymentDoesNotExistException) ErrorCode

func (e *DeploymentDoesNotExistException) ErrorCode() string

func (*DeploymentDoesNotExistException) ErrorFault

func (*DeploymentDoesNotExistException) ErrorMessage

func (e *DeploymentDoesNotExistException) ErrorMessage() string

type DeploymentGroupAlreadyExistsException

type DeploymentGroupAlreadyExistsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A deployment group with the specified name with the user or Amazon Web Services account already exists.

func (*DeploymentGroupAlreadyExistsException) Error

func (*DeploymentGroupAlreadyExistsException) ErrorCode

func (*DeploymentGroupAlreadyExistsException) ErrorFault

func (*DeploymentGroupAlreadyExistsException) ErrorMessage

type DeploymentGroupDoesNotExistException

type DeploymentGroupDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The named deployment group with the user or Amazon Web Services account does not exist.

func (*DeploymentGroupDoesNotExistException) Error

func (*DeploymentGroupDoesNotExistException) ErrorCode

func (*DeploymentGroupDoesNotExistException) ErrorFault

func (*DeploymentGroupDoesNotExistException) ErrorMessage

func (e *DeploymentGroupDoesNotExistException) ErrorMessage() string

type DeploymentGroupInfo

type DeploymentGroupInfo struct {

	// A list of alarms associated with the deployment group.
	AlarmConfiguration *AlarmConfiguration

	// The application name.
	ApplicationName *string

	// Information about the automatic rollback configuration associated with the
	// deployment group.
	AutoRollbackConfiguration *AutoRollbackConfiguration

	// A list of associated Auto Scaling groups.
	AutoScalingGroups []AutoScalingGroup

	// Information about blue/green deployment options for a deployment group.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration

	// The destination platform type for the deployment ( Lambda , Server , or ECS ).
	ComputePlatform ComputePlatform

	// The deployment configuration name.
	DeploymentConfigName *string

	// The deployment group ID.
	DeploymentGroupId *string

	// The deployment group name.
	DeploymentGroupName *string

	// Information about the type of deployment, either in-place or blue/green, you
	// want to run and whether to route deployment traffic behind a load balancer.
	DeploymentStyle *DeploymentStyle

	// The Amazon EC2 tags on which to filter. The deployment group includes EC2
	// instances with any of the specified tags.
	Ec2TagFilters []EC2TagFilter

	// Information about groups of tags applied to an Amazon EC2 instance. The
	// deployment group includes only Amazon EC2 instances identified by all of the tag
	// groups. Cannot be used in the same call as ec2TagFilters.
	Ec2TagSet *EC2TagSet

	//  The target Amazon ECS services in the deployment group. This applies only to
	// deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
	// service is specified as an Amazon ECS cluster and service name pair using the
	// format : .
	EcsServices []ECSService

	// Information about the most recent attempted deployment to the deployment group.
	LastAttemptedDeployment *LastDeploymentInfo

	// Information about the most recent successful deployment to the deployment group.
	LastSuccessfulDeployment *LastDeploymentInfo

	// Information about the load balancer to use in a deployment.
	LoadBalancerInfo *LoadBalancerInfo

	// The on-premises instance tags on which to filter. The deployment group includes
	// on-premises instances with any of the specified tags.
	OnPremisesInstanceTagFilters []TagFilter

	// Information about groups of tags applied to an on-premises instance. The
	// deployment group includes only on-premises instances identified by all the tag
	// groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
	OnPremisesTagSet *OnPremisesTagSet

	// Indicates what happens when new Amazon EC2 instances are launched
	// mid-deployment and do not receive the deployed application revision.
	//
	// If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or
	// more 'auto-update outdated instances' deployments to apply the deployed
	// application revision to the new Amazon EC2 instances.
	//
	// If this option is set to IGNORE , CodeDeploy does not initiate a deployment to
	// update the new Amazon EC2 instances. This may result in instances having
	// different revisions.
	OutdatedInstancesStrategy OutdatedInstancesStrategy

	// A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to
	// make calls to Amazon Web Services services on your behalf. For more information,
	// see [Create a Service Role for CodeDeploy]in the CodeDeploy User Guide.
	//
	// [Create a Service Role for CodeDeploy]: https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-create-service-role.html
	ServiceRoleArn *string

	// Information about the deployment group's target revision, including type and
	// location.
	TargetRevision *RevisionLocation

	// Indicates whether the deployment group was configured to have CodeDeploy
	// install a termination hook into an Auto Scaling group.
	//
	// For more information about the termination hook, see [How Amazon EC2 Auto Scaling works with CodeDeploy] in the CodeDeploy User
	// Guide.
	//
	// [How Amazon EC2 Auto Scaling works with CodeDeploy]: https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors
	TerminationHookEnabled bool

	// Information about triggers associated with the deployment group.
	TriggerConfigurations []TriggerConfig
	// contains filtered or unexported fields
}

Information about a deployment group.

type DeploymentGroupLimitExceededException

type DeploymentGroupLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment groups limit was exceeded.

func (*DeploymentGroupLimitExceededException) Error

func (*DeploymentGroupLimitExceededException) ErrorCode

func (*DeploymentGroupLimitExceededException) ErrorFault

func (*DeploymentGroupLimitExceededException) ErrorMessage

type DeploymentGroupNameRequiredException

type DeploymentGroupNameRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment group name was not specified.

func (*DeploymentGroupNameRequiredException) Error

func (*DeploymentGroupNameRequiredException) ErrorCode

func (*DeploymentGroupNameRequiredException) ErrorFault

func (*DeploymentGroupNameRequiredException) ErrorMessage

func (e *DeploymentGroupNameRequiredException) ErrorMessage() string

type DeploymentIdRequiredException

type DeploymentIdRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

At least one deployment ID must be specified.

func (*DeploymentIdRequiredException) Error

func (*DeploymentIdRequiredException) ErrorCode

func (e *DeploymentIdRequiredException) ErrorCode() string

func (*DeploymentIdRequiredException) ErrorFault

func (*DeploymentIdRequiredException) ErrorMessage

func (e *DeploymentIdRequiredException) ErrorMessage() string

type DeploymentInfo

type DeploymentInfo struct {

	// Provides information about the results of a deployment, such as whether
	// instances in the original environment in a blue/green deployment were not
	// terminated.
	//
	// Deprecated: AdditionalDeploymentStatusInfo is deprecated, use
	// DeploymentStatusMessageList instead.
	AdditionalDeploymentStatusInfo *string

	// The application name.
	ApplicationName *string

	// Information about the automatic rollback configuration associated with the
	// deployment.
	AutoRollbackConfiguration *AutoRollbackConfiguration

	// Information about blue/green deployment options for this deployment.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration

	// A timestamp that indicates when the deployment was complete.
	CompleteTime *time.Time

	// The destination platform type for the deployment ( Lambda , Server , or ECS ).
	ComputePlatform ComputePlatform

	// A timestamp that indicates when the deployment was created.
	CreateTime *time.Time

	// The means by which the deployment was created:
	//
	//   - user : A user created the deployment.
	//
	//   - autoscaling : Amazon EC2 Auto Scaling created the deployment.
	//
	//   - codeDeployRollback : A rollback process created the deployment.
	//
	//   - CodeDeployAutoUpdate : An auto-update process created the deployment when it
	//   detected outdated Amazon EC2 instances.
	Creator DeploymentCreator

	//  The deployment configuration name.
	DeploymentConfigName *string

	//  The deployment group name.
	DeploymentGroupName *string

	//  The unique ID of a deployment.
	DeploymentId *string

	// A summary of the deployment status of the instances in the deployment.
	DeploymentOverview *DeploymentOverview

	// Messages that contain information about the status of a deployment.
	DeploymentStatusMessages []string

	// Information about the type of deployment, either in-place or blue/green, you
	// want to run and whether to route deployment traffic behind a load balancer.
	DeploymentStyle *DeploymentStyle

	// A comment about the deployment.
	Description *string

	// Information about any error associated with this deployment.
	ErrorInformation *ErrorInformation

	// The unique ID for an external resource (for example, a CloudFormation stack ID)
	// that is linked to this deployment.
	ExternalId *string

	// Information about how CodeDeploy handles files that already exist in a
	// deployment target location but weren't part of the previous successful
	// deployment.
	//
	//   - DISALLOW : The deployment fails. This is also the default behavior if no
	//   option is specified.
	//
	//   - OVERWRITE : The version of the file from the application revision currently
	//   being deployed replaces the version already on the instance.
	//
	//   - RETAIN : The version of the file already on the instance is kept and used as
	//   part of the new deployment.
	FileExistsBehavior FileExistsBehavior

	//  If true, then if an ApplicationStop , BeforeBlockTraffic , or AfterBlockTraffic
	// deployment lifecycle event to an instance fails, then the deployment continues
	// to the next deployment lifecycle event. For example, if ApplicationStop fails,
	// the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the
	// deployment continues with BlockTraffic . If AfterBlockTraffic fails, the
	// deployment continues with ApplicationStop .
	//
	// If false or not specified, then if a lifecycle event fails during a deployment
	// to an instance, that deployment fails. If deployment to that instance is part of
	// an overall deployment and the number of healthy hosts is not less than the
	// minimum number of healthy hosts, then a deployment to the next instance is
	// attempted.
	//
	// During a deployment, the CodeDeploy agent runs the scripts specified for
	// ApplicationStop , BeforeBlockTraffic , and AfterBlockTraffic in the AppSpec
	// file from the previous successful deployment. (All other scripts are run from
	// the AppSpec file in the current deployment.) If one of these scripts contains an
	// error and does not run successfully, the deployment can fail.
	//
	// If the cause of the failure is a script from the last successful deployment
	// that will never run successfully, create a new deployment and use
	// ignoreApplicationStopFailures to specify that the ApplicationStop ,
	// BeforeBlockTraffic , and AfterBlockTraffic failures should be ignored.
	IgnoreApplicationStopFailures bool

	// Indicates whether the wait period set for the termination of instances in the
	// original environment has started. Status is 'false' if the KEEP_ALIVE option is
	// specified. Otherwise, 'true' as soon as the termination wait period starts.
	InstanceTerminationWaitTimeStarted bool

	// Information about the load balancer used in the deployment.
	LoadBalancerInfo *LoadBalancerInfo

	// Information about alarms associated with a deployment or deployment group.
	OverrideAlarmConfiguration *AlarmConfiguration

	// Information about the application revision that was deployed to the deployment
	// group before the most recent successful deployment.
	PreviousRevision *RevisionLocation

	// Information about deployments related to the specified deployment.
	RelatedDeployments *RelatedDeployments

	// Information about the location of stored application artifacts and the service
	// from which to retrieve them.
	Revision *RevisionLocation

	// Information about a deployment rollback.
	RollbackInfo *RollbackInfo

	// A timestamp that indicates when the deployment was deployed to the deployment
	// group.
	//
	// In some cases, the reported value of the start time might be later than the
	// complete time. This is due to differences in the clock settings of backend
	// servers that participate in the deployment process.
	StartTime *time.Time

	// The current state of the deployment as a whole.
	Status DeploymentStatus

	// Information about the instances that belong to the replacement environment in a
	// blue/green deployment.
	TargetInstances *TargetInstances

	// Indicates whether only instances that are not running the latest application
	// revision are to be deployed to.
	UpdateOutdatedInstancesOnly bool
	// contains filtered or unexported fields
}

Information about a deployment.

type DeploymentIsNotInReadyStateException

type DeploymentIsNotInReadyStateException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment does not have a status of Ready and can't continue yet.

func (*DeploymentIsNotInReadyStateException) Error

func (*DeploymentIsNotInReadyStateException) ErrorCode

func (*DeploymentIsNotInReadyStateException) ErrorFault

func (*DeploymentIsNotInReadyStateException) ErrorMessage

func (e *DeploymentIsNotInReadyStateException) ErrorMessage() string

type DeploymentLimitExceededException

type DeploymentLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The number of allowed deployments was exceeded.

func (*DeploymentLimitExceededException) Error

func (*DeploymentLimitExceededException) ErrorCode

func (*DeploymentLimitExceededException) ErrorFault

func (*DeploymentLimitExceededException) ErrorMessage

func (e *DeploymentLimitExceededException) ErrorMessage() string

type DeploymentNotStartedException

type DeploymentNotStartedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified deployment has not started.

func (*DeploymentNotStartedException) Error

func (*DeploymentNotStartedException) ErrorCode

func (e *DeploymentNotStartedException) ErrorCode() string

func (*DeploymentNotStartedException) ErrorFault

func (*DeploymentNotStartedException) ErrorMessage

func (e *DeploymentNotStartedException) ErrorMessage() string

type DeploymentOption

type DeploymentOption string
const (
	DeploymentOptionWithTrafficControl    DeploymentOption = "WITH_TRAFFIC_CONTROL"
	DeploymentOptionWithoutTrafficControl DeploymentOption = "WITHOUT_TRAFFIC_CONTROL"
)

Enum values for DeploymentOption

func (DeploymentOption) Values added in v0.29.0

Values returns all known values for DeploymentOption. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentOverview

type DeploymentOverview struct {

	// The number of instances in the deployment in a failed state.
	Failed int64

	// The number of instances in which the deployment is in progress.
	InProgress int64

	// The number of instances in the deployment in a pending state.
	Pending int64

	// The number of instances in a replacement environment ready to receive traffic
	// in a blue/green deployment.
	Ready int64

	// The number of instances in the deployment in a skipped state.
	Skipped int64

	// The number of instances in the deployment to which revisions have been
	// successfully deployed.
	Succeeded int64
	// contains filtered or unexported fields
}

Information about the deployment status of the instances in the deployment.

type DeploymentReadyAction

type DeploymentReadyAction string
const (
	DeploymentReadyActionContinueDeployment DeploymentReadyAction = "CONTINUE_DEPLOYMENT"
	DeploymentReadyActionStopDeployment     DeploymentReadyAction = "STOP_DEPLOYMENT"
)

Enum values for DeploymentReadyAction

func (DeploymentReadyAction) Values added in v0.29.0

Values returns all known values for DeploymentReadyAction. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentReadyOption

type DeploymentReadyOption struct {

	// Information about when to reroute traffic from an original environment to a
	// replacement environment in a blue/green deployment.
	//
	//   - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
	//   immediately after the new application revision is installed on the instances in
	//   the replacement environment.
	//
	//   - STOP_DEPLOYMENT: Do not register new instances with a load balancer unless
	//   traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started
	//   before the end of the specified wait period, the deployment status is changed to
	//   Stopped.
	ActionOnTimeout DeploymentReadyAction

	// The number of minutes to wait before the status of a blue/green deployment is
	// changed to Stopped if rerouting is not started manually. Applies only to the
	// STOP_DEPLOYMENT option for actionOnTimeout .
	WaitTimeInMinutes int32
	// contains filtered or unexported fields
}

Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.

type DeploymentStatus

type DeploymentStatus string
const (
	DeploymentStatusCreated    DeploymentStatus = "Created"
	DeploymentStatusQueued     DeploymentStatus = "Queued"
	DeploymentStatusInProgress DeploymentStatus = "InProgress"
	DeploymentStatusBaking     DeploymentStatus = "Baking"
	DeploymentStatusSucceeded  DeploymentStatus = "Succeeded"
	DeploymentStatusFailed     DeploymentStatus = "Failed"
	DeploymentStatusStopped    DeploymentStatus = "Stopped"
	DeploymentStatusReady      DeploymentStatus = "Ready"
)

Enum values for DeploymentStatus

func (DeploymentStatus) Values added in v0.29.0

Values returns all known values for DeploymentStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentStyle

type DeploymentStyle struct {

	// Indicates whether to route deployment traffic behind a load balancer.
	DeploymentOption DeploymentOption

	// Indicates whether to run an in-place deployment or a blue/green deployment.
	DeploymentType DeploymentType
	// contains filtered or unexported fields
}

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

type DeploymentTarget

type DeploymentTarget struct {

	//  Information about the target to be updated by an CloudFormation blue/green
	// deployment. This target type is used for all deployments initiated by a
	// CloudFormation stack update.
	CloudFormationTarget *CloudFormationTarget

	// The deployment type that is specific to the deployment's compute platform or
	// deployments initiated by a CloudFormation stack update.
	DeploymentTargetType DeploymentTargetType

	//  Information about the target for a deployment that uses the Amazon ECS compute
	// platform.
	EcsTarget *ECSTarget

	//  Information about the target for a deployment that uses the EC2/On-premises
	// compute platform.
	InstanceTarget *InstanceTarget

	//  Information about the target for a deployment that uses the Lambda compute
	// platform.
	LambdaTarget *LambdaTarget
	// contains filtered or unexported fields
}

Information about the deployment target.

type DeploymentTargetDoesNotExistException

type DeploymentTargetDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The provided target ID does not belong to the attempted deployment.

func (*DeploymentTargetDoesNotExistException) Error

func (*DeploymentTargetDoesNotExistException) ErrorCode

func (*DeploymentTargetDoesNotExistException) ErrorFault

func (*DeploymentTargetDoesNotExistException) ErrorMessage

type DeploymentTargetIdRequiredException

type DeploymentTargetIdRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A deployment target ID was not provided.

func (*DeploymentTargetIdRequiredException) Error

func (*DeploymentTargetIdRequiredException) ErrorCode

func (*DeploymentTargetIdRequiredException) ErrorFault

func (*DeploymentTargetIdRequiredException) ErrorMessage

func (e *DeploymentTargetIdRequiredException) ErrorMessage() string

type DeploymentTargetListSizeExceededException

type DeploymentTargetListSizeExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}
The maximum number of targets that can be associated with an Amazon ECS or

Lambda deployment was exceeded. The target list of both types of deployments must have exactly one item. This exception does not apply to EC2/On-premises deployments.

func (*DeploymentTargetListSizeExceededException) Error

func (*DeploymentTargetListSizeExceededException) ErrorCode

func (*DeploymentTargetListSizeExceededException) ErrorFault

func (*DeploymentTargetListSizeExceededException) ErrorMessage

type DeploymentTargetType

type DeploymentTargetType string
const (
	DeploymentTargetTypeInstanceTarget       DeploymentTargetType = "InstanceTarget"
	DeploymentTargetTypeLambdaTarget         DeploymentTargetType = "LambdaTarget"
	DeploymentTargetTypeEcsTarget            DeploymentTargetType = "ECSTarget"
	DeploymentTargetTypeCloudformationTarget DeploymentTargetType = "CloudFormationTarget"
)

Enum values for DeploymentTargetType

func (DeploymentTargetType) Values added in v0.29.0

Values returns all known values for DeploymentTargetType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentType

type DeploymentType string
const (
	DeploymentTypeInPlace   DeploymentType = "IN_PLACE"
	DeploymentTypeBlueGreen DeploymentType = "BLUE_GREEN"
)

Enum values for DeploymentType

func (DeploymentType) Values added in v0.29.0

func (DeploymentType) Values() []DeploymentType

Values returns all known values for DeploymentType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DeploymentWaitType

type DeploymentWaitType string
const (
	DeploymentWaitTypeReadyWait       DeploymentWaitType = "READY_WAIT"
	DeploymentWaitTypeTerminationWait DeploymentWaitType = "TERMINATION_WAIT"
)

Enum values for DeploymentWaitType

func (DeploymentWaitType) Values added in v0.29.0

Values returns all known values for DeploymentWaitType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DescriptionTooLongException

type DescriptionTooLongException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The description is too long.

func (*DescriptionTooLongException) Error

func (*DescriptionTooLongException) ErrorCode

func (e *DescriptionTooLongException) ErrorCode() string

func (*DescriptionTooLongException) ErrorFault

func (*DescriptionTooLongException) ErrorMessage

func (e *DescriptionTooLongException) ErrorMessage() string

type Diagnostics

type Diagnostics struct {

	// The associated error code:
	//
	//   - Success: The specified script ran.
	//
	//   - ScriptMissing: The specified script was not found in the specified location.
	//
	//   - ScriptNotExecutable: The specified script is not a recognized executable
	//   file type.
	//
	//   - ScriptTimedOut: The specified script did not finish running in the
	//   specified time period.
	//
	//   - ScriptFailed: The specified script failed to run as expected.
	//
	//   - UnknownError: The specified script did not run for an unknown reason.
	ErrorCode LifecycleErrorCode

	// The last portion of the diagnostic log.
	//
	// If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
	LogTail *string

	// The message associated with the error.
	Message *string

	// The name of the script.
	ScriptName *string
	// contains filtered or unexported fields
}

Diagnostic information about executable scripts that are part of a deployment.

type EC2TagFilter

type EC2TagFilter struct {

	// The tag filter key.
	Key *string

	// The tag filter type:
	//
	//   - KEY_ONLY : Key only.
	//
	//   - VALUE_ONLY : Value only.
	//
	//   - KEY_AND_VALUE : Key and value.
	Type EC2TagFilterType

	// The tag filter value.
	Value *string
	// contains filtered or unexported fields
}

Information about an EC2 tag filter.

type EC2TagFilterType

type EC2TagFilterType string
const (
	EC2TagFilterTypeKeyOnly     EC2TagFilterType = "KEY_ONLY"
	EC2TagFilterTypeValueOnly   EC2TagFilterType = "VALUE_ONLY"
	EC2TagFilterTypeKeyAndValue EC2TagFilterType = "KEY_AND_VALUE"
)

Enum values for EC2TagFilterType

func (EC2TagFilterType) Values added in v0.29.0

Values returns all known values for EC2TagFilterType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type EC2TagSet

type EC2TagSet struct {

	// A list that contains other lists of Amazon EC2 instance tag groups. For an
	// instance to be included in the deployment group, it must be identified by all of
	// the tag groups in the list.
	Ec2TagSetList [][]EC2TagFilter
	// contains filtered or unexported fields
}

Information about groups of Amazon EC2 instance tags.

type ECSService

type ECSService struct {

	//  The name of the cluster that the Amazon ECS service is associated with.
	ClusterName *string

	//  The name of the target Amazon ECS service.
	ServiceName *string
	// contains filtered or unexported fields
}
Contains the service and cluster names used to identify an Amazon ECS

deployment's target.

type ECSServiceMappingLimitExceededException

type ECSServiceMappingLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}
The Amazon ECS service is associated with more than one deployment groups. An

Amazon ECS service can be associated with only one deployment group.

func (*ECSServiceMappingLimitExceededException) Error

func (*ECSServiceMappingLimitExceededException) ErrorCode

func (*ECSServiceMappingLimitExceededException) ErrorFault

func (*ECSServiceMappingLimitExceededException) ErrorMessage

type ECSTarget

type ECSTarget struct {

	//  The unique ID of a deployment.
	DeploymentId *string

	//  The date and time when the target Amazon ECS application was updated by a
	// deployment.
	LastUpdatedAt *time.Time

	//  The lifecycle events of the deployment to this target Amazon ECS application.
	LifecycleEvents []LifecycleEvent

	//  The status an Amazon ECS deployment's target ECS application.
	Status TargetStatus

	//  The Amazon Resource Name (ARN) of the target.
	TargetArn *string

	//  The unique ID of a deployment target that has a type of ecsTarget .
	TargetId *string

	//  The ECSTaskSet objects associated with the ECS target.
	TaskSetsInfo []ECSTaskSet
	// contains filtered or unexported fields
}

Information about the target of an Amazon ECS deployment.

type ECSTaskSet

type ECSTaskSet struct {

	//  The number of tasks in a task set. During a deployment that uses the Amazon
	// ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and
	// uses this value to determine how many tasks to create. After the updated task
	// set is created, CodeDeploy shifts traffic to the new task set.
	DesiredCount int64

	//  A unique ID of an ECSTaskSet .
	Identifer *string

	//  The number of tasks in the task set that are in the PENDING status during an
	// Amazon ECS deployment. A task in the PENDING state is preparing to enter the
	// RUNNING state. A task set enters the PENDING status when it launches for the
	// first time, or when it is restarted after being in the STOPPED state.
	PendingCount int64

	//  The number of tasks in the task set that are in the RUNNING status during an
	// Amazon ECS deployment. A task in the RUNNING state is running and ready for
	// use.
	RunningCount int64

	//  The status of the task set. There are three valid task set statuses:
	//
	//   - PRIMARY : Indicates the task set is serving production traffic.
	//
	//   - ACTIVE : Indicates the task set is not serving production traffic.
	//
	//   - DRAINING : Indicates the tasks in the task set are being stopped and their
	//   corresponding targets are being deregistered from their target group.
	Status *string

	//  The target group associated with the task set. The target group is used by
	// CodeDeploy to manage traffic to a task set.
	TargetGroup *TargetGroupInfo

	//  A label that identifies whether the ECS task set is an original target ( BLUE )
	// or a replacement target ( GREEN ).
	TaskSetLabel TargetLabel

	//  The percentage of traffic served by this task set.
	TrafficWeight float64
	// contains filtered or unexported fields
}
Information about a set of Amazon ECS tasks in an CodeDeploy deployment. An

Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.

type ELBInfo

type ELBInfo struct {

	// For blue/green deployments, the name of the Classic Load Balancer that is used
	// to route traffic from original instances to replacement instances in a
	// blue/green deployment. For in-place deployments, the name of the Classic Load
	// Balancer that instances are deregistered from so they are not serving traffic
	// during a deployment, and then re-registered with after the deployment is
	// complete.
	Name *string
	// contains filtered or unexported fields
}

Information about a Classic Load Balancer in Elastic Load Balancing to use in a deployment. Instances are registered directly with a load balancer, and traffic is routed to the load balancer.

type ErrorCode

type ErrorCode string
const (
	ErrorCodeAgentIssue                              ErrorCode = "AGENT_ISSUE"
	ErrorCodeAlarmActive                             ErrorCode = "ALARM_ACTIVE"
	ErrorCodeApplicationMissing                      ErrorCode = "APPLICATION_MISSING"
	ErrorCodeAutoscalingValidationError              ErrorCode = "AUTOSCALING_VALIDATION_ERROR"
	ErrorCodeAutoScalingConfiguration                ErrorCode = "AUTO_SCALING_CONFIGURATION"
	ErrorCodeAutoScalingIamRolePermissions           ErrorCode = "AUTO_SCALING_IAM_ROLE_PERMISSIONS"
	ErrorCodeCodedeployResourceCannotBeFound         ErrorCode = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"
	ErrorCodeCustomerApplicationUnhealthy            ErrorCode = "CUSTOMER_APPLICATION_UNHEALTHY"
	ErrorCodeDeploymentGroupMissing                  ErrorCode = "DEPLOYMENT_GROUP_MISSING"
	ErrorCodeEcsUpdateError                          ErrorCode = "ECS_UPDATE_ERROR"
	ErrorCodeElasticLoadBalancingInvalid             ErrorCode = "ELASTIC_LOAD_BALANCING_INVALID"
	ErrorCodeElbInvalidInstance                      ErrorCode = "ELB_INVALID_INSTANCE"
	ErrorCodeHealthConstraints                       ErrorCode = "HEALTH_CONSTRAINTS"
	ErrorCodeHealthConstraintsInvalid                ErrorCode = "HEALTH_CONSTRAINTS_INVALID"
	ErrorCodeHookExecutionFailure                    ErrorCode = "HOOK_EXECUTION_FAILURE"
	ErrorCodeIamRoleMissing                          ErrorCode = "IAM_ROLE_MISSING"
	ErrorCodeIamRolePermissions                      ErrorCode = "IAM_ROLE_PERMISSIONS"
	ErrorCodeInternalError                           ErrorCode = "INTERNAL_ERROR"
	ErrorCodeInvalidEcsService                       ErrorCode = "INVALID_ECS_SERVICE"
	ErrorCodeInvalidLambdaConfiguration              ErrorCode = "INVALID_LAMBDA_CONFIGURATION"
	ErrorCodeInvalidLambdaFunction                   ErrorCode = "INVALID_LAMBDA_FUNCTION"
	ErrorCodeInvalidRevision                         ErrorCode = "INVALID_REVISION"
	ErrorCodeManualStop                              ErrorCode = "MANUAL_STOP"
	ErrorCodeMissingBlueGreenDeploymentConfiguration ErrorCode = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"
	ErrorCodeMissingElbInformation                   ErrorCode = "MISSING_ELB_INFORMATION"
	ErrorCodeMissingGithubToken                      ErrorCode = "MISSING_GITHUB_TOKEN"
	ErrorCodeNoEc2Subscription                       ErrorCode = "NO_EC2_SUBSCRIPTION"
	ErrorCodeNoInstances                             ErrorCode = "NO_INSTANCES"
	ErrorCodeOverMaxInstances                        ErrorCode = "OVER_MAX_INSTANCES"
	ErrorCodeResourceLimitExceeded                   ErrorCode = "RESOURCE_LIMIT_EXCEEDED"
	ErrorCodeRevisionMissing                         ErrorCode = "REVISION_MISSING"
	ErrorCodeThrottled                               ErrorCode = "THROTTLED"
	ErrorCodeTimeout                                 ErrorCode = "TIMEOUT"
	ErrorCodeCloudformationStackFailure              ErrorCode = "CLOUDFORMATION_STACK_FAILURE"
)

Enum values for ErrorCode

func (ErrorCode) Values added in v0.29.0

func (ErrorCode) Values() []ErrorCode

Values returns all known values for ErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ErrorInformation

type ErrorInformation struct {

	// For more information, see [Error Codes for CodeDeploy] in the [CodeDeploy User Guide].
	//
	// The error code:
	//
	//   - APPLICATION_MISSING: The application was missing. This error code is most
	//   likely raised if the application is deleted after the deployment is created, but
	//   before it is started.
	//
	//   - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code
	//   is most likely raised if the deployment group is deleted after the deployment is
	//   created, but before it is started.
	//
	//   - HEALTH_CONSTRAINTS: The deployment failed on too many instances to be
	//   successfully deployed within the instance health constraints specified.
	//
	//   - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed
	//   within the instance health constraints specified.
	//
	//   - IAM_ROLE_MISSING: The service role cannot be accessed.
	//
	//   - IAM_ROLE_PERMISSIONS: The service role does not have the correct
	//   permissions.
	//
	//   - INTERNAL_ERROR: There was an internal error.
	//
	//   - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
	//
	//   - NO_INSTANCES: No instances were specified, or no instances can be found.
	//
	//   - OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
	//
	//   - THROTTLED: The operation was throttled because the calling account exceeded
	//   the throttling limits of one or more Amazon Web Services services.
	//
	//   - TIMEOUT: The deployment has timed out.
	//
	//   - REVISION_MISSING: The revision ID was missing. This error code is most
	//   likely raised if the revision is deleted after the deployment is created, but
	//   before it is started.
	//
	// [CodeDeploy User Guide]: https://docs.aws.amazon.com/codedeploy/latest/userguide
	// [Error Codes for CodeDeploy]: https://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html
	Code ErrorCode

	// An accompanying error message.
	Message *string
	// contains filtered or unexported fields
}

Information about a deployment error.

type FileExistsBehavior

type FileExistsBehavior string
const (
	FileExistsBehaviorDisallow  FileExistsBehavior = "DISALLOW"
	FileExistsBehaviorOverwrite FileExistsBehavior = "OVERWRITE"
	FileExistsBehaviorRetain    FileExistsBehavior = "RETAIN"
)

Enum values for FileExistsBehavior

func (FileExistsBehavior) Values added in v0.29.0

Values returns all known values for FileExistsBehavior. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type GenericRevisionInfo

type GenericRevisionInfo struct {

	// The deployment groups for which this is the current target revision.
	DeploymentGroups []string

	// A comment about the revision.
	Description *string

	// When the revision was first used by CodeDeploy.
	FirstUsedTime *time.Time

	// When the revision was last used by CodeDeploy.
	LastUsedTime *time.Time

	// When the revision was registered with CodeDeploy.
	RegisterTime *time.Time
	// contains filtered or unexported fields
}

Information about an application revision.

type GitHubAccountTokenDoesNotExistException

type GitHubAccountTokenDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

No GitHub account connection exists with the named specified in the call.

func (*GitHubAccountTokenDoesNotExistException) Error

func (*GitHubAccountTokenDoesNotExistException) ErrorCode

func (*GitHubAccountTokenDoesNotExistException) ErrorFault

func (*GitHubAccountTokenDoesNotExistException) ErrorMessage

type GitHubAccountTokenNameRequiredException

type GitHubAccountTokenNameRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The call is missing a required GitHub account connection name.

func (*GitHubAccountTokenNameRequiredException) Error

func (*GitHubAccountTokenNameRequiredException) ErrorCode

func (*GitHubAccountTokenNameRequiredException) ErrorFault

func (*GitHubAccountTokenNameRequiredException) ErrorMessage

type GitHubLocation

type GitHubLocation struct {

	// The SHA1 commit ID of the GitHub commit that represents the bundled artifacts
	// for the application revision.
	CommitId *string

	// The GitHub account and repository pair that stores a reference to the commit
	// that represents the bundled artifacts for the application revision.
	//
	// Specified as account/repository.
	Repository *string
	// contains filtered or unexported fields
}

Information about the location of application artifacts stored in GitHub.

type GreenFleetProvisioningAction

type GreenFleetProvisioningAction string
const (
	GreenFleetProvisioningActionDiscoverExisting     GreenFleetProvisioningAction = "DISCOVER_EXISTING"
	GreenFleetProvisioningActionCopyAutoScalingGroup GreenFleetProvisioningAction = "COPY_AUTO_SCALING_GROUP"
)

Enum values for GreenFleetProvisioningAction

func (GreenFleetProvisioningAction) Values added in v0.29.0

Values returns all known values for GreenFleetProvisioningAction. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type GreenFleetProvisioningOption

type GreenFleetProvisioningOption struct {

	// The method used to add instances to a replacement environment.
	//
	//   - DISCOVER_EXISTING : Use instances that already exist or will be created
	//   manually.
	//
	//   - COPY_AUTO_SCALING_GROUP : Use settings from a specified Auto Scaling group
	//   to define and create instances in a new Auto Scaling group.
	Action GreenFleetProvisioningAction
	// contains filtered or unexported fields
}

Information about the instances that belong to the replacement environment in a blue/green deployment.

type IamArnRequiredException

type IamArnRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

No IAM ARN was included in the request. You must use an IAM session ARN or user ARN in the request.

func (*IamArnRequiredException) Error

func (e *IamArnRequiredException) Error() string

func (*IamArnRequiredException) ErrorCode

func (e *IamArnRequiredException) ErrorCode() string

func (*IamArnRequiredException) ErrorFault

func (e *IamArnRequiredException) ErrorFault() smithy.ErrorFault

func (*IamArnRequiredException) ErrorMessage

func (e *IamArnRequiredException) ErrorMessage() string

type IamSessionArnAlreadyRegisteredException

type IamSessionArnAlreadyRegisteredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request included an IAM session ARN that has already been used to register a different instance.

func (*IamSessionArnAlreadyRegisteredException) Error

func (*IamSessionArnAlreadyRegisteredException) ErrorCode

func (*IamSessionArnAlreadyRegisteredException) ErrorFault

func (*IamSessionArnAlreadyRegisteredException) ErrorMessage

type IamUserArnAlreadyRegisteredException

type IamUserArnAlreadyRegisteredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified user ARN is already registered with an on-premises instance.

func (*IamUserArnAlreadyRegisteredException) Error

func (*IamUserArnAlreadyRegisteredException) ErrorCode

func (*IamUserArnAlreadyRegisteredException) ErrorFault

func (*IamUserArnAlreadyRegisteredException) ErrorMessage

func (e *IamUserArnAlreadyRegisteredException) ErrorMessage() string

type IamUserArnRequiredException

type IamUserArnRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An user ARN was not specified.

func (*IamUserArnRequiredException) Error

func (*IamUserArnRequiredException) ErrorCode

func (e *IamUserArnRequiredException) ErrorCode() string

func (*IamUserArnRequiredException) ErrorFault

func (*IamUserArnRequiredException) ErrorMessage

func (e *IamUserArnRequiredException) ErrorMessage() string

type InstanceAction

type InstanceAction string
const (
	InstanceActionTerminate InstanceAction = "TERMINATE"
	InstanceActionKeepAlive InstanceAction = "KEEP_ALIVE"
)

Enum values for InstanceAction

func (InstanceAction) Values added in v0.29.0

func (InstanceAction) Values() []InstanceAction

Values returns all known values for InstanceAction. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type InstanceDoesNotExistException

type InstanceDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified instance does not exist in the deployment group.

func (*InstanceDoesNotExistException) Error

func (*InstanceDoesNotExistException) ErrorCode

func (e *InstanceDoesNotExistException) ErrorCode() string

func (*InstanceDoesNotExistException) ErrorFault

func (*InstanceDoesNotExistException) ErrorMessage

func (e *InstanceDoesNotExistException) ErrorMessage() string

type InstanceIdRequiredException

type InstanceIdRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The instance ID was not specified.

func (*InstanceIdRequiredException) Error

func (*InstanceIdRequiredException) ErrorCode

func (e *InstanceIdRequiredException) ErrorCode() string

func (*InstanceIdRequiredException) ErrorFault

func (*InstanceIdRequiredException) ErrorMessage

func (e *InstanceIdRequiredException) ErrorMessage() string

type InstanceInfo

type InstanceInfo struct {

	// If the on-premises instance was deregistered, the time at which the on-premises
	// instance was deregistered.
	DeregisterTime *time.Time

	// The ARN of the IAM session associated with the on-premises instance.
	IamSessionArn *string

	// The user ARN associated with the on-premises instance.
	IamUserArn *string

	// The ARN of the on-premises instance.
	InstanceArn *string

	// The name of the on-premises instance.
	InstanceName *string

	// The time at which the on-premises instance was registered.
	RegisterTime *time.Time

	// The tags currently associated with the on-premises instance.
	Tags []Tag
	// contains filtered or unexported fields
}

Information about an on-premises instance.

type InstanceLimitExceededException

type InstanceLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum number of allowed on-premises instances in a single call was exceeded.

func (*InstanceLimitExceededException) Error

func (*InstanceLimitExceededException) ErrorCode

func (e *InstanceLimitExceededException) ErrorCode() string

func (*InstanceLimitExceededException) ErrorFault

func (*InstanceLimitExceededException) ErrorMessage

func (e *InstanceLimitExceededException) ErrorMessage() string

type InstanceNameAlreadyRegisteredException

type InstanceNameAlreadyRegisteredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified on-premises instance name is already registered.

func (*InstanceNameAlreadyRegisteredException) Error

func (*InstanceNameAlreadyRegisteredException) ErrorCode

func (*InstanceNameAlreadyRegisteredException) ErrorFault

func (*InstanceNameAlreadyRegisteredException) ErrorMessage

type InstanceNameRequiredException

type InstanceNameRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An on-premises instance name was not specified.

func (*InstanceNameRequiredException) Error

func (*InstanceNameRequiredException) ErrorCode

func (e *InstanceNameRequiredException) ErrorCode() string

func (*InstanceNameRequiredException) ErrorFault

func (*InstanceNameRequiredException) ErrorMessage

func (e *InstanceNameRequiredException) ErrorMessage() string

type InstanceNotRegisteredException

type InstanceNotRegisteredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified on-premises instance is not registered.

func (*InstanceNotRegisteredException) Error

func (*InstanceNotRegisteredException) ErrorCode

func (e *InstanceNotRegisteredException) ErrorCode() string

func (*InstanceNotRegisteredException) ErrorFault

func (*InstanceNotRegisteredException) ErrorMessage

func (e *InstanceNotRegisteredException) ErrorMessage() string

type InstanceStatus

type InstanceStatus string
const (
	InstanceStatusPending    InstanceStatus = "Pending"
	InstanceStatusInProgress InstanceStatus = "InProgress"
	InstanceStatusSucceeded  InstanceStatus = "Succeeded"
	InstanceStatusFailed     InstanceStatus = "Failed"
	InstanceStatusSkipped    InstanceStatus = "Skipped"
	InstanceStatusUnknown    InstanceStatus = "Unknown"
	InstanceStatusReady      InstanceStatus = "Ready"
)

Enum values for InstanceStatus

func (InstanceStatus) Values added in v0.29.0

func (InstanceStatus) Values() []InstanceStatus

Values returns all known values for InstanceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type InstanceSummary

type InstanceSummary struct {

	//  The unique ID of a deployment.
	DeploymentId *string

	// The instance ID.
	InstanceId *string

	// Information about which environment an instance belongs to in a blue/green
	// deployment.
	//
	//   - BLUE: The instance is part of the original environment.
	//
	//   - GREEN: The instance is part of the replacement environment.
	InstanceType InstanceType

	// A timestamp that indicates when the instance information was last updated.
	LastUpdatedAt *time.Time

	// A list of lifecycle events for this instance.
	LifecycleEvents []LifecycleEvent

	// The deployment status for this instance:
	//
	//   - Pending : The deployment is pending for this instance.
	//
	//   - In Progress : The deployment is in progress for this instance.
	//
	//   - Succeeded : The deployment has succeeded for this instance.
	//
	//   - Failed : The deployment has failed for this instance.
	//
	//   - Skipped : The deployment has been skipped for this instance.
	//
	//   - Unknown : The deployment status is unknown for this instance.
	//
	// Deprecated: InstanceStatus is deprecated, use TargetStatus instead.
	Status InstanceStatus
	// contains filtered or unexported fields
}

Information about an instance in a deployment.

type InstanceTarget

type InstanceTarget struct {

	//  The unique ID of a deployment.
	DeploymentId *string

	//  A label that identifies whether the instance is an original target ( BLUE ) or
	// a replacement target ( GREEN ).
	InstanceLabel TargetLabel

	//  The date and time when the target instance was updated by a deployment.
	LastUpdatedAt *time.Time

	//  The lifecycle events of the deployment to this target instance.
	LifecycleEvents []LifecycleEvent

	//  The status an EC2/On-premises deployment's target instance.
	Status TargetStatus

	//  The Amazon Resource Name (ARN) of the target.
	TargetArn *string

	//  The unique ID of a deployment target that has a type of instanceTarget .
	TargetId *string
	// contains filtered or unexported fields
}
A target Amazon EC2 or on-premises instance during a deployment that uses the

EC2/On-premises compute platform.

type InstanceType

type InstanceType string
const (
	InstanceTypeBlue  InstanceType = "Blue"
	InstanceTypeGreen InstanceType = "Green"
)

Enum values for InstanceType

func (InstanceType) Values added in v0.29.0

func (InstanceType) Values() []InstanceType

Values returns all known values for InstanceType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type InvalidAlarmConfigException

type InvalidAlarmConfigException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The format of the alarm configuration is invalid. Possible causes include:

  • The alarm list is null.

  • The alarm object is null.

  • The alarm name is empty or null or exceeds the limit of 255 characters.

  • Two alarms with the same name have been specified.

  • The alarm configuration is enabled, but the alarm list is empty.

func (*InvalidAlarmConfigException) Error

func (*InvalidAlarmConfigException) ErrorCode

func (e *InvalidAlarmConfigException) ErrorCode() string

func (*InvalidAlarmConfigException) ErrorFault

func (*InvalidAlarmConfigException) ErrorMessage

func (e *InvalidAlarmConfigException) ErrorMessage() string

type InvalidApplicationNameException

type InvalidApplicationNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The application name was specified in an invalid format.

func (*InvalidApplicationNameException) Error

func (*InvalidApplicationNameException) ErrorCode

func (e *InvalidApplicationNameException) ErrorCode() string

func (*InvalidApplicationNameException) ErrorFault

func (*InvalidApplicationNameException) ErrorMessage

func (e *InvalidApplicationNameException) ErrorMessage() string

type InvalidArnException

type InvalidArnException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified ARN is not in a valid format.

func (*InvalidArnException) Error

func (e *InvalidArnException) Error() string

func (*InvalidArnException) ErrorCode

func (e *InvalidArnException) ErrorCode() string

func (*InvalidArnException) ErrorFault

func (e *InvalidArnException) ErrorFault() smithy.ErrorFault

func (*InvalidArnException) ErrorMessage

func (e *InvalidArnException) ErrorMessage() string

type InvalidAutoRollbackConfigException

type InvalidAutoRollbackConfigException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled, but an invalid triggering event type or no event types were listed.

func (*InvalidAutoRollbackConfigException) Error

func (*InvalidAutoRollbackConfigException) ErrorCode

func (*InvalidAutoRollbackConfigException) ErrorFault

func (*InvalidAutoRollbackConfigException) ErrorMessage

func (e *InvalidAutoRollbackConfigException) ErrorMessage() string

type InvalidAutoScalingGroupException

type InvalidAutoScalingGroupException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Auto Scaling group was specified in an invalid format or does not exist.

func (*InvalidAutoScalingGroupException) Error

func (*InvalidAutoScalingGroupException) ErrorCode

func (*InvalidAutoScalingGroupException) ErrorFault

func (*InvalidAutoScalingGroupException) ErrorMessage

func (e *InvalidAutoScalingGroupException) ErrorMessage() string

type InvalidBlueGreenDeploymentConfigurationException

type InvalidBlueGreenDeploymentConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.

func (*InvalidBlueGreenDeploymentConfigurationException) Error

func (*InvalidBlueGreenDeploymentConfigurationException) ErrorCode

func (*InvalidBlueGreenDeploymentConfigurationException) ErrorFault

func (*InvalidBlueGreenDeploymentConfigurationException) ErrorMessage

type InvalidBucketNameFilterException

type InvalidBucketNameFilterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The bucket name either doesn't exist or was specified in an invalid format.

func (*InvalidBucketNameFilterException) Error

func (*InvalidBucketNameFilterException) ErrorCode

func (*InvalidBucketNameFilterException) ErrorFault

func (*InvalidBucketNameFilterException) ErrorMessage

func (e *InvalidBucketNameFilterException) ErrorMessage() string

type InvalidComputePlatformException

type InvalidComputePlatformException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The computePlatform is invalid. The computePlatform should be Lambda , Server , or ECS .

func (*InvalidComputePlatformException) Error

func (*InvalidComputePlatformException) ErrorCode

func (e *InvalidComputePlatformException) ErrorCode() string

func (*InvalidComputePlatformException) ErrorFault

func (*InvalidComputePlatformException) ErrorMessage

func (e *InvalidComputePlatformException) ErrorMessage() string

type InvalidDeployedStateFilterException

type InvalidDeployedStateFilterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployed state filter was specified in an invalid format.

func (*InvalidDeployedStateFilterException) Error

func (*InvalidDeployedStateFilterException) ErrorCode

func (*InvalidDeployedStateFilterException) ErrorFault

func (*InvalidDeployedStateFilterException) ErrorMessage

func (e *InvalidDeployedStateFilterException) ErrorMessage() string

type InvalidDeploymentConfigNameException

type InvalidDeploymentConfigNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment configuration name was specified in an invalid format.

func (*InvalidDeploymentConfigNameException) Error

func (*InvalidDeploymentConfigNameException) ErrorCode

func (*InvalidDeploymentConfigNameException) ErrorFault

func (*InvalidDeploymentConfigNameException) ErrorMessage

func (e *InvalidDeploymentConfigNameException) ErrorMessage() string

type InvalidDeploymentGroupNameException

type InvalidDeploymentGroupNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The deployment group name was specified in an invalid format.

func (*InvalidDeploymentGroupNameException) Error

func (*InvalidDeploymentGroupNameException) ErrorCode

func (*InvalidDeploymentGroupNameException) ErrorFault

func (*InvalidDeploymentGroupNameException) ErrorMessage

func (e *InvalidDeploymentGroupNameException) ErrorMessage() string

type InvalidDeploymentIdException

type InvalidDeploymentIdException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

At least one of the deployment IDs was specified in an invalid format.

func (*InvalidDeploymentIdException) Error

func (*InvalidDeploymentIdException) ErrorCode

func (e *InvalidDeploymentIdException) ErrorCode() string

func (*InvalidDeploymentIdException) ErrorFault

func (*InvalidDeploymentIdException) ErrorMessage

func (e *InvalidDeploymentIdException) ErrorMessage() string

type InvalidDeploymentInstanceTypeException

type InvalidDeploymentInstanceTypeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.

func (*InvalidDeploymentInstanceTypeException) Error

func (*InvalidDeploymentInstanceTypeException) ErrorCode

func (*InvalidDeploymentInstanceTypeException) ErrorFault

func (*InvalidDeploymentInstanceTypeException) ErrorMessage

type InvalidDeploymentStatusException

type InvalidDeploymentStatusException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified deployment status doesn't exist or cannot be determined.

func (*InvalidDeploymentStatusException) Error

func (*InvalidDeploymentStatusException) ErrorCode

func (*InvalidDeploymentStatusException) ErrorFault

func (*InvalidDeploymentStatusException) ErrorMessage

func (e *InvalidDeploymentStatusException) ErrorMessage() string

type InvalidDeploymentStyleException

type InvalidDeploymentStyleException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."

func (*InvalidDeploymentStyleException) Error

func (*InvalidDeploymentStyleException) ErrorCode

func (e *InvalidDeploymentStyleException) ErrorCode() string

func (*InvalidDeploymentStyleException) ErrorFault

func (*InvalidDeploymentStyleException) ErrorMessage

func (e *InvalidDeploymentStyleException) ErrorMessage() string

type InvalidDeploymentTargetIdException

type InvalidDeploymentTargetIdException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The target ID provided was not valid.

func (*InvalidDeploymentTargetIdException) Error

func (*InvalidDeploymentTargetIdException) ErrorCode

func (*InvalidDeploymentTargetIdException) ErrorFault

func (*InvalidDeploymentTargetIdException) ErrorMessage

func (e *InvalidDeploymentTargetIdException) ErrorMessage() string

type InvalidDeploymentWaitTypeException

type InvalidDeploymentWaitTypeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The wait type is invalid.

func (*InvalidDeploymentWaitTypeException) Error

func (*InvalidDeploymentWaitTypeException) ErrorCode

func (*InvalidDeploymentWaitTypeException) ErrorFault

func (*InvalidDeploymentWaitTypeException) ErrorMessage

func (e *InvalidDeploymentWaitTypeException) ErrorMessage() string

type InvalidEC2TagCombinationException

type InvalidEC2TagCombinationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.

func (*InvalidEC2TagCombinationException) Error

func (*InvalidEC2TagCombinationException) ErrorCode

func (*InvalidEC2TagCombinationException) ErrorFault

func (*InvalidEC2TagCombinationException) ErrorMessage

func (e *InvalidEC2TagCombinationException) ErrorMessage() string

type InvalidEC2TagException

type InvalidEC2TagException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The tag was specified in an invalid format.

func (*InvalidEC2TagException) Error

func (e *InvalidEC2TagException) Error() string

func (*InvalidEC2TagException) ErrorCode

func (e *InvalidEC2TagException) ErrorCode() string

func (*InvalidEC2TagException) ErrorFault

func (e *InvalidEC2TagException) ErrorFault() smithy.ErrorFault

func (*InvalidEC2TagException) ErrorMessage

func (e *InvalidEC2TagException) ErrorMessage() string

type InvalidECSServiceException

type InvalidECSServiceException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Amazon ECS service identifier is not valid.

func (*InvalidECSServiceException) Error

func (*InvalidECSServiceException) ErrorCode

func (e *InvalidECSServiceException) ErrorCode() string

func (*InvalidECSServiceException) ErrorFault

func (*InvalidECSServiceException) ErrorMessage

func (e *InvalidECSServiceException) ErrorMessage() string

type InvalidExternalIdException

type InvalidExternalIdException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The external ID was specified in an invalid format.

func (*InvalidExternalIdException) Error

func (*InvalidExternalIdException) ErrorCode

func (e *InvalidExternalIdException) ErrorCode() string

func (*InvalidExternalIdException) ErrorFault

func (*InvalidExternalIdException) ErrorMessage

func (e *InvalidExternalIdException) ErrorMessage() string

type InvalidFileExistsBehaviorException

type InvalidFileExistsBehaviorException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment target location, but weren't part of the previous successful deployment. Valid values include "DISALLOW," "OVERWRITE," and "RETAIN."

func (*InvalidFileExistsBehaviorException) Error

func (*InvalidFileExistsBehaviorException) ErrorCode

func (*InvalidFileExistsBehaviorException) ErrorFault

func (*InvalidFileExistsBehaviorException) ErrorMessage

func (e *InvalidFileExistsBehaviorException) ErrorMessage() string

type InvalidGitHubAccountTokenException

type InvalidGitHubAccountTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The GitHub token is not valid.

func (*InvalidGitHubAccountTokenException) Error

func (*InvalidGitHubAccountTokenException) ErrorCode

func (*InvalidGitHubAccountTokenException) ErrorFault

func (*InvalidGitHubAccountTokenException) ErrorMessage

func (e *InvalidGitHubAccountTokenException) ErrorMessage() string

type InvalidGitHubAccountTokenNameException

type InvalidGitHubAccountTokenNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The format of the specified GitHub account connection name is invalid.

func (*InvalidGitHubAccountTokenNameException) Error

func (*InvalidGitHubAccountTokenNameException) ErrorCode

func (*InvalidGitHubAccountTokenNameException) ErrorFault

func (*InvalidGitHubAccountTokenNameException) ErrorMessage

type InvalidIamSessionArnException

type InvalidIamSessionArnException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The IAM session ARN was specified in an invalid format.

func (*InvalidIamSessionArnException) Error

func (*InvalidIamSessionArnException) ErrorCode

func (e *InvalidIamSessionArnException) ErrorCode() string

func (*InvalidIamSessionArnException) ErrorFault

func (*InvalidIamSessionArnException) ErrorMessage

func (e *InvalidIamSessionArnException) ErrorMessage() string

type InvalidIamUserArnException

type InvalidIamUserArnException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The user ARN was specified in an invalid format.

func (*InvalidIamUserArnException) Error

func (*InvalidIamUserArnException) ErrorCode

func (e *InvalidIamUserArnException) ErrorCode() string

func (*InvalidIamUserArnException) ErrorFault

func (*InvalidIamUserArnException) ErrorMessage

func (e *InvalidIamUserArnException) ErrorMessage() string

type InvalidIgnoreApplicationStopFailuresValueException

type InvalidIgnoreApplicationStopFailuresValueException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The IgnoreApplicationStopFailures value is invalid. For Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

func (*InvalidIgnoreApplicationStopFailuresValueException) Error

func (*InvalidIgnoreApplicationStopFailuresValueException) ErrorCode

func (*InvalidIgnoreApplicationStopFailuresValueException) ErrorFault

func (*InvalidIgnoreApplicationStopFailuresValueException) ErrorMessage

type InvalidInputException

type InvalidInputException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The input was specified in an invalid format.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type InvalidInstanceNameException

type InvalidInstanceNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The on-premises instance name was specified in an invalid format.

func (*InvalidInstanceNameException) Error

func (*InvalidInstanceNameException) ErrorCode

func (e *InvalidInstanceNameException) ErrorCode() string

func (*InvalidInstanceNameException) ErrorFault

func (*InvalidInstanceNameException) ErrorMessage

func (e *InvalidInstanceNameException) ErrorMessage() string

type InvalidInstanceStatusException

type InvalidInstanceStatusException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified instance status does not exist.

func (*InvalidInstanceStatusException) Error

func (*InvalidInstanceStatusException) ErrorCode

func (e *InvalidInstanceStatusException) ErrorCode() string

func (*InvalidInstanceStatusException) ErrorFault

func (*InvalidInstanceStatusException) ErrorMessage

func (e *InvalidInstanceStatusException) ErrorMessage() string

type InvalidInstanceTypeException

type InvalidInstanceTypeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An invalid instance type was specified for instances in a blue/green deployment. Valid values include "Blue" for an original environment and "Green" for a replacement environment.

func (*InvalidInstanceTypeException) Error

func (*InvalidInstanceTypeException) ErrorCode

func (e *InvalidInstanceTypeException) ErrorCode() string

func (*InvalidInstanceTypeException) ErrorFault

func (*InvalidInstanceTypeException) ErrorMessage

func (e *InvalidInstanceTypeException) ErrorMessage() string

type InvalidKeyPrefixFilterException

type InvalidKeyPrefixFilterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified key prefix filter was specified in an invalid format.

func (*InvalidKeyPrefixFilterException) Error

func (*InvalidKeyPrefixFilterException) ErrorCode

func (e *InvalidKeyPrefixFilterException) ErrorCode() string

func (*InvalidKeyPrefixFilterException) ErrorFault

func (*InvalidKeyPrefixFilterException) ErrorMessage

func (e *InvalidKeyPrefixFilterException) ErrorMessage() string

type InvalidLifecycleEventHookExecutionIdException

type InvalidLifecycleEventHookExecutionIdException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A lifecycle event hook is invalid. Review the hooks section in your AppSpec file to ensure the lifecycle events and hooks functions are valid.

func (*InvalidLifecycleEventHookExecutionIdException) Error

func (*InvalidLifecycleEventHookExecutionIdException) ErrorCode

func (*InvalidLifecycleEventHookExecutionIdException) ErrorFault

func (*InvalidLifecycleEventHookExecutionIdException) ErrorMessage

type InvalidLifecycleEventHookExecutionStatusException

type InvalidLifecycleEventHookExecutionStatusException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return Succeeded or Failed .

func (*InvalidLifecycleEventHookExecutionStatusException) Error

func (*InvalidLifecycleEventHookExecutionStatusException) ErrorCode

func (*InvalidLifecycleEventHookExecutionStatusException) ErrorFault

func (*InvalidLifecycleEventHookExecutionStatusException) ErrorMessage

type InvalidLoadBalancerInfoException

type InvalidLoadBalancerInfoException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An invalid load balancer name, or no load balancer name, was specified.

func (*InvalidLoadBalancerInfoException) Error

func (*InvalidLoadBalancerInfoException) ErrorCode

func (*InvalidLoadBalancerInfoException) ErrorFault

func (*InvalidLoadBalancerInfoException) ErrorMessage

func (e *InvalidLoadBalancerInfoException) ErrorMessage() string

type InvalidMinimumHealthyHostValueException

type InvalidMinimumHealthyHostValueException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The minimum healthy instance value was specified in an invalid format.

func (*InvalidMinimumHealthyHostValueException) Error

func (*InvalidMinimumHealthyHostValueException) ErrorCode

func (*InvalidMinimumHealthyHostValueException) ErrorFault

func (*InvalidMinimumHealthyHostValueException) ErrorMessage

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The next token was specified in an invalid format.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type InvalidOnPremisesTagCombinationException

type InvalidOnPremisesTagCombinationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.

func (*InvalidOnPremisesTagCombinationException) Error

func (*InvalidOnPremisesTagCombinationException) ErrorCode

func (*InvalidOnPremisesTagCombinationException) ErrorFault

func (*InvalidOnPremisesTagCombinationException) ErrorMessage

type InvalidOperationException

type InvalidOperationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An invalid operation was detected.

func (*InvalidOperationException) Error

func (e *InvalidOperationException) Error() string

func (*InvalidOperationException) ErrorCode

func (e *InvalidOperationException) ErrorCode() string

func (*InvalidOperationException) ErrorFault

func (*InvalidOperationException) ErrorMessage

func (e *InvalidOperationException) ErrorMessage() string

type InvalidRegistrationStatusException

type InvalidRegistrationStatusException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The registration status was specified in an invalid format.

func (*InvalidRegistrationStatusException) Error

func (*InvalidRegistrationStatusException) ErrorCode

func (*InvalidRegistrationStatusException) ErrorFault

func (*InvalidRegistrationStatusException) ErrorMessage

func (e *InvalidRegistrationStatusException) ErrorMessage() string

type InvalidRevisionException

type InvalidRevisionException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The revision was specified in an invalid format.

func (*InvalidRevisionException) Error

func (e *InvalidRevisionException) Error() string

func (*InvalidRevisionException) ErrorCode

func (e *InvalidRevisionException) ErrorCode() string

func (*InvalidRevisionException) ErrorFault

func (e *InvalidRevisionException) ErrorFault() smithy.ErrorFault

func (*InvalidRevisionException) ErrorMessage

func (e *InvalidRevisionException) ErrorMessage() string

type InvalidRoleException

type InvalidRoleException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.

func (*InvalidRoleException) Error

func (e *InvalidRoleException) Error() string

func (*InvalidRoleException) ErrorCode

func (e *InvalidRoleException) ErrorCode() string

func (*InvalidRoleException) ErrorFault

func (e *InvalidRoleException) ErrorFault() smithy.ErrorFault

func (*InvalidRoleException) ErrorMessage

func (e *InvalidRoleException) ErrorMessage() string

type InvalidSortByException

type InvalidSortByException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The column name to sort by is either not present or was specified in an invalid format.

func (*InvalidSortByException) Error

func (e *InvalidSortByException) Error() string

func (*InvalidSortByException) ErrorCode

func (e *InvalidSortByException) ErrorCode() string

func (*InvalidSortByException) ErrorFault

func (e *InvalidSortByException) ErrorFault() smithy.ErrorFault

func (*InvalidSortByException) ErrorMessage

func (e *InvalidSortByException) ErrorMessage() string

type InvalidSortOrderException

type InvalidSortOrderException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The sort order was specified in an invalid format.

func (*InvalidSortOrderException) Error

func (e *InvalidSortOrderException) Error() string

func (*InvalidSortOrderException) ErrorCode

func (e *InvalidSortOrderException) ErrorCode() string

func (*InvalidSortOrderException) ErrorFault

func (*InvalidSortOrderException) ErrorMessage

func (e *InvalidSortOrderException) ErrorMessage() string

type InvalidTagException

type InvalidTagException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The tag was specified in an invalid format.

func (*InvalidTagException) Error

func (e *InvalidTagException) Error() string

func (*InvalidTagException) ErrorCode

func (e *InvalidTagException) ErrorCode() string

func (*InvalidTagException) ErrorFault

func (e *InvalidTagException) ErrorFault() smithy.ErrorFault

func (*InvalidTagException) ErrorMessage

func (e *InvalidTagException) ErrorMessage() string

type InvalidTagFilterException

type InvalidTagFilterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The tag filter was specified in an invalid format.

func (*InvalidTagFilterException) Error

func (e *InvalidTagFilterException) Error() string

func (*InvalidTagFilterException) ErrorCode

func (e *InvalidTagFilterException) ErrorCode() string

func (*InvalidTagFilterException) ErrorFault

func (*InvalidTagFilterException) ErrorMessage

func (e *InvalidTagFilterException) ErrorMessage() string

type InvalidTagsToAddException

type InvalidTagsToAddException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified tags are not valid.

func (*InvalidTagsToAddException) Error

func (e *InvalidTagsToAddException) Error() string

func (*InvalidTagsToAddException) ErrorCode

func (e *InvalidTagsToAddException) ErrorCode() string

func (*InvalidTagsToAddException) ErrorFault

func (*InvalidTagsToAddException) ErrorMessage

func (e *InvalidTagsToAddException) ErrorMessage() string

type InvalidTargetFilterNameException

type InvalidTargetFilterNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The target filter name is invalid.

func (*InvalidTargetFilterNameException) Error

func (*InvalidTargetFilterNameException) ErrorCode

func (*InvalidTargetFilterNameException) ErrorFault

func (*InvalidTargetFilterNameException) ErrorMessage

func (e *InvalidTargetFilterNameException) ErrorMessage() string

type InvalidTargetGroupPairException

type InvalidTargetGroupPairException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A target group pair associated with this deployment is not valid.

func (*InvalidTargetGroupPairException) Error

func (*InvalidTargetGroupPairException) ErrorCode

func (e *InvalidTargetGroupPairException) ErrorCode() string

func (*InvalidTargetGroupPairException) ErrorFault

func (*InvalidTargetGroupPairException) ErrorMessage

func (e *InvalidTargetGroupPairException) ErrorMessage() string

type InvalidTargetInstancesException

type InvalidTargetInstancesException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The target instance configuration is invalid. Possible causes include:

  • Configuration data for target instances was entered for an in-place deployment.

  • The limit of 10 tags for a tag type was exceeded.

  • The combined length of the tag names exceeded the limit.

  • A specified tag is not currently applied to any instances.

func (*InvalidTargetInstancesException) Error

func (*InvalidTargetInstancesException) ErrorCode

func (e *InvalidTargetInstancesException) ErrorCode() string

func (*InvalidTargetInstancesException) ErrorFault

func (*InvalidTargetInstancesException) ErrorMessage

func (e *InvalidTargetInstancesException) ErrorMessage() string

type InvalidTimeRangeException

type InvalidTimeRangeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified time range was specified in an invalid format.

func (*InvalidTimeRangeException) Error

func (e *InvalidTimeRangeException) Error() string

func (*InvalidTimeRangeException) ErrorCode

func (e *InvalidTimeRangeException) ErrorCode() string

func (*InvalidTimeRangeException) ErrorFault

func (*InvalidTimeRangeException) ErrorMessage

func (e *InvalidTimeRangeException) ErrorMessage() string

type InvalidTrafficRoutingConfigurationException

type InvalidTrafficRoutingConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}
The configuration that specifies how traffic is routed during a deployment is

invalid.

func (*InvalidTrafficRoutingConfigurationException) Error

func (*InvalidTrafficRoutingConfigurationException) ErrorCode

func (*InvalidTrafficRoutingConfigurationException) ErrorFault

func (*InvalidTrafficRoutingConfigurationException) ErrorMessage

type InvalidTriggerConfigException

type InvalidTriggerConfigException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The trigger was specified in an invalid format.

func (*InvalidTriggerConfigException) Error

func (*InvalidTriggerConfigException) ErrorCode

func (e *InvalidTriggerConfigException) ErrorCode() string

func (*InvalidTriggerConfigException) ErrorFault

func (*InvalidTriggerConfigException) ErrorMessage

func (e *InvalidTriggerConfigException) ErrorMessage() string

type InvalidUpdateOutdatedInstancesOnlyValueException

type InvalidUpdateOutdatedInstancesOnlyValueException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The UpdateOutdatedInstancesOnly value is invalid. For Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

func (*InvalidUpdateOutdatedInstancesOnlyValueException) Error

func (*InvalidUpdateOutdatedInstancesOnlyValueException) ErrorCode

func (*InvalidUpdateOutdatedInstancesOnlyValueException) ErrorFault

func (*InvalidUpdateOutdatedInstancesOnlyValueException) ErrorMessage

type InvalidZonalDeploymentConfigurationException added in v1.22.0

type InvalidZonalDeploymentConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The ZonalConfig object is not valid.

func (*InvalidZonalDeploymentConfigurationException) Error added in v1.22.0

func (*InvalidZonalDeploymentConfigurationException) ErrorCode added in v1.22.0

func (*InvalidZonalDeploymentConfigurationException) ErrorFault added in v1.22.0

func (*InvalidZonalDeploymentConfigurationException) ErrorMessage added in v1.22.0

type LambdaFunctionInfo

type LambdaFunctionInfo struct {

	//  The version of a Lambda function that production traffic points to.
	CurrentVersion *string

	//  The alias of a Lambda function. For more information, see [Lambda Function Aliases] in the Lambda
	// Developer Guide.
	//
	// [Lambda Function Aliases]: https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
	FunctionAlias *string

	//  The name of a Lambda function.
	FunctionName *string

	//  The version of a Lambda function that production traffic points to after the
	// Lambda function is deployed.
	TargetVersion *string

	//  The percentage of production traffic that the target version of a Lambda
	// function receives.
	TargetVersionWeight float64
	// contains filtered or unexported fields
}

Information about a Lambda function specified in a deployment.

type LambdaTarget

type LambdaTarget struct {

	//  The unique ID of a deployment.
	DeploymentId *string

	//  A LambdaFunctionInfo object that describes a target Lambda function.
	LambdaFunctionInfo *LambdaFunctionInfo

	//  The date and time when the target Lambda function was updated by a deployment.
	LastUpdatedAt *time.Time

	//  The lifecycle events of the deployment to this target Lambda function.
	LifecycleEvents []LifecycleEvent

	//  The status an Lambda deployment's target Lambda function.
	Status TargetStatus

	//  The Amazon Resource Name (ARN) of the target.
	TargetArn *string

	//  The unique ID of a deployment target that has a type of lambdaTarget .
	TargetId *string
	// contains filtered or unexported fields
}

Information about the target Lambda function during an Lambda deployment.

type LastDeploymentInfo

type LastDeploymentInfo struct {

	// A timestamp that indicates when the most recent deployment to the deployment
	// group started.
	CreateTime *time.Time

	//  The unique ID of a deployment.
	DeploymentId *string

	// A timestamp that indicates when the most recent deployment to the deployment
	// group was complete.
	EndTime *time.Time

	// The status of the most recent deployment.
	Status DeploymentStatus
	// contains filtered or unexported fields
}

Information about the most recent attempted or successful deployment to a deployment group.

type LifecycleErrorCode

type LifecycleErrorCode string
const (
	LifecycleErrorCodeSuccess             LifecycleErrorCode = "Success"
	LifecycleErrorCodeScriptMissing       LifecycleErrorCode = "ScriptMissing"
	LifecycleErrorCodeScriptNotExecutable LifecycleErrorCode = "ScriptNotExecutable"
	LifecycleErrorCodeScriptTimedOut      LifecycleErrorCode = "ScriptTimedOut"
	LifecycleErrorCodeScriptFailed        LifecycleErrorCode = "ScriptFailed"
	LifecycleErrorCodeUnknownError        LifecycleErrorCode = "UnknownError"
)

Enum values for LifecycleErrorCode

func (LifecycleErrorCode) Values added in v0.29.0

Values returns all known values for LifecycleErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type LifecycleEvent

type LifecycleEvent struct {

	// Diagnostic information about the deployment lifecycle event.
	Diagnostics *Diagnostics

	// A timestamp that indicates when the deployment lifecycle event ended.
	EndTime *time.Time

	// The deployment lifecycle event name, such as ApplicationStop , BeforeInstall ,
	// AfterInstall , ApplicationStart , or ValidateService .
	LifecycleEventName *string

	// A timestamp that indicates when the deployment lifecycle event started.
	StartTime *time.Time

	// The deployment lifecycle event status:
	//
	//   - Pending: The deployment lifecycle event is pending.
	//
	//   - InProgress: The deployment lifecycle event is in progress.
	//
	//   - Succeeded: The deployment lifecycle event ran successfully.
	//
	//   - Failed: The deployment lifecycle event has failed.
	//
	//   - Skipped: The deployment lifecycle event has been skipped.
	//
	//   - Unknown: The deployment lifecycle event is unknown.
	Status LifecycleEventStatus
	// contains filtered or unexported fields
}

Information about a deployment lifecycle event.

type LifecycleEventAlreadyCompletedException

type LifecycleEventAlreadyCompletedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An attempt to return the status of an already completed lifecycle event occurred.

func (*LifecycleEventAlreadyCompletedException) Error

func (*LifecycleEventAlreadyCompletedException) ErrorCode

func (*LifecycleEventAlreadyCompletedException) ErrorFault

func (*LifecycleEventAlreadyCompletedException) ErrorMessage

type LifecycleEventStatus

type LifecycleEventStatus string
const (
	LifecycleEventStatusPending    LifecycleEventStatus = "Pending"
	LifecycleEventStatusInProgress LifecycleEventStatus = "InProgress"
	LifecycleEventStatusSucceeded  LifecycleEventStatus = "Succeeded"
	LifecycleEventStatusFailed     LifecycleEventStatus = "Failed"
	LifecycleEventStatusSkipped    LifecycleEventStatus = "Skipped"
	LifecycleEventStatusUnknown    LifecycleEventStatus = "Unknown"
)

Enum values for LifecycleEventStatus

func (LifecycleEventStatus) Values added in v0.29.0

Values returns all known values for LifecycleEventStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type LifecycleHookLimitExceededException

type LifecycleHookLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The limit for lifecycle hooks was exceeded.

func (*LifecycleHookLimitExceededException) Error

func (*LifecycleHookLimitExceededException) ErrorCode

func (*LifecycleHookLimitExceededException) ErrorFault

func (*LifecycleHookLimitExceededException) ErrorMessage

func (e *LifecycleHookLimitExceededException) ErrorMessage() string

type ListStateFilterAction

type ListStateFilterAction string
const (
	ListStateFilterActionInclude ListStateFilterAction = "include"
	ListStateFilterActionExclude ListStateFilterAction = "exclude"
	ListStateFilterActionIgnore  ListStateFilterAction = "ignore"
)

Enum values for ListStateFilterAction

func (ListStateFilterAction) Values added in v0.29.0

Values returns all known values for ListStateFilterAction. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type LoadBalancerInfo

type LoadBalancerInfo struct {

	// An array that contains information about the load balancers to use for load
	// balancing in a deployment. If you're using Classic Load Balancers, specify those
	// load balancers in this array.
	//
	// You can add up to 10 load balancers to the array.
	//
	// If you're using Application Load Balancers or Network Load Balancers, use the
	// targetGroupInfoList array instead of this one.
	ElbInfoList []ELBInfo

	// An array that contains information about the target groups to use for load
	// balancing in a deployment. If you're using Application Load Balancers and
	// Network Load Balancers, specify their associated target groups in this array.
	//
	// You can add up to 10 target groups to the array.
	//
	// If you're using Classic Load Balancers, use the elbInfoList array instead of
	// this one.
	TargetGroupInfoList []TargetGroupInfo

	//  The target group pair information. This is an array of TargeGroupPairInfo
	// objects with a maximum size of one.
	TargetGroupPairInfoList []TargetGroupPairInfo
	// contains filtered or unexported fields
}

Information about the Elastic Load Balancing load balancer or target group used in a deployment.

You can use load balancers and target groups in combination. For example, if you have two Classic Load Balancers, and five target groups tied to an Application Load Balancer, you can specify the two Classic Load Balancers in elbInfoList , and the five target groups in targetGroupInfoList .

type MinimumHealthyHosts

type MinimumHealthyHosts struct {

	// The minimum healthy instance type:
	//
	//   - HOST_COUNT : The minimum number of healthy instances as an absolute value.
	//
	//   - FLEET_PERCENT : The minimum number of healthy instances as a percentage of
	//   the total number of instances in the deployment.
	//
	// In an example of nine instances, if a HOST_COUNT of six is specified, deploy to
	// up to three instances at a time. The deployment is successful if six or more
	// instances are deployed to successfully. Otherwise, the deployment fails. If a
	// FLEET_PERCENT of 40 is specified, deploy to up to five instances at a time. The
	// deployment is successful if four or more instances are deployed to successfully.
	// Otherwise, the deployment fails.
	//
	// In a call to the GetDeploymentConfig , CodeDeployDefault.OneAtATime returns a
	// minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a
	// deployment to only one instance at a time. (You cannot set the type to
	// MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with
	// CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all instances
	// but one are kept in a healthy state during the deployment. Although this allows
	// one instance at a time to be taken offline for a new deployment, it also means
	// that if the deployment to the last instance fails, the overall deployment is
	// still successful.
	//
	// For more information, see [CodeDeploy Instance Health] in the CodeDeploy User Guide.
	//
	// [CodeDeploy Instance Health]: https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html
	Type MinimumHealthyHostsType

	// The minimum healthy instance value.
	Value int32
	// contains filtered or unexported fields
}

Information about the minimum number of healthy instances.

type MinimumHealthyHostsPerZone added in v1.22.0

type MinimumHealthyHostsPerZone struct {

	// The type associated with the MinimumHealthyHostsPerZone option.
	Type MinimumHealthyHostsPerZoneType

	// The value associated with the MinimumHealthyHostsPerZone option.
	Value int32
	// contains filtered or unexported fields
}

Information about the minimum number of healthy instances per Availability Zone.

type MinimumHealthyHostsPerZoneType added in v1.22.0

type MinimumHealthyHostsPerZoneType string
const (
	MinimumHealthyHostsPerZoneTypeHostCount    MinimumHealthyHostsPerZoneType = "HOST_COUNT"
	MinimumHealthyHostsPerZoneTypeFleetPercent MinimumHealthyHostsPerZoneType = "FLEET_PERCENT"
)

Enum values for MinimumHealthyHostsPerZoneType

func (MinimumHealthyHostsPerZoneType) Values added in v1.22.0

Values returns all known values for MinimumHealthyHostsPerZoneType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type MinimumHealthyHostsType

type MinimumHealthyHostsType string
const (
	MinimumHealthyHostsTypeHostCount    MinimumHealthyHostsType = "HOST_COUNT"
	MinimumHealthyHostsTypeFleetPercent MinimumHealthyHostsType = "FLEET_PERCENT"
)

Enum values for MinimumHealthyHostsType

func (MinimumHealthyHostsType) Values added in v0.29.0

Values returns all known values for MinimumHealthyHostsType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type MultipleIamArnsProvidedException

type MultipleIamArnsProvidedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Both an user ARN and an IAM session ARN were included in the request. Use only one ARN type.

func (*MultipleIamArnsProvidedException) Error

func (*MultipleIamArnsProvidedException) ErrorCode

func (*MultipleIamArnsProvidedException) ErrorFault

func (*MultipleIamArnsProvidedException) ErrorMessage

func (e *MultipleIamArnsProvidedException) ErrorMessage() string

type OnPremisesTagSet

type OnPremisesTagSet struct {

	// A list that contains other lists of on-premises instance tag groups. For an
	// instance to be included in the deployment group, it must be identified by all of
	// the tag groups in the list.
	OnPremisesTagSetList [][]TagFilter
	// contains filtered or unexported fields
}

Information about groups of on-premises instance tags.

type OperationNotSupportedException

type OperationNotSupportedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The API used does not support the deployment.

func (*OperationNotSupportedException) Error

func (*OperationNotSupportedException) ErrorCode

func (e *OperationNotSupportedException) ErrorCode() string

func (*OperationNotSupportedException) ErrorFault

func (*OperationNotSupportedException) ErrorMessage

func (e *OperationNotSupportedException) ErrorMessage() string

type OutdatedInstancesStrategy added in v1.2.0

type OutdatedInstancesStrategy string
const (
	OutdatedInstancesStrategyUpdate OutdatedInstancesStrategy = "UPDATE"
	OutdatedInstancesStrategyIgnore OutdatedInstancesStrategy = "IGNORE"
)

Enum values for OutdatedInstancesStrategy

func (OutdatedInstancesStrategy) Values added in v1.2.0

Values returns all known values for OutdatedInstancesStrategy. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RawString

type RawString struct {

	// The YAML-formatted or JSON-formatted revision string. It includes information
	// about which Lambda function to update and optional Lambda functions that
	// validate deployment lifecycle events.
	Content *string

	// The SHA256 hash value of the revision content.
	Sha256 *string
	// contains filtered or unexported fields
}

A revision for an Lambda deployment that is a YAML-formatted or JSON-formatted string. For Lambda deployments, the revision is the same as the AppSpec file.

type RegistrationStatus

type RegistrationStatus string
const (
	RegistrationStatusRegistered   RegistrationStatus = "Registered"
	RegistrationStatusDeregistered RegistrationStatus = "Deregistered"
)

Enum values for RegistrationStatus

func (RegistrationStatus) Values added in v0.29.0

Values returns all known values for RegistrationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RelatedDeployments added in v1.2.0

type RelatedDeployments struct {

	// The deployment IDs of 'auto-update outdated instances' deployments triggered by
	// this deployment.
	AutoUpdateOutdatedInstancesDeploymentIds []string

	// The deployment ID of the root deployment that triggered this deployment.
	AutoUpdateOutdatedInstancesRootDeploymentId *string
	// contains filtered or unexported fields
}

Information about deployments related to the specified deployment.

type ResourceArnRequiredException

type ResourceArnRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The ARN of a resource is required, but was not found.

func (*ResourceArnRequiredException) Error

func (*ResourceArnRequiredException) ErrorCode

func (e *ResourceArnRequiredException) ErrorCode() string

func (*ResourceArnRequiredException) ErrorFault

func (*ResourceArnRequiredException) ErrorMessage

func (e *ResourceArnRequiredException) ErrorMessage() string

type ResourceValidationException

type ResourceValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource could not be validated.

func (*ResourceValidationException) Error

func (*ResourceValidationException) ErrorCode

func (e *ResourceValidationException) ErrorCode() string

func (*ResourceValidationException) ErrorFault

func (*ResourceValidationException) ErrorMessage

func (e *ResourceValidationException) ErrorMessage() string

type RevisionDoesNotExistException

type RevisionDoesNotExistException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The named revision does not exist with the user or Amazon Web Services account.

func (*RevisionDoesNotExistException) Error

func (*RevisionDoesNotExistException) ErrorCode

func (e *RevisionDoesNotExistException) ErrorCode() string

func (*RevisionDoesNotExistException) ErrorFault

func (*RevisionDoesNotExistException) ErrorMessage

func (e *RevisionDoesNotExistException) ErrorMessage() string

type RevisionInfo

type RevisionInfo struct {

	// Information about an application revision, including usage details and
	// associated deployment groups.
	GenericRevisionInfo *GenericRevisionInfo

	// Information about the location and type of an application revision.
	RevisionLocation *RevisionLocation
	// contains filtered or unexported fields
}

Information about an application revision.

type RevisionLocation

type RevisionLocation struct {

	//  The content of an AppSpec file for an Lambda or Amazon ECS deployment. The
	// content is formatted as JSON or YAML and stored as a RawString.
	AppSpecContent *AppSpecContent

	// Information about the location of application artifacts stored in GitHub.
	GitHubLocation *GitHubLocation

	// The type of application revision:
	//
	//   - S3: An application revision stored in Amazon S3.
	//
	//   - GitHub: An application revision stored in GitHub (EC2/On-premises
	//   deployments only).
	//
	//   - String: A YAML-formatted or JSON-formatted string (Lambda deployments only).
	//
	//   - AppSpecContent: An AppSpecContent object that contains the contents of an
	//   AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as
	//   JSON or YAML stored as a RawString.
	RevisionType RevisionLocationType

	// Information about the location of a revision stored in Amazon S3.
	S3Location *S3Location

	// Information about the location of an Lambda deployment revision stored as a
	// RawString.
	//
	// Deprecated: RawString and String revision type are deprecated, use
	// AppSpecContent type instead.
	String_ *RawString
	// contains filtered or unexported fields
}

Information about the location of an application revision.

type RevisionLocationType

type RevisionLocationType string
const (
	RevisionLocationTypeS3             RevisionLocationType = "S3"
	RevisionLocationTypeGitHub         RevisionLocationType = "GitHub"
	RevisionLocationTypeString         RevisionLocationType = "String"
	RevisionLocationTypeAppSpecContent RevisionLocationType = "AppSpecContent"
)

Enum values for RevisionLocationType

func (RevisionLocationType) Values added in v0.29.0

Values returns all known values for RevisionLocationType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RevisionRequiredException

type RevisionRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The revision ID was not specified.

func (*RevisionRequiredException) Error

func (e *RevisionRequiredException) Error() string

func (*RevisionRequiredException) ErrorCode

func (e *RevisionRequiredException) ErrorCode() string

func (*RevisionRequiredException) ErrorFault

func (*RevisionRequiredException) ErrorMessage

func (e *RevisionRequiredException) ErrorMessage() string

type RoleRequiredException

type RoleRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The role ID was not specified.

func (*RoleRequiredException) Error

func (e *RoleRequiredException) Error() string

func (*RoleRequiredException) ErrorCode

func (e *RoleRequiredException) ErrorCode() string

func (*RoleRequiredException) ErrorFault

func (e *RoleRequiredException) ErrorFault() smithy.ErrorFault

func (*RoleRequiredException) ErrorMessage

func (e *RoleRequiredException) ErrorMessage() string

type RollbackInfo

type RollbackInfo struct {

	// The ID of the deployment rollback.
	RollbackDeploymentId *string

	// Information that describes the status of a deployment rollback (for example,
	// whether the deployment can't be rolled back, is in progress, failed, or
	// succeeded).
	RollbackMessage *string

	// The deployment ID of the deployment that was underway and triggered a rollback
	// deployment because it failed or was stopped.
	RollbackTriggeringDeploymentId *string
	// contains filtered or unexported fields
}

Information about a deployment rollback.

type S3Location

type S3Location struct {

	// The name of the Amazon S3 bucket where the application revision is stored.
	Bucket *string

	// The file type of the application revision. Must be one of the following:
	//
	//   - tar : A tar archive file.
	//
	//   - tgz : A compressed tar archive file.
	//
	//   - zip : A zip archive file.
	//
	//   - YAML : A YAML-formatted file.
	//
	//   - JSON : A JSON-formatted file.
	BundleType BundleType

	// The ETag of the Amazon S3 object that represents the bundled artifacts for the
	// application revision.
	//
	// If the ETag is not specified as an input parameter, ETag validation of the
	// object is skipped.
	ETag *string

	// The name of the Amazon S3 object that represents the bundled artifacts for the
	// application revision.
	Key *string

	// A specific version of the Amazon S3 object that represents the bundled
	// artifacts for the application revision.
	//
	// If the version is not specified, the system uses the most recent version by
	// default.
	Version *string
	// contains filtered or unexported fields
}

Information about the location of application artifacts stored in Amazon S3.

type SortOrder

type SortOrder string
const (
	SortOrderAscending  SortOrder = "ascending"
	SortOrderDescending SortOrder = "descending"
)

Enum values for SortOrder

func (SortOrder) Values added in v0.29.0

func (SortOrder) Values() []SortOrder

Values returns all known values for SortOrder. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type StopStatus

type StopStatus string
const (
	StopStatusPending   StopStatus = "Pending"
	StopStatusSucceeded StopStatus = "Succeeded"
)

Enum values for StopStatus

func (StopStatus) Values added in v0.29.0

func (StopStatus) Values() []StopStatus

Values returns all known values for StopStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type Tag

type Tag struct {

	// The tag's key.
	Key *string

	// The tag's value.
	Value *string
	// contains filtered or unexported fields
}

Information about a tag.

type TagFilter

type TagFilter struct {

	// The on-premises instance tag filter key.
	Key *string

	// The on-premises instance tag filter type:
	//
	//   - KEY_ONLY: Key only.
	//
	//   - VALUE_ONLY: Value only.
	//
	//   - KEY_AND_VALUE: Key and value.
	Type TagFilterType

	// The on-premises instance tag filter value.
	Value *string
	// contains filtered or unexported fields
}

Information about an on-premises instance tag filter.

type TagFilterType

type TagFilterType string
const (
	TagFilterTypeKeyOnly     TagFilterType = "KEY_ONLY"
	TagFilterTypeValueOnly   TagFilterType = "VALUE_ONLY"
	TagFilterTypeKeyAndValue TagFilterType = "KEY_AND_VALUE"
)

Enum values for TagFilterType

func (TagFilterType) Values added in v0.29.0

func (TagFilterType) Values() []TagFilterType

Values returns all known values for TagFilterType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum allowed number of tags was exceeded.

func (*TagLimitExceededException) Error

func (e *TagLimitExceededException) Error() string

func (*TagLimitExceededException) ErrorCode

func (e *TagLimitExceededException) ErrorCode() string

func (*TagLimitExceededException) ErrorFault

func (*TagLimitExceededException) ErrorMessage

func (e *TagLimitExceededException) ErrorMessage() string

type TagRequiredException

type TagRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A tag was not specified.

func (*TagRequiredException) Error

func (e *TagRequiredException) Error() string

func (*TagRequiredException) ErrorCode

func (e *TagRequiredException) ErrorCode() string

func (*TagRequiredException) ErrorFault

func (e *TagRequiredException) ErrorFault() smithy.ErrorFault

func (*TagRequiredException) ErrorMessage

func (e *TagRequiredException) ErrorMessage() string

type TagSetListLimitExceededException

type TagSetListLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.

func (*TagSetListLimitExceededException) Error

func (*TagSetListLimitExceededException) ErrorCode

func (*TagSetListLimitExceededException) ErrorFault

func (*TagSetListLimitExceededException) ErrorMessage

func (e *TagSetListLimitExceededException) ErrorMessage() string

type TargetFilterName

type TargetFilterName string
const (
	TargetFilterNameTargetStatus        TargetFilterName = "TargetStatus"
	TargetFilterNameServerInstanceLabel TargetFilterName = "ServerInstanceLabel"
)

Enum values for TargetFilterName

func (TargetFilterName) Values added in v0.29.0

Values returns all known values for TargetFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetGroupInfo

type TargetGroupInfo struct {

	// For blue/green deployments, the name of the target group that instances in the
	// original environment are deregistered from, and instances in the replacement
	// environment are registered with. For in-place deployments, the name of the
	// target group that instances are deregistered from, so they are not serving
	// traffic during a deployment, and then re-registered with after the deployment is
	// complete.
	Name *string
	// contains filtered or unexported fields
}

Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.

type TargetGroupPairInfo

type TargetGroupPairInfo struct {

	//  The path used by a load balancer to route production traffic when an Amazon
	// ECS deployment is complete.
	ProdTrafficRoute *TrafficRoute

	//  One pair of target groups. One is associated with the original task set. The
	// second is associated with the task set that serves traffic after the deployment
	// is complete.
	TargetGroups []TargetGroupInfo

	//  An optional path used by a load balancer to route test traffic after an Amazon
	// ECS deployment. Validation can occur while test traffic is served during a
	// deployment.
	TestTrafficRoute *TrafficRoute
	// contains filtered or unexported fields
}
Information about two target groups and how traffic is routed during an Amazon

ECS deployment. An optional test traffic route can be specified.

type TargetInstances

type TargetInstances struct {

	// The names of one or more Auto Scaling groups to identify a replacement
	// environment for a blue/green deployment.
	AutoScalingGroups []string

	// Information about the groups of Amazon EC2 instance tags that an instance must
	// be identified by in order for it to be included in the replacement environment
	// for a blue/green deployment. Cannot be used in the same call as tagFilters .
	Ec2TagSet *EC2TagSet

	// The tag filter key, type, and value used to identify Amazon EC2 instances in a
	// replacement environment for a blue/green deployment. Cannot be used in the same
	// call as ec2TagSet .
	TagFilters []EC2TagFilter
	// contains filtered or unexported fields
}

Information about the instances to be used in the replacement environment in a blue/green deployment.

type TargetLabel

type TargetLabel string
const (
	TargetLabelBlue  TargetLabel = "Blue"
	TargetLabelGreen TargetLabel = "Green"
)

Enum values for TargetLabel

func (TargetLabel) Values added in v0.29.0

func (TargetLabel) Values() []TargetLabel

Values returns all known values for TargetLabel. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetStatus

type TargetStatus string
const (
	TargetStatusPending    TargetStatus = "Pending"
	TargetStatusInProgress TargetStatus = "InProgress"
	TargetStatusSucceeded  TargetStatus = "Succeeded"
	TargetStatusFailed     TargetStatus = "Failed"
	TargetStatusSkipped    TargetStatus = "Skipped"
	TargetStatusUnknown    TargetStatus = "Unknown"
	TargetStatusReady      TargetStatus = "Ready"
)

Enum values for TargetStatus

func (TargetStatus) Values added in v0.29.0

func (TargetStatus) Values() []TargetStatus

Values returns all known values for TargetStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An API function was called too frequently.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type TimeBasedCanary

type TimeBasedCanary struct {

	// The number of minutes between the first and second traffic shifts of a
	// TimeBasedCanary deployment.
	CanaryInterval int32

	// The percentage of traffic to shift in the first increment of a TimeBasedCanary
	// deployment.
	CanaryPercentage int32
	// contains filtered or unexported fields
}

A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

type TimeBasedLinear

type TimeBasedLinear struct {

	// The number of minutes between each incremental traffic shift of a
	// TimeBasedLinear deployment.
	LinearInterval int32

	// The percentage of traffic that is shifted at the start of each increment of a
	// TimeBasedLinear deployment.
	LinearPercentage int32
	// contains filtered or unexported fields
}

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

type TimeRange

type TimeRange struct {

	// The end time of the time range.
	//
	// Specify null to leave the end time open-ended.
	End *time.Time

	// The start time of the time range.
	//
	// Specify null to leave the start time open-ended.
	Start *time.Time
	// contains filtered or unexported fields
}

Information about a time range.

type TrafficRoute

type TrafficRoute struct {

	//  The Amazon Resource Name (ARN) of one listener. The listener identifies the
	// route between a target group and a load balancer. This is an array of strings
	// with a maximum size of one.
	ListenerArns []string
	// contains filtered or unexported fields
}
Information about a listener. The listener contains the path used to route

traffic that is received from the load balancer to a target group.

type TrafficRoutingConfig

type TrafficRoutingConfig struct {

	// A configuration that shifts traffic from one version of a Lambda function or
	// ECS task set to another in two increments. The original and target Lambda
	// function versions or ECS task sets are specified in the deployment's AppSpec
	// file.
	TimeBasedCanary *TimeBasedCanary

	// A configuration that shifts traffic from one version of a Lambda function or
	// Amazon ECS task set to another in equal increments, with an equal number of
	// minutes between each increment. The original and target Lambda function versions
	// or Amazon ECS task sets are specified in the deployment's AppSpec file.
	TimeBasedLinear *TimeBasedLinear

	// The type of traffic shifting ( TimeBasedCanary or TimeBasedLinear ) used by a
	// deployment configuration.
	Type TrafficRoutingType
	// contains filtered or unexported fields
}

The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.

type TrafficRoutingType

type TrafficRoutingType string
const (
	TrafficRoutingTypeTimeBasedCanary TrafficRoutingType = "TimeBasedCanary"
	TrafficRoutingTypeTimeBasedLinear TrafficRoutingType = "TimeBasedLinear"
	TrafficRoutingTypeAllAtOnce       TrafficRoutingType = "AllAtOnce"
)

Enum values for TrafficRoutingType

func (TrafficRoutingType) Values added in v0.29.0

Values returns all known values for TrafficRoutingType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TriggerConfig

type TriggerConfig struct {

	// The event type or types for which notifications are triggered.
	TriggerEvents []TriggerEventType

	// The name of the notification trigger.
	TriggerName *string

	// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic
	// through which notifications about deployment or instance events are sent.
	TriggerTargetArn *string
	// contains filtered or unexported fields
}

Information about notification triggers for the deployment group.

type TriggerEventType

type TriggerEventType string
const (
	TriggerEventTypeDeploymentStart    TriggerEventType = "DeploymentStart"
	TriggerEventTypeDeploymentSuccess  TriggerEventType = "DeploymentSuccess"
	TriggerEventTypeDeploymentFailure  TriggerEventType = "DeploymentFailure"
	TriggerEventTypeDeploymentStop     TriggerEventType = "DeploymentStop"
	TriggerEventTypeDeploymentRollback TriggerEventType = "DeploymentRollback"
	TriggerEventTypeDeploymentReady    TriggerEventType = "DeploymentReady"
	TriggerEventTypeInstanceStart      TriggerEventType = "InstanceStart"
	TriggerEventTypeInstanceSuccess    TriggerEventType = "InstanceSuccess"
	TriggerEventTypeInstanceFailure    TriggerEventType = "InstanceFailure"
	TriggerEventTypeInstanceReady      TriggerEventType = "InstanceReady"
)

Enum values for TriggerEventType

func (TriggerEventType) Values added in v0.29.0

Values returns all known values for TriggerEventType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TriggerTargetsLimitExceededException

type TriggerTargetsLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum allowed number of triggers was exceeded.

func (*TriggerTargetsLimitExceededException) Error

func (*TriggerTargetsLimitExceededException) ErrorCode

func (*TriggerTargetsLimitExceededException) ErrorFault

func (*TriggerTargetsLimitExceededException) ErrorMessage

func (e *TriggerTargetsLimitExceededException) ErrorMessage() string

type UnsupportedActionForDeploymentTypeException

type UnsupportedActionForDeploymentTypeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A call was submitted that is not supported for the specified deployment type.

func (*UnsupportedActionForDeploymentTypeException) Error

func (*UnsupportedActionForDeploymentTypeException) ErrorCode

func (*UnsupportedActionForDeploymentTypeException) ErrorFault

func (*UnsupportedActionForDeploymentTypeException) ErrorMessage

type ZonalConfig added in v1.22.0

type ZonalConfig struct {

	// The period of time, in seconds, that CodeDeploy must wait after completing a
	// deployment to the first Availability Zone. CodeDeploy will wait this amount of
	// time before starting a deployment to the second Availability Zone. You might set
	// this option if you want to allow extra bake time for the first Availability
	// Zone. If you don't specify a value for firstZoneMonitorDurationInSeconds , then
	// CodeDeploy uses the monitorDurationInSeconds value for the first Availability
	// Zone.
	//
	// For more information about the zonal configuration feature, see [zonal configuration] in the
	// CodeDeploy User Guide.
	//
	// [zonal configuration]: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config
	FirstZoneMonitorDurationInSeconds *int64

	// The number or percentage of instances that must remain available per
	// Availability Zone during a deployment. This option works in conjunction with the
	// MinimumHealthyHosts option. For more information, see [About the minimum number of healthy hosts per Availability Zone] in the CodeDeploy User
	// Guide.
	//
	// If you don't specify the minimumHealthyHostsPerZone option, then CodeDeploy
	// uses a default value of 0 percent.
	//
	// For more information about the zonal configuration feature, see [zonal configuration] in the
	// CodeDeploy User Guide.
	//
	// [About the minimum number of healthy hosts per Availability Zone]: https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az
	// [zonal configuration]: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config
	MinimumHealthyHostsPerZone *MinimumHealthyHostsPerZone

	// The period of time, in seconds, that CodeDeploy must wait after completing a
	// deployment to an Availability Zone. CodeDeploy will wait this amount of time
	// before starting a deployment to the next Availability Zone. Consider adding a
	// monitor duration to give the deployment some time to prove itself (or 'bake') in
	// one Availability Zone before it is released in the next zone. If you don't
	// specify a monitorDurationInSeconds , CodeDeploy starts deploying to the next
	// Availability Zone immediately.
	//
	// For more information about the zonal configuration feature, see [zonal configuration] in the
	// CodeDeploy User Guide.
	//
	// [zonal configuration]: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config
	MonitorDurationInSeconds *int64
	// contains filtered or unexported fields
}

Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zoneat a time, within an Amazon Web Services Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure the ZonalConfig object, CodeDeploy deploys your application to a random selection of hosts across a Region.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

Jump to

Keyboard shortcuts

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