Overview ▹

Overview ▾

Package codedeploy provides the client and types for making API
requests to AWS CodeDeploy.

AWS CodeDeploy is a deployment service that automates application deployments
to Amazon EC2 instances, on-premises instances running in your own facility,
or serverless AWS Lambda functions.

You can deploy a nearly unlimited variety of application content, such as
an updated Lambda function, code, web and configuration files, executables,
packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy
application content stored in Amazon S3 buckets, GitHub repositories, or
Bitbucket repositories. You do not need to make changes to your existing
code before you can use AWS CodeDeploy.

AWS CodeDeploy makes it easier for you to rapidly release new features, helps
you avoid downtime during application deployment, and handles the complexity
of updating your applications, without many of the risks associated with
error-prone manual deployments.

AWS CodeDeploy Components

Use the information in this guide to help you work with the following AWS
CodeDeploy components:

* Application: A name that uniquely identifies the application you want
to deploy. AWS CodeDeploy uses this name, which functions as a container,
to ensure the correct combination of revision, deployment configuration,
and deployment group are referenced during a deployment.
* Deployment group: A set of individual instances or CodeDeploy Lambda
applications. A Lambda deployment group contains a group of applications.
An EC2/On-premises deployment group contains individually tagged instances,
Amazon EC2 instances in Auto Scaling groups, or both.
* Deployment configuration: A set of deployment rules and deployment success
and failure conditions used by AWS CodeDeploy during a deployment.
* Deployment: The process and the components used in the process of updating
a Lambda function or of installing content on one or more instances.
* Application revisions: For an AWS Lambda deployment, this is an AppSpec
file that specifies the Lambda function to update and one or more functions
to validate deployment lifecycle events. For an EC2/On-premises deployment,
this is an archive file containing source content—source code, web pages,
executable files, and deployment scripts—along with an AppSpec file. Revisions
are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3,
a revision is uniquely identified by its Amazon S3 object key and its
ETag, version, or both. For GitHub, a revision is uniquely identified
by its commit ID.

This guide also contains information to help you get details about the instances
in your deployments, to make on-premises instances available for AWS CodeDeploy
deployments, and to get details about a Lambda function deployment.

Internal call graph ▹

Internal call graph ▾

In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.

The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.

Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.

Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.

const (
// ErrCodeAlarmsLimitExceededException for service response error code// "AlarmsLimitExceededException".//// The maximum number of alarms for a deployment group (10) was exceeded.ErrCodeAlarmsLimitExceededException = "AlarmsLimitExceededException"
// ErrCodeApplicationAlreadyExistsException for service response error code// "ApplicationAlreadyExistsException".//// An application with the specified name already exists with the applicable// IAM user or AWS account.ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException"
// ErrCodeApplicationDoesNotExistException for service response error code// "ApplicationDoesNotExistException".//// The application does not exist with the applicable IAM user or AWS account.ErrCodeApplicationDoesNotExistException = "ApplicationDoesNotExistException"
// ErrCodeApplicationLimitExceededException for service response error code// "ApplicationLimitExceededException".//// More applications were attempted to be created than are allowed.ErrCodeApplicationLimitExceededException = "ApplicationLimitExceededException"
// ErrCodeApplicationNameRequiredException for service response error code// "ApplicationNameRequiredException".//// The minimum number of required application names was not specified.ErrCodeApplicationNameRequiredException = "ApplicationNameRequiredException"
// ErrCodeBatchLimitExceededException for service response error code// "BatchLimitExceededException".//// The maximum number of names or IDs allowed for this request (100) was exceeded.ErrCodeBatchLimitExceededException = "BatchLimitExceededException"
// ErrCodeBucketNameFilterRequiredException for service response error code// "BucketNameFilterRequiredException".//// A bucket name is required, but was not provided.ErrCodeBucketNameFilterRequiredException = "BucketNameFilterRequiredException"
// ErrCodeDeploymentAlreadyCompletedException for service response error code// "DeploymentAlreadyCompletedException".//// The deployment is already complete.ErrCodeDeploymentAlreadyCompletedException = "DeploymentAlreadyCompletedException"
// ErrCodeDeploymentConfigAlreadyExistsException for service response error code// "DeploymentConfigAlreadyExistsException".//// A deployment configuration with the specified name already exists with the// applicable IAM user or AWS account.ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException"
// ErrCodeDeploymentConfigDoesNotExistException for service response error code// "DeploymentConfigDoesNotExistException".//// The deployment configuration does not exist with the applicable IAM user// or AWS account.ErrCodeDeploymentConfigDoesNotExistException = "DeploymentConfigDoesNotExistException"
// ErrCodeDeploymentConfigInUseException for service response error code// "DeploymentConfigInUseException".//// The deployment configuration is still in use.ErrCodeDeploymentConfigInUseException = "DeploymentConfigInUseException"
// ErrCodeDeploymentConfigLimitExceededException for service response error code// "DeploymentConfigLimitExceededException".//// The deployment configurations limit was exceeded.ErrCodeDeploymentConfigLimitExceededException = "DeploymentConfigLimitExceededException"
// ErrCodeDeploymentConfigNameRequiredException for service response error code// "DeploymentConfigNameRequiredException".//// The deployment configuration name was not specified.ErrCodeDeploymentConfigNameRequiredException = "DeploymentConfigNameRequiredException"
// ErrCodeDeploymentDoesNotExistException for service response error code// "DeploymentDoesNotExistException".//// The deployment does not exist with the applicable IAM user or AWS account.ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException"
// ErrCodeDeploymentGroupAlreadyExistsException for service response error code// "DeploymentGroupAlreadyExistsException".//// A deployment group with the specified name already exists with the applicable// IAM user or AWS account.ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException"
// ErrCodeDeploymentGroupDoesNotExistException for service response error code// "DeploymentGroupDoesNotExistException".//// The named deployment group does not exist with the applicable IAM user or// AWS account.ErrCodeDeploymentGroupDoesNotExistException = "DeploymentGroupDoesNotExistException"
// ErrCodeDeploymentGroupLimitExceededException for service response error code// "DeploymentGroupLimitExceededException".//// The deployment groups limit was exceeded.ErrCodeDeploymentGroupLimitExceededException = "DeploymentGroupLimitExceededException"
// ErrCodeDeploymentGroupNameRequiredException for service response error code// "DeploymentGroupNameRequiredException".//// The deployment group name was not specified.ErrCodeDeploymentGroupNameRequiredException = "DeploymentGroupNameRequiredException"
// ErrCodeDeploymentIdRequiredException for service response error code// "DeploymentIdRequiredException".//// At least one deployment ID must be specified.ErrCodeDeploymentIdRequiredException = "DeploymentIdRequiredException"
// ErrCodeDeploymentIsNotInReadyStateException for service response error code// "DeploymentIsNotInReadyStateException".//// The deployment does not have a status of Ready and can't continue yet.ErrCodeDeploymentIsNotInReadyStateException = "DeploymentIsNotInReadyStateException"
// ErrCodeDeploymentLimitExceededException for service response error code// "DeploymentLimitExceededException".//// The number of allowed deployments was exceeded.ErrCodeDeploymentLimitExceededException = "DeploymentLimitExceededException"
// ErrCodeDeploymentNotStartedException for service response error code// "DeploymentNotStartedException".//// The specified deployment has not started.ErrCodeDeploymentNotStartedException = "DeploymentNotStartedException"
// ErrCodeDescriptionTooLongException for service response error code// "DescriptionTooLongException".//// The description is too long.ErrCodeDescriptionTooLongException = "DescriptionTooLongException"
// ErrCodeGitHubAccountTokenDoesNotExistException for service response error code// "GitHubAccountTokenDoesNotExistException".//// No GitHub account connection exists with the named specified in the call.ErrCodeGitHubAccountTokenDoesNotExistException = "GitHubAccountTokenDoesNotExistException"
// ErrCodeGitHubAccountTokenNameRequiredException for service response error code// "GitHubAccountTokenNameRequiredException".//// The call is missing a required GitHub account connection name.ErrCodeGitHubAccountTokenNameRequiredException = "GitHubAccountTokenNameRequiredException"
// ErrCodeIamArnRequiredException for service response error code// "IamArnRequiredException".//// No IAM ARN was included in the request. You must use an IAM session ARN or// IAM user ARN in the request.ErrCodeIamArnRequiredException = "IamArnRequiredException"
// ErrCodeIamSessionArnAlreadyRegisteredException for service response error code// "IamSessionArnAlreadyRegisteredException".//// The request included an IAM session ARN that has already been used to register// a different instance.ErrCodeIamSessionArnAlreadyRegisteredException = "IamSessionArnAlreadyRegisteredException"
// ErrCodeIamUserArnAlreadyRegisteredException for service response error code// "IamUserArnAlreadyRegisteredException".//// The specified IAM user ARN is already registered with an on-premises instance.ErrCodeIamUserArnAlreadyRegisteredException = "IamUserArnAlreadyRegisteredException"
// ErrCodeIamUserArnRequiredException for service response error code// "IamUserArnRequiredException".//// An IAM user ARN was not specified.ErrCodeIamUserArnRequiredException = "IamUserArnRequiredException"
// ErrCodeInstanceDoesNotExistException for service response error code// "InstanceDoesNotExistException".//// The specified instance does not exist in the deployment group.ErrCodeInstanceDoesNotExistException = "InstanceDoesNotExistException"
// ErrCodeInstanceIdRequiredException for service response error code// "InstanceIdRequiredException".//// The instance ID was not specified.ErrCodeInstanceIdRequiredException = "InstanceIdRequiredException"
// ErrCodeInstanceLimitExceededException for service response error code// "InstanceLimitExceededException".//// The maximum number of allowed on-premises instances in a single call was// exceeded.ErrCodeInstanceLimitExceededException = "InstanceLimitExceededException"
// ErrCodeInstanceNameAlreadyRegisteredException for service response error code// "InstanceNameAlreadyRegisteredException".//// The specified on-premises instance name is already registered.ErrCodeInstanceNameAlreadyRegisteredException = "InstanceNameAlreadyRegisteredException"
// ErrCodeInstanceNameRequiredException for service response error code// "InstanceNameRequiredException".//// An on-premises instance name was not specified.ErrCodeInstanceNameRequiredException = "InstanceNameRequiredException"
// ErrCodeInstanceNotRegisteredException for service response error code// "InstanceNotRegisteredException".//// The specified on-premises instance is not registered.ErrCodeInstanceNotRegisteredException = "InstanceNotRegisteredException"
// ErrCodeInvalidAlarmConfigException for service response error code// "InvalidAlarmConfigException".//// 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 255 character limit.//// * Two alarms with the same name have been specified.//// * The alarm configuration is enabled but the alarm list is empty.ErrCodeInvalidAlarmConfigException = "InvalidAlarmConfigException"
// ErrCodeInvalidApplicationNameException for service response error code// "InvalidApplicationNameException".//// The application name was specified in an invalid format.ErrCodeInvalidApplicationNameException = "InvalidApplicationNameException"
// ErrCodeInvalidAutoRollbackConfigException for service response error code// "InvalidAutoRollbackConfigException".//// 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.ErrCodeInvalidAutoRollbackConfigException = "InvalidAutoRollbackConfigException"
// ErrCodeInvalidAutoScalingGroupException for service response error code// "InvalidAutoScalingGroupException".//// The Auto Scaling group was specified in an invalid format or does not exist.ErrCodeInvalidAutoScalingGroupException = "InvalidAutoScalingGroupException"
// ErrCodeInvalidBlueGreenDeploymentConfigurationException for service response error code// "InvalidBlueGreenDeploymentConfigurationException".//// The configuration for the blue/green deployment group was provided in an// invalid format. For information about deployment configuration format, see// CreateDeploymentConfig.ErrCodeInvalidBlueGreenDeploymentConfigurationException = "InvalidBlueGreenDeploymentConfigurationException"
// ErrCodeInvalidBucketNameFilterException for service response error code// "InvalidBucketNameFilterException".//// The bucket name either doesn't exist or was specified in an invalid format.ErrCodeInvalidBucketNameFilterException = "InvalidBucketNameFilterException"
// ErrCodeInvalidComputePlatformException for service response error code// "InvalidComputePlatformException".//// The computePlatform is invalid. The computePlatform should be Lambda or Server.ErrCodeInvalidComputePlatformException = "InvalidComputePlatformException"
// ErrCodeInvalidDeployedStateFilterException for service response error code// "InvalidDeployedStateFilterException".//// The deployed state filter was specified in an invalid format.ErrCodeInvalidDeployedStateFilterException = "InvalidDeployedStateFilterException"
// ErrCodeInvalidDeploymentConfigNameException for service response error code// "InvalidDeploymentConfigNameException".//// The deployment configuration name was specified in an invalid format.ErrCodeInvalidDeploymentConfigNameException = "InvalidDeploymentConfigNameException"
// ErrCodeInvalidDeploymentGroupNameException for service response error code// "InvalidDeploymentGroupNameException".//// The deployment group name was specified in an invalid format.ErrCodeInvalidDeploymentGroupNameException = "InvalidDeploymentGroupNameException"
// ErrCodeInvalidDeploymentIdException for service response error code// "InvalidDeploymentIdException".//// At least one of the deployment IDs was specified in an invalid format.ErrCodeInvalidDeploymentIdException = "InvalidDeploymentIdException"
// ErrCodeInvalidDeploymentInstanceTypeException for service response error code// "InvalidDeploymentInstanceTypeException".//// An instance type was specified for an in-place deployment. Instance types// are supported for blue/green deployments only.ErrCodeInvalidDeploymentInstanceTypeException = "InvalidDeploymentInstanceTypeException"
// ErrCodeInvalidDeploymentStatusException for service response error code// "InvalidDeploymentStatusException".//// The specified deployment status doesn't exist or cannot be determined.ErrCodeInvalidDeploymentStatusException = "InvalidDeploymentStatusException"
// ErrCodeInvalidDeploymentStyleException for service response error code// "InvalidDeploymentStyleException".//// 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".ErrCodeInvalidDeploymentStyleException = "InvalidDeploymentStyleException"
// ErrCodeInvalidEC2TagCombinationException for service response error code// "InvalidEC2TagCombinationException".//// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but// only one of these data types can be used in a single call.ErrCodeInvalidEC2TagCombinationException = "InvalidEC2TagCombinationException"
// ErrCodeInvalidEC2TagException for service response error code// "InvalidEC2TagException".//// The tag was specified in an invalid format.ErrCodeInvalidEC2TagException = "InvalidEC2TagException"
// ErrCodeInvalidFileExistsBehaviorException for service response error code// "InvalidFileExistsBehaviorException".//// An invalid fileExistsBehavior option was specified to determine how AWS 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".ErrCodeInvalidFileExistsBehaviorException = "InvalidFileExistsBehaviorException"
// ErrCodeInvalidGitHubAccountTokenException for service response error code// "InvalidGitHubAccountTokenException".//// The GitHub token is not valid.ErrCodeInvalidGitHubAccountTokenException = "InvalidGitHubAccountTokenException"
// ErrCodeInvalidGitHubAccountTokenNameException for service response error code// "InvalidGitHubAccountTokenNameException".//// The format of the specified GitHub account connection name is invalid.ErrCodeInvalidGitHubAccountTokenNameException = "InvalidGitHubAccountTokenNameException"
// ErrCodeInvalidIamSessionArnException for service response error code// "InvalidIamSessionArnException".//// The IAM session ARN was specified in an invalid format.ErrCodeInvalidIamSessionArnException = "InvalidIamSessionArnException"
// ErrCodeInvalidIamUserArnException for service response error code// "InvalidIamUserArnException".//// The IAM user ARN was specified in an invalid format.ErrCodeInvalidIamUserArnException = "InvalidIamUserArnException"
// ErrCodeInvalidIgnoreApplicationStopFailuresValueException for service response error code// "InvalidIgnoreApplicationStopFailuresValueException".//// The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,// false is expected. For EC2/On-premises deployments, true or false is expected.ErrCodeInvalidIgnoreApplicationStopFailuresValueException = "InvalidIgnoreApplicationStopFailuresValueException"
// ErrCodeInvalidInputException for service response error code// "InvalidInputException".//// The specified input was specified in an invalid format.ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeInvalidInstanceNameException for service response error code// "InvalidInstanceNameException".//// The specified on-premises instance name was specified in an invalid format.ErrCodeInvalidInstanceNameException = "InvalidInstanceNameException"
// ErrCodeInvalidInstanceStatusException for service response error code// "InvalidInstanceStatusException".//// The specified instance status does not exist.ErrCodeInvalidInstanceStatusException = "InvalidInstanceStatusException"
// ErrCodeInvalidInstanceTypeException for service response error code// "InvalidInstanceTypeException".//// 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.ErrCodeInvalidInstanceTypeException = "InvalidInstanceTypeException"
// ErrCodeInvalidKeyPrefixFilterException for service response error code// "InvalidKeyPrefixFilterException".//// The specified key prefix filter was specified in an invalid format.ErrCodeInvalidKeyPrefixFilterException = "InvalidKeyPrefixFilterException"
// ErrCodeInvalidLifecycleEventHookExecutionIdException for service response error code// "InvalidLifecycleEventHookExecutionIdException".//// A lifecycle event hook is invalid. Review the hooks section in your AppSpec// file to ensure the lifecycle events and hooks functions are valid.ErrCodeInvalidLifecycleEventHookExecutionIdException = "InvalidLifecycleEventHookExecutionIdException"
// ErrCodeInvalidLifecycleEventHookExecutionStatusException for service response error code// "InvalidLifecycleEventHookExecutionStatusException".//// The result of a Lambda validation function that verifies a lifecycle event// is invalid. It should return Succeeded or Failed.ErrCodeInvalidLifecycleEventHookExecutionStatusException = "InvalidLifecycleEventHookExecutionStatusException"
// ErrCodeInvalidLoadBalancerInfoException for service response error code// "InvalidLoadBalancerInfoException".//// An invalid load balancer name, or no load balancer name, was specified.ErrCodeInvalidLoadBalancerInfoException = "InvalidLoadBalancerInfoException"
// ErrCodeInvalidMinimumHealthyHostValueException for service response error code// "InvalidMinimumHealthyHostValueException".//// The minimum healthy instance value was specified in an invalid format.ErrCodeInvalidMinimumHealthyHostValueException = "InvalidMinimumHealthyHostValueException"
// ErrCodeInvalidNextTokenException for service response error code// "InvalidNextTokenException".//// The next token was specified in an invalid format.ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidOnPremisesTagCombinationException for service response error code// "InvalidOnPremisesTagCombinationException".//// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,// but only one of these data types can be used in a single call.ErrCodeInvalidOnPremisesTagCombinationException = "InvalidOnPremisesTagCombinationException"
// ErrCodeInvalidOperationException for service response error code// "InvalidOperationException".//// An invalid operation was detected.ErrCodeInvalidOperationException = "InvalidOperationException"
// ErrCodeInvalidRegistrationStatusException for service response error code// "InvalidRegistrationStatusException".//// The registration status was specified in an invalid format.ErrCodeInvalidRegistrationStatusException = "InvalidRegistrationStatusException"
// ErrCodeInvalidRevisionException for service response error code// "InvalidRevisionException".//// The revision was specified in an invalid format.ErrCodeInvalidRevisionException = "InvalidRevisionException"
// ErrCodeInvalidRoleException for service response error code// "InvalidRoleException".//// 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 Auto Scaling.ErrCodeInvalidRoleException = "InvalidRoleException"
// ErrCodeInvalidSortByException for service response error code// "InvalidSortByException".//// The column name to sort by is either not present or was specified in an invalid// format.ErrCodeInvalidSortByException = "InvalidSortByException"
// ErrCodeInvalidSortOrderException for service response error code// "InvalidSortOrderException".//// The sort order was specified in an invalid format.ErrCodeInvalidSortOrderException = "InvalidSortOrderException"
// ErrCodeInvalidTagException for service response error code// "InvalidTagException".//// The specified tag was specified in an invalid format.ErrCodeInvalidTagException = "InvalidTagException"
// ErrCodeInvalidTagFilterException for service response error code// "InvalidTagFilterException".//// The specified tag filter was specified in an invalid format.ErrCodeInvalidTagFilterException = "InvalidTagFilterException"
// ErrCodeInvalidTargetInstancesException for service response error code// "InvalidTargetInstancesException".//// 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.ErrCodeInvalidTargetInstancesException = "InvalidTargetInstancesException"
// ErrCodeInvalidTimeRangeException for service response error code// "InvalidTimeRangeException".//// The specified time range was specified in an invalid format.ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
// ErrCodeInvalidTrafficRoutingConfigurationException for service response error code// "InvalidTrafficRoutingConfigurationException".//// The configuration that specifies how traffic is routed during a deployment// is invalid.ErrCodeInvalidTrafficRoutingConfigurationException = "InvalidTrafficRoutingConfigurationException"
// ErrCodeInvalidTriggerConfigException for service response error code// "InvalidTriggerConfigException".//// The trigger was specified in an invalid format.ErrCodeInvalidTriggerConfigException = "InvalidTriggerConfigException"
// ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException for service response error code// "InvalidUpdateOutdatedInstancesOnlyValueException".//// The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,// false is expected. For EC2/On-premises deployments, true or false is expected.ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException = "InvalidUpdateOutdatedInstancesOnlyValueException"
// ErrCodeLifecycleEventAlreadyCompletedException for service response error code// "LifecycleEventAlreadyCompletedException".//// An attempt to return the status of an already completed lifecycle event occurred.ErrCodeLifecycleEventAlreadyCompletedException = "LifecycleEventAlreadyCompletedException"
// ErrCodeLifecycleHookLimitExceededException for service response error code// "LifecycleHookLimitExceededException".//// The limit for lifecycle hooks was exceeded.ErrCodeLifecycleHookLimitExceededException = "LifecycleHookLimitExceededException"
// ErrCodeMultipleIamArnsProvidedException for service response error code// "MultipleIamArnsProvidedException".//// Both an IAM user ARN and an IAM session ARN were included in the request.// Use only one ARN type.ErrCodeMultipleIamArnsProvidedException = "MultipleIamArnsProvidedException"
// ErrCodeOperationNotSupportedException for service response error code// "OperationNotSupportedException".//// The API used does not support the deployment.ErrCodeOperationNotSupportedException = "OperationNotSupportedException"
// ErrCodeResourceValidationException for service response error code// "ResourceValidationException".//// The specified resource could not be validated.ErrCodeResourceValidationException = "ResourceValidationException"
// ErrCodeRevisionDoesNotExistException for service response error code// "RevisionDoesNotExistException".//// The named revision does not exist with the applicable IAM user or AWS account.ErrCodeRevisionDoesNotExistException = "RevisionDoesNotExistException"
// ErrCodeRevisionRequiredException for service response error code// "RevisionRequiredException".//// The revision ID was not specified.ErrCodeRevisionRequiredException = "RevisionRequiredException"
// ErrCodeRoleRequiredException for service response error code// "RoleRequiredException".//// The role ID was not specified.ErrCodeRoleRequiredException = "RoleRequiredException"
// ErrCodeTagLimitExceededException for service response error code// "TagLimitExceededException".//// The maximum allowed number of tags was exceeded.ErrCodeTagLimitExceededException = "TagLimitExceededException"
// ErrCodeTagRequiredException for service response error code// "TagRequiredException".//// A tag was not specified.ErrCodeTagRequiredException = "TagRequiredException"
// ErrCodeTagSetListLimitExceededException for service response error code// "TagSetListLimitExceededException".//// The number of tag groups included in the tag set list exceeded the maximum// allowed limit of 3.ErrCodeTagSetListLimitExceededException = "TagSetListLimitExceededException"
// ErrCodeThrottlingException for service response error code// "ThrottlingException".//// An API function was called too frequently.ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeTriggerTargetsLimitExceededException for service response error code// "TriggerTargetsLimitExceededException".//// The maximum allowed number of triggers was exceeded.ErrCodeTriggerTargetsLimitExceededException = "TriggerTargetsLimitExceededException"
// ErrCodeUnsupportedActionForDeploymentTypeException for service response error code// "UnsupportedActionForDeploymentTypeException".//// A call was submitted that is not supported for the specified deployment type.ErrCodeUnsupportedActionForDeploymentTypeException = "UnsupportedActionForDeploymentTypeException"
)

type AddTagsToOnPremisesInstancesInput struct {
// The names of the on-premises instances to which to add tags.//// InstanceNames is a required field
InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
// The tag key-value pairs to add to the on-premises instances.//// Keys and values are both required. Keys cannot be null or empty strings.// Value-only tags are not allowed.//// Tags is a required field
Tags []*Tag `locationName:"tags" type:"list" required:"true"`
// contains filtered or unexported fields
}

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

type BatchGetApplicationRevisionsInput struct {
// The name of an AWS CodeDeploy application about which to get revision information.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Information to get about the application revisions, including type and location.//// Revisions is a required field
Revisions []*RevisionLocation `locationName:"revisions" type:"list" required:"true"`
// contains filtered or unexported fields
}

type BatchGetApplicationRevisionsOutput struct {
// The name of the application that corresponds to the revisions.
ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
// Information about errors that may have occurred during the API call.
ErrorMessage *string `locationName:"errorMessage" type:"string"`
// Additional information about the revisions, including the type and location.
Revisions []*RevisionInfo `locationName:"revisions" type:"list"`
// contains filtered or unexported fields
}

type BatchGetOnPremisesInstancesInput struct {
// The names of the on-premises instances about which to get information.//// InstanceNames is a required field
InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
// contains filtered or unexported fields
}

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 *string `locationName:"action" type:"string" enum:"InstanceAction"`
// The number of minutes to wait after a successful blue/green deployment before// terminating instances from the original environment. The maximum setting// is 2880 minutes (2 days).
TerminationWaitTimeInMinutes *int64 `locationName:"terminationWaitTimeInMinutes" type:"integer"`
// contains filtered or unexported fields
}

Information about whether instances in the original environment are terminated
when a blue/green deployment is successful.

* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.
* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.
* ErrCodeInvalidTagException "InvalidTagException"
The specified tag was specified in an invalid format.
* ErrCodeTagLimitExceededException "TagLimitExceededException"
The maximum allowed number of tags was exceeded.
* ErrCodeInstanceLimitExceededException "InstanceLimitExceededException"
The maximum number of allowed on-premises instances in a single call was
exceeded.
* ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException"
The specified on-premises instance is not registered.

AddTagsToOnPremisesInstancesRequest generates a "aws/request.Request" representing the
client's request for the AddTagsToOnPremisesInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See AddTagsToOnPremisesInstances for more information on using the AddTagsToOnPremisesInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

AddTagsToOnPremisesInstancesWithContext is the same as AddTagsToOnPremisesInstances with the addition of
the ability to pass a context and additional request options.

See AddTagsToOnPremisesInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeRevisionRequiredException "RevisionRequiredException"
The revision ID was not specified.
* ErrCodeInvalidRevisionException "InvalidRevisionException"
The revision was specified in an invalid format.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetApplicationRevisionsRequest generates a "aws/request.Request" representing the
client's request for the BatchGetApplicationRevisions operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetApplicationRevisions for more information on using the BatchGetApplicationRevisions
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetApplicationRevisionsWithContext is the same as BatchGetApplicationRevisions with the addition of
the ability to pass a context and additional request options.

See BatchGetApplicationRevisions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetApplicationsRequest generates a "aws/request.Request" representing the
client's request for the BatchGetApplications operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetApplications for more information on using the BatchGetApplications
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetApplicationsWithContext is the same as BatchGetApplications with the addition of
the ability to pass a context and additional request options.

See BatchGetApplications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetDeploymentGroupsRequest generates a "aws/request.Request" representing the
client's request for the BatchGetDeploymentGroups operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetDeploymentGroups for more information on using the BatchGetDeploymentGroups
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetDeploymentGroupsWithContext is the same as BatchGetDeploymentGroups with the addition of
the ability to pass a context and additional request options.

See BatchGetDeploymentGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeInstanceIdRequiredException "InstanceIdRequiredException"
The instance ID was not specified.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetDeploymentInstancesRequest generates a "aws/request.Request" representing the
client's request for the BatchGetDeploymentInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetDeploymentInstances for more information on using the BatchGetDeploymentInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetDeploymentInstancesWithContext is the same as BatchGetDeploymentInstances with the addition of
the ability to pass a context and additional request options.

See BatchGetDeploymentInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetDeploymentsRequest generates a "aws/request.Request" representing the
client's request for the BatchGetDeployments operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetDeployments for more information on using the BatchGetDeployments
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetDeploymentsWithContext is the same as BatchGetDeployments with the addition of
the ability to pass a context and additional request options.

See BatchGetDeployments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.
* ErrCodeBatchLimitExceededException "BatchLimitExceededException"
The maximum number of names or IDs allowed for this request (100) was exceeded.

BatchGetOnPremisesInstancesRequest generates a "aws/request.Request" representing the
client's request for the BatchGetOnPremisesInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See BatchGetOnPremisesInstances for more information on using the BatchGetOnPremisesInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

BatchGetOnPremisesInstancesWithContext is the same as BatchGetOnPremisesInstances with the addition of
the ability to pass a context and additional request options.

See BatchGetOnPremisesInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

For a blue/green deployment, starts the process of rerouting traffic from
instances in the original environment to instances in the replacement environment
without waiting for a specified wait time to elapse. (Traffic rerouting,
which is achieved by registering instances in the replacement environment
with the load balancer, can start as soon as all instances have a status
of Ready.)

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeDeploymentIsNotInReadyStateException "DeploymentIsNotInReadyStateException"
The deployment does not have a status of Ready and can't continue yet.
* ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException"
A call was submitted that is not supported for the specified deployment type.

ContinueDeploymentRequest generates a "aws/request.Request" representing the
client's request for the ContinueDeployment operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ContinueDeployment for more information on using the ContinueDeployment
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ContinueDeploymentWithContext is the same as ContinueDeployment with the addition of
the ability to pass a context and additional request options.

See ContinueDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationAlreadyExistsException "ApplicationAlreadyExistsException"
An application with the specified name already exists with the applicable
IAM user or AWS account.
* ErrCodeApplicationLimitExceededException "ApplicationLimitExceededException"
More applications were attempted to be created than are allowed.
* ErrCodeInvalidComputePlatformException "InvalidComputePlatformException"
The computePlatform is invalid. The computePlatform should be Lambda or Server.

CreateApplicationRequest generates a "aws/request.Request" representing the
client's request for the CreateApplication operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See CreateApplication for more information on using the CreateApplication
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

CreateApplicationWithContext is the same as CreateApplication with the addition of
the ability to pass a context and additional request options.

See CreateApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group does not exist with the applicable IAM user or
AWS account.
* ErrCodeRevisionRequiredException "RevisionRequiredException"
The revision ID was not specified.
* ErrCodeRevisionDoesNotExistException "RevisionDoesNotExistException"
The named revision does not exist with the applicable IAM user or AWS account.
* ErrCodeInvalidRevisionException "InvalidRevisionException"
The revision was specified in an invalid format.
* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the applicable IAM user
or AWS account.
* ErrCodeDescriptionTooLongException "DescriptionTooLongException"
The description is too long.
* ErrCodeDeploymentLimitExceededException "DeploymentLimitExceededException"
The number of allowed deployments was exceeded.
* ErrCodeInvalidTargetInstancesException "InvalidTargetInstancesException"
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.
* ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException"
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.
* ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException"
An invalid load balancer name, or no load balancer name, was specified.
* ErrCodeInvalidFileExistsBehaviorException "InvalidFileExistsBehaviorException"
An invalid fileExistsBehavior option was specified to determine how AWS 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".
* ErrCodeInvalidRoleException "InvalidRoleException"
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 Auto Scaling.
* ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException"
The Auto Scaling group was specified in an invalid format or does not exist.
* ErrCodeThrottlingException "ThrottlingException"
An API function was called too frequently.
* ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException "InvalidUpdateOutdatedInstancesOnlyValueException"
The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,
false is expected. For EC2/On-premises deployments, true or false is expected.
* ErrCodeInvalidIgnoreApplicationStopFailuresValueException "InvalidIgnoreApplicationStopFailuresValueException"
The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,
false is expected. For EC2/On-premises deployments, true or false is expected.
* ErrCodeInvalidGitHubAccountTokenException "InvalidGitHubAccountTokenException"
The GitHub token is not valid.

* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException"
The deployment configuration name was not specified.
* ErrCodeDeploymentConfigAlreadyExistsException "DeploymentConfigAlreadyExistsException"
A deployment configuration with the specified name already exists with the
applicable IAM user or AWS account.
* ErrCodeInvalidMinimumHealthyHostValueException "InvalidMinimumHealthyHostValueException"
The minimum healthy instance value was specified in an invalid format.
* ErrCodeDeploymentConfigLimitExceededException "DeploymentConfigLimitExceededException"
The deployment configurations limit was exceeded.
* ErrCodeInvalidComputePlatformException "InvalidComputePlatformException"
The computePlatform is invalid. The computePlatform should be Lambda or Server.
* ErrCodeInvalidTrafficRoutingConfigurationException "InvalidTrafficRoutingConfigurationException"
The configuration that specifies how traffic is routed during a deployment
is invalid.

CreateDeploymentConfigRequest generates a "aws/request.Request" representing the
client's request for the CreateDeploymentConfig operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See CreateDeploymentConfig for more information on using the CreateDeploymentConfig
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

CreateDeploymentConfigWithContext is the same as CreateDeploymentConfig with the addition of
the ability to pass a context and additional request options.

See CreateDeploymentConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeDeploymentGroupAlreadyExistsException "DeploymentGroupAlreadyExistsException"
A deployment group with the specified name already exists with the applicable
IAM user or AWS account.
* ErrCodeInvalidEC2TagException "InvalidEC2TagException"
The tag was specified in an invalid format.
* ErrCodeInvalidTagException "InvalidTagException"
The specified tag was specified in an invalid format.
* ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException"
The Auto Scaling group was specified in an invalid format or does not exist.
* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the applicable IAM user
or AWS account.
* ErrCodeRoleRequiredException "RoleRequiredException"
The role ID was not specified.
* ErrCodeInvalidRoleException "InvalidRoleException"
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 Auto Scaling.
* ErrCodeDeploymentGroupLimitExceededException "DeploymentGroupLimitExceededException"
The deployment groups limit was exceeded.
* ErrCodeLifecycleHookLimitExceededException "LifecycleHookLimitExceededException"
The limit for lifecycle hooks was exceeded.
* ErrCodeInvalidTriggerConfigException "InvalidTriggerConfigException"
The trigger was specified in an invalid format.
* ErrCodeTriggerTargetsLimitExceededException "TriggerTargetsLimitExceededException"
The maximum allowed number of triggers was exceeded.
* ErrCodeInvalidAlarmConfigException "InvalidAlarmConfigException"
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 255 character limit.
* Two alarms with the same name have been specified.
* The alarm configuration is enabled but the alarm list is empty.
* ErrCodeAlarmsLimitExceededException "AlarmsLimitExceededException"
The maximum number of alarms for a deployment group (10) was exceeded.
* ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException"
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.
* ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException"
An invalid load balancer name, or no load balancer name, was specified.
* ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException"
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".
* ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException"
The configuration for the blue/green deployment group was provided in an
invalid format. For information about deployment configuration format, see
CreateDeploymentConfig.
* ErrCodeInvalidEC2TagCombinationException "InvalidEC2TagCombinationException"
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
only one of these data types can be used in a single call.
* ErrCodeInvalidOnPremisesTagCombinationException "InvalidOnPremisesTagCombinationException"
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
but only one of these data types can be used in a single call.
* ErrCodeTagSetListLimitExceededException "TagSetListLimitExceededException"
The number of tag groups included in the tag set list exceeded the maximum
allowed limit of 3.
* ErrCodeInvalidInputException "InvalidInputException"
The specified input was specified in an invalid format.

CreateDeploymentGroupRequest generates a "aws/request.Request" representing the
client's request for the CreateDeploymentGroup operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See CreateDeploymentGroup for more information on using the CreateDeploymentGroup
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

CreateDeploymentGroupWithContext is the same as CreateDeploymentGroup with the addition of
the ability to pass a context and additional request options.

See CreateDeploymentGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

CreateDeploymentRequest generates a "aws/request.Request" representing the
client's request for the CreateDeployment operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See CreateDeployment for more information on using the CreateDeployment
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

CreateDeploymentWithContext is the same as CreateDeployment with the addition of
the ability to pass a context and additional request options.

See CreateDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.

DeleteApplicationRequest generates a "aws/request.Request" representing the
client's request for the DeleteApplication operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeleteApplication for more information on using the DeleteApplication
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeleteApplicationWithContext is the same as DeleteApplication with the addition of
the ability to pass a context and additional request options.

See DeleteApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException"
The deployment configuration name was not specified.
* ErrCodeDeploymentConfigInUseException "DeploymentConfigInUseException"
The deployment configuration is still in use.
* ErrCodeInvalidOperationException "InvalidOperationException"
An invalid operation was detected.

DeleteDeploymentConfigRequest generates a "aws/request.Request" representing the
client's request for the DeleteDeploymentConfig operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeleteDeploymentConfig for more information on using the DeleteDeploymentConfig
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeleteDeploymentConfigWithContext is the same as DeleteDeploymentConfig with the addition of
the ability to pass a context and additional request options.

See DeleteDeploymentConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeInvalidRoleException "InvalidRoleException"
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 Auto Scaling.

DeleteDeploymentGroupRequest generates a "aws/request.Request" representing the
client's request for the DeleteDeploymentGroup operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeleteDeploymentGroup for more information on using the DeleteDeploymentGroup
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeleteDeploymentGroupWithContext is the same as DeleteDeploymentGroup with the addition of
the ability to pass a context and additional request options.

See DeleteDeploymentGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeGitHubAccountTokenNameRequiredException "GitHubAccountTokenNameRequiredException"
The call is missing a required GitHub account connection name.
* ErrCodeGitHubAccountTokenDoesNotExistException "GitHubAccountTokenDoesNotExistException"
No GitHub account connection exists with the named specified in the call.
* ErrCodeInvalidGitHubAccountTokenNameException "InvalidGitHubAccountTokenNameException"
The format of the specified GitHub account connection name is invalid.
* ErrCodeResourceValidationException "ResourceValidationException"
The specified resource could not be validated.
* ErrCodeOperationNotSupportedException "OperationNotSupportedException"
The API used does not support the deployment.

DeleteGitHubAccountTokenRequest generates a "aws/request.Request" representing the
client's request for the DeleteGitHubAccountToken operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeleteGitHubAccountToken for more information on using the DeleteGitHubAccountToken
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeleteGitHubAccountTokenWithContext is the same as DeleteGitHubAccountToken with the addition of
the ability to pass a context and additional request options.

See DeleteGitHubAccountToken for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.

DeregisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the
client's request for the DeregisterOnPremisesInstance operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeregisterOnPremisesInstance for more information on using the DeregisterOnPremisesInstance
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeregisterOnPremisesInstanceWithContext is the same as DeregisterOnPremisesInstance with the addition of
the ability to pass a context and additional request options.

See DeregisterOnPremisesInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.

GetApplicationRequest generates a "aws/request.Request" representing the
client's request for the GetApplication operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetApplication for more information on using the GetApplication
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeRevisionDoesNotExistException "RevisionDoesNotExistException"
The named revision does not exist with the applicable IAM user or AWS account.
* ErrCodeRevisionRequiredException "RevisionRequiredException"
The revision ID was not specified.
* ErrCodeInvalidRevisionException "InvalidRevisionException"
The revision was specified in an invalid format.

GetApplicationRevisionRequest generates a "aws/request.Request" representing the
client's request for the GetApplicationRevision operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetApplicationRevision for more information on using the GetApplicationRevision
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetApplicationRevisionWithContext is the same as GetApplicationRevision with the addition of
the ability to pass a context and additional request options.

See GetApplicationRevision for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

GetApplicationWithContext is the same as GetApplication with the addition of
the ability to pass a context and additional request options.

See GetApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.

* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException"
The deployment configuration name was not specified.
* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the applicable IAM user
or AWS account.

GetDeploymentConfigRequest generates a "aws/request.Request" representing the
client's request for the GetDeploymentConfig operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetDeploymentConfig for more information on using the GetDeploymentConfig
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetDeploymentConfigWithContext is the same as GetDeploymentConfig with the addition of
the ability to pass a context and additional request options.

See GetDeploymentConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group does not exist with the applicable IAM user or
AWS account.

GetDeploymentGroupRequest generates a "aws/request.Request" representing the
client's request for the GetDeploymentGroup operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetDeploymentGroup for more information on using the GetDeploymentGroup
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetDeploymentGroupWithContext is the same as GetDeploymentGroup with the addition of
the ability to pass a context and additional request options.

See GetDeploymentGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeInstanceIdRequiredException "InstanceIdRequiredException"
The instance ID was not specified.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeInstanceDoesNotExistException "InstanceDoesNotExistException"
The specified instance does not exist in the deployment group.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.

GetDeploymentInstanceRequest generates a "aws/request.Request" representing the
client's request for the GetDeploymentInstance operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetDeploymentInstance for more information on using the GetDeploymentInstance
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetDeploymentInstanceWithContext is the same as GetDeploymentInstance with the addition of
the ability to pass a context and additional request options.

See GetDeploymentInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

GetDeploymentRequest generates a "aws/request.Request" representing the
client's request for the GetDeployment operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetDeployment for more information on using the GetDeployment
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetDeploymentWithContext is the same as GetDeployment with the addition of
the ability to pass a context and additional request options.

See GetDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException"
The specified on-premises instance is not registered.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.

GetOnPremisesInstanceRequest generates a "aws/request.Request" representing the
client's request for the GetOnPremisesInstance operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetOnPremisesInstance for more information on using the GetOnPremisesInstance
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetOnPremisesInstanceWithContext is the same as GetOnPremisesInstance with the addition of
the ability to pass a context and additional request options.

See GetOnPremisesInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeInvalidSortByException "InvalidSortByException"
The column name to sort by is either not present or was specified in an invalid
format.
* ErrCodeInvalidSortOrderException "InvalidSortOrderException"
The sort order was specified in an invalid format.
* ErrCodeInvalidBucketNameFilterException "InvalidBucketNameFilterException"
The bucket name either doesn't exist or was specified in an invalid format.
* ErrCodeInvalidKeyPrefixFilterException "InvalidKeyPrefixFilterException"
The specified key prefix filter was specified in an invalid format.
* ErrCodeBucketNameFilterRequiredException "BucketNameFilterRequiredException"
A bucket name is required, but was not provided.
* ErrCodeInvalidDeployedStateFilterException "InvalidDeployedStateFilterException"
The deployed state filter was specified in an invalid format.
* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.

ListApplicationRevisionsPages iterates over the pages of a ListApplicationRevisions operation,
calling the "fn" function with the response data for each page. To stop
iterating, return false from the fn function.

See ListApplicationRevisions method for more information on how to use this operation.

ListApplicationRevisionsPagesWithContext same as ListApplicationRevisionsPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListApplicationRevisionsRequest generates a "aws/request.Request" representing the
client's request for the ListApplicationRevisions operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListApplicationRevisions for more information on using the ListApplicationRevisions
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListApplicationRevisionsWithContext is the same as ListApplicationRevisions with the addition of
the ability to pass a context and additional request options.

See ListApplicationRevisions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListApplicationsPagesWithContext same as ListApplicationsPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListApplicationsRequest generates a "aws/request.Request" representing the
client's request for the ListApplications operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListApplications for more information on using the ListApplications
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListApplicationsWithContext is the same as ListApplications with the addition of
the ability to pass a context and additional request options.

See ListApplications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDeploymentConfigsPages iterates over the pages of a ListDeploymentConfigs operation,
calling the "fn" function with the response data for each page. To stop
iterating, return false from the fn function.

See ListDeploymentConfigs method for more information on how to use this operation.

ListDeploymentConfigsPagesWithContext same as ListDeploymentConfigsPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDeploymentConfigsRequest generates a "aws/request.Request" representing the
client's request for the ListDeploymentConfigs operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListDeploymentConfigs for more information on using the ListDeploymentConfigs
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListDeploymentConfigsWithContext is the same as ListDeploymentConfigs with the addition of
the ability to pass a context and additional request options.

See ListDeploymentConfigs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.

ListDeploymentGroupsPages iterates over the pages of a ListDeploymentGroups operation,
calling the "fn" function with the response data for each page. To stop
iterating, return false from the fn function.

See ListDeploymentGroups method for more information on how to use this operation.

ListDeploymentGroupsPagesWithContext same as ListDeploymentGroupsPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDeploymentGroupsRequest generates a "aws/request.Request" representing the
client's request for the ListDeploymentGroups operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListDeploymentGroups for more information on using the ListDeploymentGroups
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListDeploymentGroupsWithContext is the same as ListDeploymentGroups with the addition of
the ability to pass a context and additional request options.

See ListDeploymentGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentNotStartedException "DeploymentNotStartedException"
The specified deployment has not started.
* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeInvalidInstanceStatusException "InvalidInstanceStatusException"
The specified instance status does not exist.
* ErrCodeInvalidInstanceTypeException "InvalidInstanceTypeException"
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.
* ErrCodeInvalidDeploymentInstanceTypeException "InvalidDeploymentInstanceTypeException"
An instance type was specified for an in-place deployment. Instance types
are supported for blue/green deployments only.

ListDeploymentInstancesPages iterates over the pages of a ListDeploymentInstances operation,
calling the "fn" function with the response data for each page. To stop
iterating, return false from the fn function.

See ListDeploymentInstances method for more information on how to use this operation.

ListDeploymentInstancesPagesWithContext same as ListDeploymentInstancesPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDeploymentInstancesRequest generates a "aws/request.Request" representing the
client's request for the ListDeploymentInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListDeploymentInstances for more information on using the ListDeploymentInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListDeploymentInstancesWithContext is the same as ListDeploymentInstances with the addition of
the ability to pass a context and additional request options.

See ListDeploymentInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group does not exist with the applicable IAM user or
AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeInvalidTimeRangeException "InvalidTimeRangeException"
The specified time range was specified in an invalid format.
* ErrCodeInvalidDeploymentStatusException "InvalidDeploymentStatusException"
The specified deployment status doesn't exist or cannot be determined.
* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.

ListDeploymentsPagesWithContext same as ListDeploymentsPages except
it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDeploymentsRequest generates a "aws/request.Request" representing the
client's request for the ListDeployments operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListDeployments for more information on using the ListDeployments
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListDeploymentsWithContext is the same as ListDeployments with the addition of
the ability to pass a context and additional request options.

See ListDeployments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.
* ErrCodeResourceValidationException "ResourceValidationException"
The specified resource could not be validated.
* ErrCodeOperationNotSupportedException "OperationNotSupportedException"
The API used does not support the deployment.

ListGitHubAccountTokenNamesRequest generates a "aws/request.Request" representing the
client's request for the ListGitHubAccountTokenNames operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListGitHubAccountTokenNames for more information on using the ListGitHubAccountTokenNames
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListGitHubAccountTokenNamesWithContext is the same as ListGitHubAccountTokenNames with the addition of
the ability to pass a context and additional request options.

See ListGitHubAccountTokenNames for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Unless otherwise specified, both registered and deregistered on-premises
instance names will be listed. To list only registered or deregistered on-premises
instance names, use the registration status parameter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeInvalidRegistrationStatusException "InvalidRegistrationStatusException"
The registration status was specified in an invalid format.
* ErrCodeInvalidTagFilterException "InvalidTagFilterException"
The specified tag filter was specified in an invalid format.
* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The next token was specified in an invalid format.

ListOnPremisesInstancesRequest generates a "aws/request.Request" representing the
client's request for the ListOnPremisesInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListOnPremisesInstances for more information on using the ListOnPremisesInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListOnPremisesInstancesWithContext is the same as ListOnPremisesInstances with the addition of
the ability to pass a context and additional request options.

See ListOnPremisesInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInvalidLifecycleEventHookExecutionStatusException "InvalidLifecycleEventHookExecutionStatusException"
The result of a Lambda validation function that verifies a lifecycle event
is invalid. It should return Succeeded or Failed.
* ErrCodeInvalidLifecycleEventHookExecutionIdException "InvalidLifecycleEventHookExecutionIdException"
A lifecycle event hook is invalid. Review the hooks section in your AppSpec
file to ensure the lifecycle events and hooks functions are valid.
* ErrCodeLifecycleEventAlreadyCompletedException "LifecycleEventAlreadyCompletedException"
An attempt to return the status of an already completed lifecycle event occurred.
* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException"
A call was submitted that is not supported for the specified deployment type.

PutLifecycleEventHookExecutionStatusRequest generates a "aws/request.Request" representing the
client's request for the PutLifecycleEventHookExecutionStatus operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See PutLifecycleEventHookExecutionStatus for more information on using the PutLifecycleEventHookExecutionStatus
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

PutLifecycleEventHookExecutionStatusWithContext is the same as PutLifecycleEventHookExecutionStatus with the addition of
the ability to pass a context and additional request options.

See PutLifecycleEventHookExecutionStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeDescriptionTooLongException "DescriptionTooLongException"
The description is too long.
* ErrCodeRevisionRequiredException "RevisionRequiredException"
The revision ID was not specified.
* ErrCodeInvalidRevisionException "InvalidRevisionException"
The revision was specified in an invalid format.

RegisterApplicationRevisionRequest generates a "aws/request.Request" representing the
client's request for the RegisterApplicationRevision operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See RegisterApplicationRevision for more information on using the RegisterApplicationRevision
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

RegisterApplicationRevisionWithContext is the same as RegisterApplicationRevision with the addition of
the ability to pass a context and additional request options.

See RegisterApplicationRevision for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInstanceNameAlreadyRegisteredException "InstanceNameAlreadyRegisteredException"
The specified on-premises instance name is already registered.
* ErrCodeIamArnRequiredException "IamArnRequiredException"
No IAM ARN was included in the request. You must use an IAM session ARN or
IAM user ARN in the request.
* ErrCodeIamSessionArnAlreadyRegisteredException "IamSessionArnAlreadyRegisteredException"
The request included an IAM session ARN that has already been used to register
a different instance.
* ErrCodeIamUserArnAlreadyRegisteredException "IamUserArnAlreadyRegisteredException"
The specified IAM user ARN is already registered with an on-premises instance.
* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeIamUserArnRequiredException "IamUserArnRequiredException"
An IAM user ARN was not specified.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.
* ErrCodeInvalidIamSessionArnException "InvalidIamSessionArnException"
The IAM session ARN was specified in an invalid format.
* ErrCodeInvalidIamUserArnException "InvalidIamUserArnException"
The IAM user ARN was specified in an invalid format.
* ErrCodeMultipleIamArnsProvidedException "MultipleIamArnsProvidedException"
Both an IAM user ARN and an IAM session ARN were included in the request.
Use only one ARN type.

RegisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the
client's request for the RegisterOnPremisesInstance operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See RegisterOnPremisesInstance for more information on using the RegisterOnPremisesInstance
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

RegisterOnPremisesInstanceWithContext is the same as RegisterOnPremisesInstance with the addition of
the ability to pass a context and additional request options.

See RegisterOnPremisesInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInstanceNameRequiredException "InstanceNameRequiredException"
An on-premises instance name was not specified.
* ErrCodeInvalidInstanceNameException "InvalidInstanceNameException"
The specified on-premises instance name was specified in an invalid format.
* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.
* ErrCodeInvalidTagException "InvalidTagException"
The specified tag was specified in an invalid format.
* ErrCodeTagLimitExceededException "TagLimitExceededException"
The maximum allowed number of tags was exceeded.
* ErrCodeInstanceLimitExceededException "InstanceLimitExceededException"
The maximum number of allowed on-premises instances in a single call was
exceeded.
* ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException"
The specified on-premises instance is not registered.

RemoveTagsFromOnPremisesInstancesRequest generates a "aws/request.Request" representing the
client's request for the RemoveTagsFromOnPremisesInstances operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See RemoveTagsFromOnPremisesInstances for more information on using the RemoveTagsFromOnPremisesInstances
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

RemoveTagsFromOnPremisesInstancesWithContext is the same as RemoveTagsFromOnPremisesInstances with the addition of
the ability to pass a context and additional request options.

See RemoveTagsFromOnPremisesInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.
* ErrCodeDeploymentNotStartedException "DeploymentNotStartedException"
The specified deployment has not started.
* ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException"
A call was submitted that is not supported for the specified deployment type.

SkipWaitTimeForInstanceTerminationRequest generates a "aws/request.Request" representing the
client's request for the SkipWaitTimeForInstanceTermination operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See SkipWaitTimeForInstanceTermination for more information on using the SkipWaitTimeForInstanceTermination
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

SkipWaitTimeForInstanceTerminationWithContext is the same as SkipWaitTimeForInstanceTermination with the addition of
the ability to pass a context and additional request options.

See SkipWaitTimeForInstanceTermination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException"
At least one deployment ID must be specified.
* ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException"
The deployment does not exist with the applicable IAM user or AWS account.
* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.
* ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException"
At least one of the deployment IDs was specified in an invalid format.

StopDeploymentRequest generates a "aws/request.Request" representing the
client's request for the StopDeployment operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See StopDeployment for more information on using the StopDeployment
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

StopDeploymentWithContext is the same as StopDeployment with the addition of
the ability to pass a context and additional request options.

See StopDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationAlreadyExistsException "ApplicationAlreadyExistsException"
An application with the specified name already exists with the applicable
IAM user or AWS account.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.

UpdateApplicationRequest generates a "aws/request.Request" representing the
client's request for the UpdateApplication operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See UpdateApplication for more information on using the UpdateApplication
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

UpdateApplicationWithContext is the same as UpdateApplication with the addition of
the ability to pass a context and additional request options.

See UpdateApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.
* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.
* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the applicable IAM user or AWS account.
* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.
* ErrCodeDeploymentGroupAlreadyExistsException "DeploymentGroupAlreadyExistsException"
A deployment group with the specified name already exists with the applicable
IAM user or AWS account.
* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.
* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group does not exist with the applicable IAM user or
AWS account.
* ErrCodeInvalidEC2TagException "InvalidEC2TagException"
The tag was specified in an invalid format.
* ErrCodeInvalidTagException "InvalidTagException"
The specified tag was specified in an invalid format.
* ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException"
The Auto Scaling group was specified in an invalid format or does not exist.
* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.
* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the applicable IAM user
or AWS account.
* ErrCodeInvalidRoleException "InvalidRoleException"
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 Auto Scaling.
* ErrCodeLifecycleHookLimitExceededException "LifecycleHookLimitExceededException"
The limit for lifecycle hooks was exceeded.
* ErrCodeInvalidTriggerConfigException "InvalidTriggerConfigException"
The trigger was specified in an invalid format.
* ErrCodeTriggerTargetsLimitExceededException "TriggerTargetsLimitExceededException"
The maximum allowed number of triggers was exceeded.
* ErrCodeInvalidAlarmConfigException "InvalidAlarmConfigException"
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 255 character limit.
* Two alarms with the same name have been specified.
* The alarm configuration is enabled but the alarm list is empty.
* ErrCodeAlarmsLimitExceededException "AlarmsLimitExceededException"
The maximum number of alarms for a deployment group (10) was exceeded.
* ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException"
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.
* ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException"
An invalid load balancer name, or no load balancer name, was specified.
* ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException"
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".
* ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException"
The configuration for the blue/green deployment group was provided in an
invalid format. For information about deployment configuration format, see
CreateDeploymentConfig.
* ErrCodeInvalidEC2TagCombinationException "InvalidEC2TagCombinationException"
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
only one of these data types can be used in a single call.
* ErrCodeInvalidOnPremisesTagCombinationException "InvalidOnPremisesTagCombinationException"
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
but only one of these data types can be used in a single call.
* ErrCodeTagSetListLimitExceededException "TagSetListLimitExceededException"
The number of tag groups included in the tag set list exceeded the maximum
allowed limit of 3.
* ErrCodeInvalidInputException "InvalidInputException"
The specified input was specified in an invalid format.

UpdateDeploymentGroupRequest generates a "aws/request.Request" representing the
client's request for the UpdateDeploymentGroup operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See UpdateDeploymentGroup for more information on using the UpdateDeploymentGroup
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

UpdateDeploymentGroupWithContext is the same as UpdateDeploymentGroup with the addition of
the ability to pass a context and additional request options.

See UpdateDeploymentGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

WaitUntilDeploymentSuccessful uses the CodeDeploy API operation
GetDeployment to wait for a condition to be met before returning.
If the condition is not met within the max attempt window, an error will
be returned.

WaitUntilDeploymentSuccessfulWithContext is an extended version of WaitUntilDeploymentSuccessful.
With the support for passing in a context and options to configure the
Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

type CreateApplicationInput struct {
// The name of the application. This name must be unique with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// The destination platform type for the deployment (Lambda or Server).
ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
// contains filtered or unexported fields
}

type CreateDeploymentConfigInput struct {
// The destination platform type for the deployment (Lambda or Server>).
ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
// The name of the deployment configuration to create.//// DeploymentConfigName is a required field
DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
// The minimum number of healthy instances that should be available at any time// during the deployment. There are two parameters expected in the input: type// and value.//// The type parameter takes either of the following values://// * HOST_COUNT: The value parameter represents the minimum number of healthy// instances as an absolute value.//// * FLEET_PERCENT: The value parameter represents the minimum number of// healthy instances as a percentage of the total number of instances in// the deployment. If you specify FLEET_PERCENT, at the start of the deployment,// AWS CodeDeploy converts the percentage to the equivalent number of instance// and rounds up fractional instances.//// The value parameter takes an integer.//// For example, to set a minimum of 95% healthy instance, specify a type of// FLEET_PERCENT and a value of 95.
MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
// The configuration that specifies how the deployment traffic will be routed.
TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"`
// contains filtered or unexported fields
}

type CreateDeploymentGroupInput struct {
// Information to add about Amazon CloudWatch alarms when the deployment group// is created.
AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Configuration information for an automatic rollback that is added when a// deployment group is created.
AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
// A list of associated Auto Scaling groups.
AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
// Information about blue/green deployment options for a deployment group.
BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
// If specified, the deployment configuration name can be either one of the// predefined configurations provided with AWS CodeDeploy or a custom deployment// configuration that you create by calling the create deployment configuration// operation.//// CodeDeployDefault.OneAtATime is the default deployment configuration. It// is used if a configuration isn't specified for the deployment or the deployment// group.//// For more information about the predefined deployment configurations in AWS// CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy (http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html)// in the AWS CodeDeploy User Guide.
DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
// The name of a new deployment group for the specified application.//// DeploymentGroupName is a required field
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
// Information about the type of deployment, in-place or blue/green, that you// want to run and whether to route deployment traffic behind a load balancer.
DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`
// The Amazon EC2 tags on which to filter. The deployment group will include// EC2 instances with any of the specified tags. Cannot be used in the same// call as ec2TagSet.
Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
// Information about groups of tags applied to EC2 instances. The deployment// group will include only EC2 instances identified by all the tag groups. Cannot// be used in the same call as ec2TagFilters.
Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
// Information about the load balancer used in a deployment.
LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
// The on-premises instance tags on which to filter. The deployment group will// include on-premises instances with any of the specified tags. Cannot be used// in the same call as OnPremisesTagSet.
OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
// Information about groups of tags applied to on-premises instances. The deployment// group will include only on-premises instances identified by all the tag groups.// Cannot be used in the same call as onPremisesInstanceTagFilters.
OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"`
// A service role ARN that allows AWS CodeDeploy to act on the user's behalf// when interacting with AWS services.//// ServiceRoleArn is a required field
ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"`
// Information about triggers to create when the deployment group is created.// For examples, see Create a Trigger for an AWS CodeDeploy Event (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html)// in the AWS CodeDeploy User Guide.
TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
// contains filtered or unexported fields
}

type CreateDeploymentInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Configuration information for an automatic rollback that is added when a// deployment is created.
AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
// The name of a deployment configuration associated with the applicable IAM// user or AWS account.//// If not specified, the value configured in the deployment group will be used// as the default. If the deployment group does not have a deployment configuration// associated with it, then CodeDeployDefault.OneAtATime will be used by default.
DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
// The name of the deployment group.
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
// A comment about the deployment.
Description *string `locationName:"description" type:"string"`
// Information about how AWS CodeDeploy handles files that already exist in// a deployment target location but weren't part of the previous successful// deployment.//// The fileExistsBehavior parameter takes any of the following values://// * 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 *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`
// If set to true, then if the deployment causes the ApplicationStop deployment// lifecycle event to an instance to fail, the deployment to that instance will// not be considered to have failed at that point and will continue on to the// BeforeInstall deployment lifecycle event.//// If set to false or not specified, then if the deployment causes the ApplicationStop// deployment lifecycle event to fail to an instance, the deployment to that// instance will stop, and the deployment to that instance will be considered// to have failed.
IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
// The type and location of the revision to deploy.
Revision *RevisionLocation `locationName:"revision" type:"structure"`
// Information about the instances that will belong to the replacement environment// in a blue/green deployment.
TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"`
// Indicates whether to deploy to all instances or only to instances that are// not running the latest application revision.
UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"`
// contains filtered or unexported fields
}

type DeleteDeploymentGroupInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// The name of an existing deployment group for the specified application.//// DeploymentGroupName is a required field
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

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.
AdditionalDeploymentStatusInfo *string `locationName:"additionalDeploymentStatusInfo" deprecated:"true" type:"string"`
// The application name.
ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
// Information about the automatic rollback configuration associated with the// deployment.
AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
// Information about blue/green deployment options for this deployment.
BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
// A timestamp indicating when the deployment was complete.
CompleteTime *time.Time `locationName:"completeTime" type:"timestamp"`
// The destination platform type for the deployment (Lambda or Server).
ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
// A timestamp indicating when the deployment was created.
CreateTime *time.Time `locationName:"createTime" type:"timestamp"`
// The means by which the deployment was created://// * user: A user created the deployment.//// * autoscaling: Auto Scaling created the deployment.//// * codeDeployRollback: A rollback process created the deployment.
Creator *string `locationName:"creator" type:"string" enum:"DeploymentCreator"`
// The deployment configuration name.
DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
// The deployment group name.
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
// The deployment ID.
DeploymentId *string `locationName:"deploymentId" type:"string"`
// A summary of the deployment status of the instances in the deployment.
DeploymentOverview *DeploymentOverview `locationName:"deploymentOverview" type:"structure"`
// Messages that contain information about the status of a deployment.
DeploymentStatusMessages []*string `locationName:"deploymentStatusMessages" type:"list"`
// 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 `locationName:"deploymentStyle" type:"structure"`
// A comment about the deployment.
Description *string `locationName:"description" type:"string"`
// Information about any error associated with this deployment.
ErrorInformation *ErrorInformation `locationName:"errorInformation" type:"structure"`
// Information about how AWS 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 *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`
// If true, then if the deployment causes the ApplicationStop deployment lifecycle// event to an instance to fail, the deployment to that instance will not be// considered to have failed at that point and will continue on to the BeforeInstall// deployment lifecycle event.//// If false or not specified, then if the deployment causes the ApplicationStop// deployment lifecycle event to an instance to fail, the deployment to that// instance will stop, and the deployment to that instance will be considered// to have failed.
IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
// 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 `locationName:"instanceTerminationWaitTimeStarted" type:"boolean"`
// Information about the load balancer used in the deployment.
LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
// Information about the application revision that was deployed to the deployment// group before the most recent successful deployment.
PreviousRevision *RevisionLocation `locationName:"previousRevision" type:"structure"`
// Information about the location of stored application artifacts and the service// from which to retrieve them.
Revision *RevisionLocation `locationName:"revision" type:"structure"`
// Information about a deployment rollback.
RollbackInfo *RollbackInfo `locationName:"rollbackInfo" type:"structure"`
// A timestamp indicating when the deployment was deployed to the deployment// group.//// In some cases, the reported value of the start time may be later than the// complete time. This is due to differences in the clock settings of back-end// servers that participate in the deployment process.
StartTime *time.Time `locationName:"startTime" type:"timestamp"`
// The current state of the deployment as a whole.
Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
// Information about the instances that belong to the replacement environment// in a blue/green deployment.
TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"`
// Indicates whether only instances that are not running the latest application// revision are to be deployed to.
UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"`
// contains filtered or unexported fields
}

type DeploymentOverview struct {
// The number of instances in the deployment in a failed state.
Failed *int64 `type:"long"`
// The number of instances in which the deployment is in progress.
InProgress *int64 `type:"long"`
// The number of instances in the deployment in a pending state.
Pending *int64 `type:"long"`
// The number of instances in a replacement environment ready to receive traffic// in a blue/green deployment.
Ready *int64 `type:"long"`
// The number of instances in the deployment in a skipped state.
Skipped *int64 `type:"long"`
// The number of instances in the deployment to which revisions have been successfully// deployed.
Succeeded *int64 `type:"long"`
// contains filtered or unexported fields
}

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

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 *string `locationName:"actionOnTimeout" type:"string" enum:"DeploymentReadyAction"`
// The number of minutes to wait before the status of a blue/green deployment// changed to Stopped if rerouting is not started manually. Applies only to// the STOP_DEPLOYMENT option for actionOnTimeout
WaitTimeInMinutes *int64 `locationName:"waitTimeInMinutes" type:"integer"`
// contains filtered or unexported fields
}

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

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 *string `locationName:"errorCode" type:"string" enum:"LifecycleErrorCode"`
// The last portion of the diagnostic log.//// If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic// log.
LogTail *string `locationName:"logTail" type:"string"`
// The message associated with the error.
Message *string `locationName:"message" type:"string"`
// The name of the script.
ScriptName *string `locationName:"scriptName" type:"string"`
// contains filtered or unexported fields
}

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

type EC2TagSet struct {
// A list containing other lists of EC2 instance tag groups. In order for an// instance to be included in the deployment group, it must be identified by// all the tag groups in the list.
Ec2TagSetList [][]*EC2TagFilter `locationName:"ec2TagSetList" type:"list"`
// contains filtered or unexported fields
}

type ELBInfo struct {
// For blue/green deployments, the name of the load balancer that will be used// to route traffic from original instances to replacement instances in a blue/green// deployment. For in-place deployments, the name of the load balancer that// instances are deregistered from so they are not serving traffic during a// deployment, and then re-registered with after the deployment completes.
Name *string `locationName:"name" type:"string"`
// contains filtered or unexported fields
}

Information about a 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 ErrorInformation struct {
// For information about additional error codes, see Error Codes for AWS CodeDeploy// (http://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html)// in the AWS CodeDeploy User Guide (http://docs.aws.amazon.com/codedeploy/latest/userguide).//// The error code://// * APPLICATION_MISSING: The application was missing. This error code will// most likely be 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 will most likely be 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 the Amazon// EC2 service.//// * NO_INSTANCES: No instance were specified, or no instance can be found.//// * OVER_MAX_INSTANCES: The maximum number of instance was exceeded.//// * THROTTLED: The operation was throttled because the calling account exceeded// the throttling limits of one or more AWS services.//// * TIMEOUT: The deployment has timed out.//// * REVISION_MISSING: The revision ID was missing. This error code will// most likely be raised if the revision is deleted after the deployment// is created but before it is started.
Code *string `locationName:"code" type:"string" enum:"ErrorCode"`
// An accompanying error message.
Message *string `locationName:"message" type:"string"`
// contains filtered or unexported fields
}

type GenericRevisionInfo struct {
// The deployment groups for which this is the current target revision.
DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
// A comment about the revision.
Description *string `locationName:"description" type:"string"`
// When the revision was first used by AWS CodeDeploy.
FirstUsedTime *time.Time `locationName:"firstUsedTime" type:"timestamp"`
// When the revision was last used by AWS CodeDeploy.
LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp"`
// When the revision was registered with AWS CodeDeploy.
RegisterTime *time.Time `locationName:"registerTime" type:"timestamp"`
// contains filtered or unexported fields
}

type GetApplicationRevisionInput struct {
// The name of the application that corresponds to the revision.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Information about the application revision to get, including type and location.//// Revision is a required field
Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
// contains filtered or unexported fields
}

type GetDeploymentGroupInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// The name of an existing deployment group for the specified application.//// DeploymentGroupName is a required field
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

type GetOnPremisesInstanceInput struct {
// The name of the on-premises instance about which to get information.//// InstanceName is a required field
InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
// contains filtered or unexported fields
}

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

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

type InstanceSummary struct {
// The deployment ID.
DeploymentId *string `locationName:"deploymentId" type:"string"`
// The instance ID.
InstanceId *string `locationName:"instanceId" type:"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 *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
// A timestamp indicating when the instance information was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// A list of lifecycle events for this instance.
LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
// 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.
Status *string `locationName:"status" type:"string" enum:"InstanceStatus"`
// contains filtered or unexported fields
}

type ListApplicationRevisionsInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Whether to list revisions based on whether the revision is the target revision// of an deployment group://// * include: List revisions that are target revisions of a deployment group.//// * exclude: Do not list revisions that are target revisions of a deployment// group.//// * ignore: List all revisions.
Deployed *string `locationName:"deployed" type:"string" enum:"ListStateFilterAction"`
// An identifier returned from the previous list application revisions call.// It can be used to return the next set of applications in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// An Amazon S3 bucket name to limit the search for revisions.//// If set to null, all of the user's buckets will be searched.
S3Bucket *string `locationName:"s3Bucket" type:"string"`
// A key prefix for the set of Amazon S3 objects to limit the search for revisions.
S3KeyPrefix *string `locationName:"s3KeyPrefix" type:"string"`
// The column name to use to sort the list results://// * registerTime: Sort by the time the revisions were registered with AWS// CodeDeploy.//// * firstUsedTime: Sort by the time the revisions were first used in a deployment.//// * lastUsedTime: Sort by the time the revisions were last used in a deployment.//// If not specified or set to null, the results will be returned in an arbitrary// order.
SortBy *string `locationName:"sortBy" type:"string" enum:"ApplicationRevisionSortBy"`
// The order in which to sort the list results://// * ascending: ascending order.//// * descending: descending order.//// If not specified, the results will be sorted in ascending order.//// If set to null, the results will be sorted in an arbitrary order.
SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
// contains filtered or unexported fields
}

type ListApplicationRevisionsOutput struct {
// If a large amount of information is returned, an identifier will also be// returned. It can be used in a subsequent list application revisions call// to return the next set of application revisions in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// A list of locations that contain the matching revisions.
Revisions []*RevisionLocation `locationName:"revisions" type:"list"`
// contains filtered or unexported fields
}

type ListApplicationsInput struct {
// An identifier returned from the previous list applications call. It can be// used to return the next set of applications in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListApplicationsOutput struct {
// A list of application names.
Applications []*string `locationName:"applications" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list applications call to return the next// set of applications, will also be returned. in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentConfigsInput struct {
// An identifier returned from the previous list deployment configurations call.// It can be used to return the next set of deployment configurations in the// list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentConfigsOutput struct {
// A list of deployment configurations, including built-in configurations such// as CodeDeployDefault.OneAtATime.
DeploymentConfigsList []*string `locationName:"deploymentConfigsList" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list deployment configurations call to return// the next set of deployment configurations in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentGroupsInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// An identifier returned from the previous list deployment groups call. It// can be used to return the next set of deployment groups in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentGroupsOutput struct {
// The application name.
ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
// A list of corresponding deployment group names.
DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list deployment groups call to return the// next set of deployment groups in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentInstancesInput struct {
// The unique ID of a deployment.//// DeploymentId is a required field
DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
// A subset of instances to list by status://// * Pending: Include those instance with pending deployments.//// * InProgress: Include those instance where deployments are still in progress.//// * Succeeded: Include those instances with successful deployments.//// * Failed: Include those instance with failed deployments.//// * Skipped: Include those instance with skipped deployments.//// * Unknown: Include those instance with deployments in an unknown state.
InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list"`
// The set of instances in a blue/green deployment, either those in the original// environment ("BLUE") or those in the replacement environment ("GREEN"), for// which you want to view instance information.
InstanceTypeFilter []*string `locationName:"instanceTypeFilter" type:"list"`
// An identifier returned from the previous list deployment instances call.// It can be used to return the next set of deployment instances in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentInstancesOutput struct {
// A list of instance IDs.
InstancesList []*string `locationName:"instancesList" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list deployment instances call to return the// next set of deployment instances in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentsInput struct {
// The name of an AWS CodeDeploy application associated with the applicable// IAM user or AWS account.
ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
// A time range (start and end) for returning a subset of the list of deployments.
CreateTimeRange *TimeRange `locationName:"createTimeRange" type:"structure"`
// The name of an existing deployment group for the specified application.
DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
// A subset of deployments to list by status://// * Created: Include created deployments in the resulting list.//// * Queued: Include queued deployments in the resulting list.//// * In Progress: Include in-progress deployments in the resulting list.//// * Succeeded: Include successful deployments in the resulting list.//// * Failed: Include failed deployments in the resulting list.//// * Stopped: Include stopped deployments in the resulting list.
IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list"`
// An identifier returned from the previous list deployments call. It can be// used to return the next set of deployments in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListDeploymentsOutput struct {
// A list of deployment IDs.
Deployments []*string `locationName:"deployments" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list deployments call to return the next set// of deployments in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListGitHubAccountTokenNamesInput struct {
// An identifier returned from the previous ListGitHubAccountTokenNames call.// It can be used to return the next set of names in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type ListGitHubAccountTokenNamesOutput struct {
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent ListGitHubAccountTokenNames call to return// the next set of names in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// A list of names of connections to GitHub accounts.
TokenNameList []*string `locationName:"tokenNameList" type:"list"`
// contains filtered or unexported fields
}

type ListOnPremisesInstancesInput struct {
// An identifier returned from the previous list on-premises instances call.// It can be used to return the next set of on-premises instances in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// The registration status of the on-premises instances://// * Deregistered: Include deregistered on-premises instances in the resulting// list.//// * Registered: Include registered on-premises instances in the resulting// list.
RegistrationStatus *string `locationName:"registrationStatus" type:"string" enum:"RegistrationStatus"`
// The on-premises instance tags that will be used to restrict the corresponding// on-premises instance names returned.
TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
// contains filtered or unexported fields
}

type ListOnPremisesInstancesOutput struct {
// The list of matching on-premises instance names.
InstanceNames []*string `locationName:"instanceNames" type:"list"`
// If a large amount of information is returned, an identifier is also returned.// It can be used in a subsequent list on-premises instances call to return// the next set of on-premises instances in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}

type LoadBalancerInfo struct {
// An array containing information about the load balancer to use for load balancing// in a deployment. In Elastic Load Balancing, load balancers are used with// Classic Load Balancers.//// Adding more than one load balancer to the array is not supported.
ElbInfoList []*ELBInfo `locationName:"elbInfoList" type:"list"`
// An array containing information about the target group to use for load balancing// in a deployment. In Elastic Load Balancing, target groups are used with Application// Load Balancers.//// Adding more than one target group to the array is not supported.
TargetGroupInfoList []*TargetGroupInfo `locationName:"targetGroupInfoList" type:"list"`
// contains filtered or unexported fields
}

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

type MinimumHealthyHosts struct {
// The minimum healthy instance type://// * HOST_COUNT: The minimum number of healthy instance as an absolute value.//// * FLEET_PERCENT: The minimum number of healthy instance as a percentage// of the total number of instance in the deployment.//// In an example of nine instance, if a HOST_COUNT of six is specified, deploy// to up to three instances at a time. The deployment will be 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 instance// at a time. The deployment will be successful if four or more instance are// deployed to successfully; otherwise, the deployment fails.//// In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime// will return 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, AWS CodeDeploy will try 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 still succeeds.//// For more information, see AWS CodeDeploy Instance Health (http://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html)// in the AWS CodeDeploy User Guide.
Type *string `locationName:"type" type:"string" enum:"MinimumHealthyHostsType"`
// The minimum healthy instance value.
Value *int64 `locationName:"value" type:"integer"`
// contains filtered or unexported fields
}

type OnPremisesTagSet struct {
// A list containing other lists of on-premises instance tag groups. In order// for an instance to be included in the deployment group, it must be identified// by all the tag groups in the list.
OnPremisesTagSetList [][]*TagFilter `locationName:"onPremisesTagSetList" type:"list"`
// contains filtered or unexported fields
}

type RegisterOnPremisesInstanceInput struct {
// The ARN of the IAM session to associate with the on-premises instance.
IamSessionArn *string `locationName:"iamSessionArn" type:"string"`
// The ARN of the IAM user to associate with the on-premises instance.
IamUserArn *string `locationName:"iamUserArn" type:"string"`
// The name of the on-premises instance to register.//// InstanceName is a required field
InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
// contains filtered or unexported fields
}

type RollbackInfo struct {
// The ID of the deployment rollback.
RollbackDeploymentId *string `locationName:"rollbackDeploymentId" type:"string"`
// Information describing the status of a deployment rollback; for example,// whether the deployment can't be rolled back, is in progress, failed, or succeeded.
RollbackMessage *string `locationName:"rollbackMessage" type:"string"`
// The deployment ID of the deployment that was underway and triggered a rollback// deployment because it failed or was stopped.
RollbackTriggeringDeploymentId *string `locationName:"rollbackTriggeringDeploymentId" type:"string"`
// contains filtered or unexported fields
}

type S3Location struct {
// The name of the Amazon S3 bucket where the application revision is stored.
Bucket *string `locationName:"bucket" type:"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.
BundleType *string `locationName:"bundleType" type:"string" enum:"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 will be skipped.
ETag *string `locationName:"eTag" type:"string"`
// The name of the Amazon S3 object that represents the bundled artifacts for// the application revision.
Key *string `locationName:"key" type:"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 will use the most recent version// by default.
Version *string `locationName:"version" type:"string"`
// contains filtered or unexported fields
}

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

type StopDeploymentInput struct {
// Indicates, when a deployment is stopped, whether instances that have been// updated should be rolled back to the previous version of the application// revision.
AutoRollbackEnabled *bool `locationName:"autoRollbackEnabled" type:"boolean"`
// The unique ID of a deployment.//// DeploymentId is a required field
DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
// contains filtered or unexported fields
}

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 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 completes.
Name *string `locationName:"name" type:"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 TargetInstances struct {
// The names of one or more Auto Scaling groups to identify a replacement environment// for a blue/green deployment.
AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
// Information about the groups of 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 `locationName:"ec2TagSet" type:"structure"`
// 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 `locationName:"tagFilters" type:"list"`
// contains filtered or unexported fields
}

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

type TimeBasedCanary struct {
// The number of minutes between the first and second traffic shifts of a TimeBasedCanary// deployment.
CanaryInterval *int64 `locationName:"canaryInterval" type:"integer"`
// The percentage of traffic to shift in the first increment of a TimeBasedCanary// deployment.
CanaryPercentage *int64 `locationName:"canaryPercentage" type:"integer"`
// contains filtered or unexported fields
}

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

type TimeBasedLinear struct {
// The number of minutes between each incremental traffic shift of a TimeBasedLinear// deployment.
LinearInterval *int64 `locationName:"linearInterval" type:"integer"`
// The percentage of traffic that is shifted at the start of each increment// of a TimeBasedLinear deployment.
LinearPercentage *int64 `locationName:"linearPercentage" type:"integer"`
// contains filtered or unexported fields
}

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

type TimeRange struct {
// The end time of the time range.//// Specify null to leave the end time open-ended.
End *time.Time `locationName:"end" type:"timestamp"`
// The start time of the time range.//// Specify null to leave the start time open-ended.
Start *time.Time `locationName:"start" type:"timestamp"`
// contains filtered or unexported fields
}

type TrafficRoutingConfig struct {
// A configuration that shifts traffic from one version of a Lambda function// to another in two increments. The original and target Lambda function versions// are specified in the deployment's AppSpec file.
TimeBasedCanary *TimeBasedCanary `locationName:"timeBasedCanary" type:"structure"`
// A configuration that shifts traffic from one version of a Lambda function// to another in equal increments, with an equal number of minutes between each// increment. The original and target Lambda function versions are specified// in the deployment's AppSpec file.
TimeBasedLinear *TimeBasedLinear `locationName:"timeBasedLinear" type:"structure"`
// The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by// a deployment configuration .
Type *string `locationName:"type" type:"string" enum:"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 AWS Lambda deployment.

type UpdateApplicationInput struct {
// The current name of the application you want to change.
ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
// The new name to give the application.
NewApplicationName *string `locationName:"newApplicationName" min:"1" type:"string"`
// contains filtered or unexported fields
}

type UpdateDeploymentGroupInput struct {
// Information to add or change about Amazon CloudWatch alarms when the deployment// group is updated.
AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`
// The application name corresponding to the deployment group to update.//// ApplicationName is a required field
ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
// Information for an automatic rollback configuration that is added or changed// when a deployment group is updated.
AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
// The replacement list of Auto Scaling groups to be included in the deployment// group, if you want to change them. To keep the Auto Scaling groups, enter// their names. To remove Auto Scaling groups, do not enter any Auto Scaling// group names.
AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
// Information about blue/green deployment options for a deployment group.
BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
// The current name of the deployment group.//// CurrentDeploymentGroupName is a required field
CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" min:"1" type:"string" required:"true"`
// The replacement deployment configuration name to use, if you want to change// it.
DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"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 `locationName:"deploymentStyle" type:"structure"`
// The replacement set of Amazon EC2 tags on which to filter, if you want to// change them. To keep the existing tags, enter their names. To remove tags,// do not enter any tag names.
Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
// Information about groups of tags applied to on-premises instances. The deployment// group will include only EC2 instances identified by all the tag groups.
Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
// Information about the load balancer used in a deployment.
LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
// The new name of the deployment group, if you want to change it.
NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" min:"1" type:"string"`
// The replacement set of on-premises instance tags on which to filter, if you// want to change them. To keep the existing tags, enter their names. To remove// tags, do not enter any tag names.
OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
// Information about an on-premises instance tag set. The deployment group will// include only on-premises instances identified by all the tag groups.
OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"`
// A replacement ARN for the service role, if you want to change it.
ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`
// Information about triggers to change when the deployment group is updated.// For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html)// in the AWS CodeDeploy User Guide.
TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
// contains filtered or unexported fields
}