# Serialized Form

## Package com.amazonaws.services.codedeploy.model

### Class com.amazonaws.services.codedeploy.model.AddTagsToOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### tags

    com.amazonaws.internal.SdkInternalList<T> tags

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.

#### instanceNames

    com.amazonaws.internal.SdkInternalList<T> instanceNames

The names of the on-premises instances to which to add tags.

### Class com.amazonaws.services.codedeploy.model.AddTagsToOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.Alarm extends Object implements Serializable

### Serialized Fields

#### name

    String name

The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.

### Class com.amazonaws.services.codedeploy.model.AlarmConfiguration extends Object implements Serializable

### Serialized Fields

#### enabled

    Boolean enabled

Indicates whether the alarm configuration is enabled.

#### ignorePollAlarmFailure

    Boolean ignorePollAlarmFailure

Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.

- true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.

- false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.

#### alarms

    com.amazonaws.internal.SdkInternalList<T> alarms

A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.

### Class com.amazonaws.services.codedeploy.model.AlarmsLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.AmazonCodeDeployException extends AmazonServiceException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.ApplicationAlreadyExistsException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.ApplicationDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.ApplicationInfo extends Object implements Serializable

### Serialized Fields

#### applicationId

    String applicationId

The application ID.

#### applicationName

    String applicationName

The application name.

#### createTime

    Date createTime

The time at which the application was created.

#### linkedToGitHub

    Boolean linkedToGitHub

True if the user has authenticated with GitHub for the specified application; otherwise, false.

### Class com.amazonaws.services.codedeploy.model.ApplicationLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.ApplicationNameRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.AutoRollbackConfiguration extends Object implements Serializable

### Serialized Fields

#### enabled

    Boolean enabled

Indicates whether a defined automatic rollback configuration is currently enabled.

#### events

    com.amazonaws.internal.SdkInternalList<T> events

The event type or types that trigger a rollback.

### Class com.amazonaws.services.codedeploy.model.AutoScalingGroup extends Object implements Serializable

### Serialized Fields

#### name

    String name

The Auto Scaling group name.

#### hook

    String hook

An Auto Scaling lifecycle event hook name.

### Class com.amazonaws.services.codedeploy.model.BatchGetApplicationRevisionsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application about which to get revision information.

#### revisions

    com.amazonaws.internal.SdkInternalList<T> revisions

Information to get about the application revisions, including type and location.

### Class com.amazonaws.services.codedeploy.model.BatchGetApplicationRevisionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of the application that corresponds to the revisions.

#### errorMessage

    String errorMessage

Information about errors that may have occurred during the API call.

#### revisions

    com.amazonaws.internal.SdkInternalList<T> revisions

Additional information about the revisions, including the type and location.

### Class com.amazonaws.services.codedeploy.model.BatchGetApplicationsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationNames

    com.amazonaws.internal.SdkInternalList<T> applicationNames

A list of application names separated by spaces.

### Class com.amazonaws.services.codedeploy.model.BatchGetApplicationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applicationsInfo

    com.amazonaws.internal.SdkInternalList<T> applicationsInfo

Information about the applications.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentGroupsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupNames

    com.amazonaws.internal.SdkInternalList<T> deploymentGroupNames

The deployment groups' names.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentGroupsInfo

    com.amazonaws.internal.SdkInternalList<T> deploymentGroupsInfo

Information about the deployment groups.

#### errorMessage

    String errorMessage

Information about errors that may have occurred during the API call.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

The unique ID of a deployment.

#### instanceIds

    com.amazonaws.internal.SdkInternalList<T> instanceIds

The unique IDs of instances in the deployment group.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instancesSummary

    com.amazonaws.internal.SdkInternalList<T> instancesSummary

Information about the instance.

#### errorMessage

    String errorMessage

Information about errors that may have occurred during the API call.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentIds

    com.amazonaws.internal.SdkInternalList<T> deploymentIds

A list of deployment IDs, separated by spaces.

### Class com.amazonaws.services.codedeploy.model.BatchGetDeploymentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentsInfo

    com.amazonaws.internal.SdkInternalList<T> deploymentsInfo

Information about the deployments.

### Class com.amazonaws.services.codedeploy.model.BatchGetOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### instanceNames

    com.amazonaws.internal.SdkInternalList<T> instanceNames

The names of the on-premises instances about which to get information.

### Class com.amazonaws.services.codedeploy.model.BatchGetOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instanceInfos

    com.amazonaws.internal.SdkInternalList<T> instanceInfos

Information about the on-premises instances.

### Class com.amazonaws.services.codedeploy.model.BatchLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.BucketNameFilterRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of the application. This name must be unique with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.CreateApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applicationId

    String applicationId

A unique application ID.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentConfigRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentConfigName

    String deploymentConfigName

The name of the deployment configuration to create.

#### minimumHealthyHosts

    MinimumHealthyHosts minimumHealthyHosts

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.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentConfigId

    String deploymentConfigId

A unique deployment configuration ID.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupName

    String deploymentGroupName

The name of a new deployment group for the specified application.

#### deploymentConfigName

    String deploymentConfigName

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.

<note>

CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.

</note>

The predefined deployment configurations include the following:

- CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instances as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instances, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instances at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instances fail.

- CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instances at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.

- CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.

  For deployment groups that contain more than one instance:

  - The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.

  - The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.

  - In an example using nine instances, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instances is successful; the overall deployment fails if deployment to any of the first eight instances fails.

  For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful

#### ec2TagFilters

    com.amazonaws.internal.SdkInternalList<T> ec2TagFilters

The Amazon EC2 tags on which to filter.

#### onPremisesInstanceTagFilters

    com.amazonaws.internal.SdkInternalList<T> onPremisesInstanceTagFilters

The on-premises instance tags on which to filter.

#### autoScalingGroups

    com.amazonaws.internal.SdkInternalList<T> autoScalingGroups

A list of associated Auto Scaling groups.

#### serviceRoleArn

    String serviceRoleArn

A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.

#### triggerConfigurations

    com.amazonaws.internal.SdkInternalList<T> triggerConfigurations

Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.

#### alarmConfiguration

    AlarmConfiguration alarmConfiguration

Information to add about Amazon CloudWatch alarms when the deployment group is created.

#### autoRollbackConfiguration

    AutoRollbackConfiguration autoRollbackConfiguration

Configuration information for an automatic rollback that is added when a deployment group is created.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentGroupId

    String deploymentGroupId

A unique deployment group ID.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupName

    String deploymentGroupName

The name of the deployment group.

#### revision

    RevisionLocation revision

The type and location of the revision to deploy.

#### deploymentConfigName

    String deploymentConfigName

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.

#### description

    String description

A comment about the deployment.

#### ignoreApplicationStopFailures

    Boolean ignoreApplicationStopFailures

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.

#### autoRollbackConfiguration

    AutoRollbackConfiguration autoRollbackConfiguration

Configuration information for an automatic rollback that is added when a deployment is created.

#### updateOutdatedInstancesOnly

    Boolean updateOutdatedInstancesOnly

Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.

### Class com.amazonaws.services.codedeploy.model.CreateDeploymentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

A unique deployment ID.

### Class com.amazonaws.services.codedeploy.model.DeleteApplicationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.DeleteApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.DeleteDeploymentConfigRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentConfigName

    String deploymentConfigName

The name of a deployment configuration associated with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.DeleteDeploymentConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.DeleteDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupName

    String deploymentGroupName

The name of an existing deployment group for the specified application.

### Class com.amazonaws.services.codedeploy.model.DeleteDeploymentGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### hooksNotCleanedUp

    com.amazonaws.internal.SdkInternalList<T> hooksNotCleanedUp

If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.

### Class com.amazonaws.services.codedeploy.model.DeploymentAlreadyCompletedException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigAlreadyExistsException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigInfo extends Object implements Serializable

### Serialized Fields

#### deploymentConfigId

    String deploymentConfigId

The deployment configuration ID.

#### deploymentConfigName

    String deploymentConfigName

The deployment configuration name.

#### minimumHealthyHosts

    MinimumHealthyHosts minimumHealthyHosts

Information about the number or percentage of minimum healthy instance.

#### createTime

    Date createTime

The time at which the deployment configuration was created.

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigInUseException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentConfigNameRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentGroupAlreadyExistsException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentGroupDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentGroupInfo extends Object implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The application name.

#### deploymentGroupId

    String deploymentGroupId

The deployment group ID.

#### deploymentGroupName

    String deploymentGroupName

The deployment group name.

#### deploymentConfigName

    String deploymentConfigName

The deployment configuration name.

#### ec2TagFilters

    com.amazonaws.internal.SdkInternalList<T> ec2TagFilters

The Amazon EC2 tags on which to filter.

#### onPremisesInstanceTagFilters

    com.amazonaws.internal.SdkInternalList<T> onPremisesInstanceTagFilters

The on-premises instance tags on which to filter.

#### autoScalingGroups

    com.amazonaws.internal.SdkInternalList<T> autoScalingGroups

A list of associated Auto Scaling groups.

#### serviceRoleArn

    String serviceRoleArn

A service role ARN.

#### targetRevision

    RevisionLocation targetRevision

Information about the deployment group's target revision, including type and location.

#### triggerConfigurations

    com.amazonaws.internal.SdkInternalList<T> triggerConfigurations

Information about triggers associated with the deployment group.

#### alarmConfiguration

    AlarmConfiguration alarmConfiguration

A list of alarms associated with the deployment group.

#### autoRollbackConfiguration

    AutoRollbackConfiguration autoRollbackConfiguration

Information about the automatic rollback configuration associated with the deployment group.

### Class com.amazonaws.services.codedeploy.model.DeploymentGroupLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentGroupNameRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentIdRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentInfo extends Object implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The application name.

#### deploymentGroupName

    String deploymentGroupName

The deployment group name.

#### deploymentConfigName

    String deploymentConfigName

The deployment configuration name.

#### deploymentId

    String deploymentId

The deployment ID.

#### revision

    RevisionLocation revision

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

#### status

    String status

The current state of the deployment as a whole.

#### errorInformation

    ErrorInformation errorInformation

Information about any error associated with this deployment.

#### createTime

    Date createTime

A timestamp indicating when the deployment was created.

#### startTime

    Date startTime

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.

#### completeTime

    Date completeTime

A timestamp indicating when the deployment was complete.

#### deploymentOverview

    DeploymentOverview deploymentOverview

A summary of the deployment status of the instances in the deployment.

#### description

    String description

A comment about the deployment.

#### creator

    String creator

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.

#### ignoreApplicationStopFailures

    Boolean ignoreApplicationStopFailures

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.

#### autoRollbackConfiguration

    AutoRollbackConfiguration autoRollbackConfiguration

Information about the automatic rollback configuration associated with the deployment.

#### updateOutdatedInstancesOnly

    Boolean updateOutdatedInstancesOnly

Indicates whether only instances that are not running the latest application revision are to be deployed to.

#### rollbackInfo

    RollbackInfo rollbackInfo

Information about a deployment rollback.

### Class com.amazonaws.services.codedeploy.model.DeploymentLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentNotStartedException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.DeploymentOverview extends Object implements Serializable

### Serialized Fields

#### pending

    Long pending

The number of instances in the deployment in a pending state.

#### inProgress

    Long inProgress

The number of instances in which the deployment is in progress.

#### succeeded

    Long succeeded

The number of instances in the deployment to which revisions have been successfully deployed.

#### failed

    Long failed

The number of instances in the deployment in a failed state.

#### skipped

    Long skipped

The number of instances in the deployment in a skipped state.

### Class com.amazonaws.services.codedeploy.model.DeregisterOnPremisesInstanceRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### instanceName

    String instanceName

The name of the on-premises instance to deregister.

### Class com.amazonaws.services.codedeploy.model.DeregisterOnPremisesInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.DescriptionTooLongException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.Diagnostics extends Object implements Serializable

### Serialized Fields

#### errorCode

    String errorCode

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.

#### scriptName

    String scriptName

The name of the script.

#### message

    String message

The message associated with the error.

#### logTail

    String logTail

The last portion of the diagnostic log.

If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.

### Class com.amazonaws.services.codedeploy.model.EC2TagFilter extends Object implements Serializable

### Serialized Fields

#### key

    String key

The tag filter key.

#### value

    String value

The tag filter value.

#### type

    String type

The tag filter type:

- KEY_ONLY: Key only.

- VALUE_ONLY: Value only.

- KEY_AND_VALUE: Key and value.

### Class com.amazonaws.services.codedeploy.model.ErrorInformation extends Object implements Serializable

### Serialized Fields

#### code

    String code

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.

#### message

    String message

An accompanying error message.

### Class com.amazonaws.services.codedeploy.model.GenericRevisionInfo extends Object implements Serializable

### Serialized Fields

#### description

    String description

A comment about the revision.

#### deploymentGroups

    com.amazonaws.internal.SdkInternalList<T> deploymentGroups

The deployment groups for which this is the current target revision.

#### firstUsedTime

    Date firstUsedTime

When the revision was first used by AWS CodeDeploy.

#### lastUsedTime

    Date lastUsedTime

When the revision was last used by AWS CodeDeploy.

#### registerTime

    Date registerTime

When the revision was registered with AWS CodeDeploy.

### Class com.amazonaws.services.codedeploy.model.GetApplicationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.GetApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### application

    ApplicationInfo application

Information about the application.

### Class com.amazonaws.services.codedeploy.model.GetApplicationRevisionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of the application that corresponds to the revision.

#### revision

    RevisionLocation revision

Information about the application revision to get, including type and location.

### Class com.amazonaws.services.codedeploy.model.GetApplicationRevisionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of the application that corresponds to the revision.

#### revision

    RevisionLocation revision

Additional information about the revision, including type and location.

#### revisionInfo

    GenericRevisionInfo revisionInfo

General information about the revision.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentConfigRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentConfigName

    String deploymentConfigName

The name of a deployment configuration associated with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentConfigInfo

    DeploymentConfigInfo deploymentConfigInfo

Information about the deployment configuration.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupName

    String deploymentGroupName

The name of an existing deployment group for the specified application.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentGroupInfo

    DeploymentGroupInfo deploymentGroupInfo

Information about the deployment group.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentInstanceRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

The unique ID of a deployment.

#### instanceId

    String instanceId

The unique ID of an instance in the deployment group.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instanceSummary

    InstanceSummary instanceSummary

Information about the instance.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

A deployment ID associated with the applicable IAM user or AWS account.

### Class com.amazonaws.services.codedeploy.model.GetDeploymentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentInfo

    DeploymentInfo deploymentInfo

Information about the deployment.

### Class com.amazonaws.services.codedeploy.model.GetOnPremisesInstanceRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### instanceName

    String instanceName

The name of the on-premises instance about which to get information.

### Class com.amazonaws.services.codedeploy.model.GetOnPremisesInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instanceInfo

    InstanceInfo instanceInfo

Information about the on-premises instance.

### Class com.amazonaws.services.codedeploy.model.GitHubLocation extends Object implements Serializable

### Serialized Fields

#### repository

    String repository

The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.

Specified as account/repository.

#### commitId

    String commitId

The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.

### Class com.amazonaws.services.codedeploy.model.IamUserArnAlreadyRegisteredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.IamUserArnRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceIdRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceInfo extends Object implements Serializable

### Serialized Fields

#### instanceName

    String instanceName

The name of the on-premises instance.

#### iamUserArn

    String iamUserArn

The IAM user ARN associated with the on-premises instance.

#### instanceArn

    String instanceArn

The ARN of the on-premises instance.

#### registerTime

    Date registerTime

The time at which the on-premises instance was registered.

#### deregisterTime

    Date deregisterTime

If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.

#### tags

    com.amazonaws.internal.SdkInternalList<T> tags

The tags currently associated with the on-premises instance.

### Class com.amazonaws.services.codedeploy.model.InstanceLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceNameAlreadyRegisteredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceNameRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceNotRegisteredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InstanceSummary extends Object implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

The deployment ID.

#### instanceId

    String instanceId

The instance ID.

#### status

    String status

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.

#### lastUpdatedAt

    Date lastUpdatedAt

A timestamp indicating when the instance information was last updated.

#### lifecycleEvents

    com.amazonaws.internal.SdkInternalList<T> lifecycleEvents

A list of lifecycle events for this instance.

### Class com.amazonaws.services.codedeploy.model.InvalidAlarmConfigException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidApplicationNameException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidAutoRollbackConfigException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidAutoScalingGroupException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidBucketNameFilterException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidDeployedStateFilterException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidDeploymentConfigNameException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidDeploymentGroupNameException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidDeploymentIdException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidDeploymentStatusException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidEC2TagException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidIamUserArnException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidInstanceNameException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidInstanceStatusException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidKeyPrefixFilterException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidMinimumHealthyHostValueException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidNextTokenException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidOperationException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidRegistrationStatusException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidRevisionException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidRoleException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidSortByException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidSortOrderException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidTagException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidTagFilterException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidTimeRangeException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.InvalidTriggerConfigException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.LifecycleEvent extends Object implements Serializable

### Serialized Fields

#### lifecycleEventName

    String lifecycleEventName

The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

#### diagnostics

    Diagnostics diagnostics

Diagnostic information about the deployment lifecycle event.

#### startTime

    Date startTime

A timestamp indicating when the deployment lifecycle event started.

#### endTime

    Date endTime

A timestamp indicating when the deployment lifecycle event ended.

#### status

    String status

The deployment lifecycle event status:

- Pending: The deployment lifecycle event is pending.

- InProgress: The deployment lifecycle event is in progress.

- Succeeded: The deployment lifecycle event ran successfully.

- Failed: The deployment lifecycle event has failed.

- Skipped: The deployment lifecycle event has been skipped.

- Unknown: The deployment lifecycle event is unknown.

### Class com.amazonaws.services.codedeploy.model.LifecycleHookLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.ListApplicationRevisionsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### sortBy

    String sortBy

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.

#### sortOrder

    String sortOrder

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.

#### s3Bucket

    String s3Bucket

An Amazon S3 bucket name to limit the search for revisions.

If set to null, all of the user's buckets will be searched.

#### s3KeyPrefix

    String s3KeyPrefix

A key prefix for the set of Amazon S3 objects to limit the search for revisions.

#### deployed

    String deployed

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.

#### nextToken

    String nextToken

An identifier returned from the previous list application revisions call. It can be used to return the next set of applications in the list.

### Class com.amazonaws.services.codedeploy.model.ListApplicationRevisionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### revisions

    com.amazonaws.internal.SdkInternalList<T> revisions

A list of locations that contain the matching revisions.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListApplicationsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### nextToken

    String nextToken

An identifier returned from the previous list applications call. It can be used to return the next set of applications in the list.

### Class com.amazonaws.services.codedeploy.model.ListApplicationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applications

    com.amazonaws.internal.SdkInternalList<T> applications

A list of application names.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentConfigsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentConfigsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deploymentConfigsList

    com.amazonaws.internal.SdkInternalList<T> deploymentConfigsList

A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentGroupsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The application name.

#### deploymentGroups

    com.amazonaws.internal.SdkInternalList<T> deploymentGroups

A list of corresponding deployment group names.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

The unique ID of a deployment.

#### nextToken

    String nextToken

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.

#### instanceStatusFilter

    com.amazonaws.internal.SdkInternalList<T> instanceStatusFilter

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instancesList

    com.amazonaws.internal.SdkInternalList<T> instancesList

A list of instance IDs.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### deploymentGroupName

    String deploymentGroupName

The name of an existing deployment group for the specified application.

#### includeOnlyStatuses

    com.amazonaws.internal.SdkInternalList<T> includeOnlyStatuses

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.

#### createTimeRange

    TimeRange createTimeRange

A time range (start and end) for returning a subset of the list of deployments.

#### nextToken

    String nextToken

An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.

### Class com.amazonaws.services.codedeploy.model.ListDeploymentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### deployments

    com.amazonaws.internal.SdkInternalList<T> deployments

A list of deployment IDs.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### registrationStatus

    String registrationStatus

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.

#### tagFilters

    com.amazonaws.internal.SdkInternalList<T> tagFilters

The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.ListOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### instanceNames

    com.amazonaws.internal.SdkInternalList<T> instanceNames

The list of matching on-premises instance names.

#### nextToken

    String nextToken

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.

### Class com.amazonaws.services.codedeploy.model.MinimumHealthyHosts extends Object implements Serializable

### Serialized Fields

#### value

    Integer value

The minimum healthy instance value.

#### type

    String type

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.

<note>

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.

</note>

### Class com.amazonaws.services.codedeploy.model.RegisterApplicationRevisionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

#### description

    String description

A comment about the revision.

#### revision

    RevisionLocation revision

Information about the application revision to register, including type and location.

### Class com.amazonaws.services.codedeploy.model.RegisterApplicationRevisionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.RegisterOnPremisesInstanceRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### instanceName

    String instanceName

The name of the on-premises instance to register.

#### iamUserArn

    String iamUserArn

The ARN of the IAM user to associate with the on-premises instance.

### Class com.amazonaws.services.codedeploy.model.RegisterOnPremisesInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.RemoveTagsFromOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### tags

    com.amazonaws.internal.SdkInternalList<T> tags

The tag key-value pairs to remove from the on-premises instances.

#### instanceNames

    com.amazonaws.internal.SdkInternalList<T> instanceNames

The names of the on-premises instances from which to remove tags.

### Class com.amazonaws.services.codedeploy.model.RemoveTagsFromOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.RevisionDoesNotExistException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.RevisionInfo extends Object implements Serializable

### Serialized Fields

#### revisionLocation

    RevisionLocation revisionLocation

#### genericRevisionInfo

    GenericRevisionInfo genericRevisionInfo

### Class com.amazonaws.services.codedeploy.model.RevisionLocation extends Object implements Serializable

### Serialized Fields

#### revisionType

    String revisionType

The type of application revision:

- S3: An application revision stored in Amazon S3.

- GitHub: An application revision stored in GitHub.

#### s3Location

    S3Location s3Location

#### gitHubLocation

    GitHubLocation gitHubLocation

### Class com.amazonaws.services.codedeploy.model.RevisionRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.RoleRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.RollbackInfo extends Object implements Serializable

### Serialized Fields

#### rollbackDeploymentId

    String rollbackDeploymentId

The ID of the deployment rollback.

#### rollbackTriggeringDeploymentId

    String rollbackTriggeringDeploymentId

The deployment ID of the deployment that was underway and triggered a rollback deployment because it failed or was stopped.

#### rollbackMessage

    String rollbackMessage

Information describing the status of a deployment rollback; for example, whether the deployment can't be rolled back, is in progress, failed, or succeeded.

### Class com.amazonaws.services.codedeploy.model.S3Location extends Object implements Serializable

### Serialized Fields

#### bucket

    String bucket

The name of the Amazon S3 bucket where the application revision is stored.

#### key

    String key

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

#### bundleType

    String bundleType

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.

#### version

    String version

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.

#### eTag

    String eTag

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.

### Class com.amazonaws.services.codedeploy.model.StopDeploymentRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### deploymentId

    String deploymentId

The unique ID of a deployment.

#### autoRollbackEnabled

    Boolean autoRollbackEnabled

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

### Class com.amazonaws.services.codedeploy.model.StopDeploymentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### status

    String status

The status of the stop deployment operation:

- Pending: The stop operation is pending.

- Succeeded: The stop operation was successful.

#### statusMessage

    String statusMessage

An accompanying status message.

### Class com.amazonaws.services.codedeploy.model.Tag extends Object implements Serializable

### Serialized Fields

#### key

    String key

The tag's key.

#### value

    String value

The tag's value.

### Class com.amazonaws.services.codedeploy.model.TagFilter extends Object implements Serializable

### Serialized Fields

#### key

    String key

The on-premises instance tag filter key.

#### value

    String value

The on-premises instance tag filter value.

#### type

    String type

The on-premises instance tag filter type:

- KEY_ONLY: Key only.

- VALUE_ONLY: Value only.

- KEY_AND_VALUE: Key and value.

### Class com.amazonaws.services.codedeploy.model.TagLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.TagRequiredException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.TimeRange extends Object implements Serializable

### Serialized Fields

#### start

    Date start

The start time of the time range.

<note>

Specify null to leave the start time open-ended.

</note>

#### end

    Date end

The end time of the time range.

<note>

Specify null to leave the end time open-ended.

</note>

### Class com.amazonaws.services.codedeploy.model.TriggerConfig extends Object implements Serializable

### Serialized Fields

#### triggerName

    String triggerName

The name of the notification trigger.

#### triggerTargetArn

    String triggerTargetArn

The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.

#### triggerEvents

    com.amazonaws.internal.SdkInternalList<T> triggerEvents

The event type or types for which notifications are triggered.

### Class com.amazonaws.services.codedeploy.model.TriggerTargetsLimitExceededException extends AmazonCodeDeployException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.codedeploy.model.UpdateApplicationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The current name of the application you want to change.

#### newApplicationName

    String newApplicationName

The new name to give the application.

### Class com.amazonaws.services.codedeploy.model.UpdateApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.codedeploy.model.UpdateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### applicationName

    String applicationName

The application name corresponding to the deployment group to update.

#### currentDeploymentGroupName

    String currentDeploymentGroupName

The current name of the deployment group.

#### newDeploymentGroupName

    String newDeploymentGroupName

The new name of the deployment group, if you want to change it.

#### deploymentConfigName

    String deploymentConfigName

The replacement deployment configuration name to use, if you want to change it.

#### ec2TagFilters

    com.amazonaws.internal.SdkInternalList<T> ec2TagFilters

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.

#### onPremisesInstanceTagFilters

    com.amazonaws.internal.SdkInternalList<T> onPremisesInstanceTagFilters

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.

#### autoScalingGroups

    com.amazonaws.internal.SdkInternalList<T> autoScalingGroups

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.

#### serviceRoleArn

    String serviceRoleArn

A replacement ARN for the service role, if you want to change it.

#### triggerConfigurations

    com.amazonaws.internal.SdkInternalList<T> triggerConfigurations

Information about triggers to change when the deployment group is updated. For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group in the AWS CodeDeploy User Guide.

#### alarmConfiguration

    AlarmConfiguration alarmConfiguration

Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.

#### autoRollbackConfiguration

    AutoRollbackConfiguration autoRollbackConfiguration

Information for an automatic rollback configuration that is added or changed when a deployment group is updated.

### Class com.amazonaws.services.codedeploy.model.UpdateDeploymentGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### hooksNotCleanedUp

    com.amazonaws.internal.SdkInternalList<T> hooksNotCleanedUp

If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS account.