AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Information about a deployment error.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.ErrorInformation

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class ErrorInformation : Object

The ErrorInformation type exposes the following members

Constructors

NameDescription
Public Method ErrorInformation()

Properties

NameTypeDescription
Public Property Code Amazon.CodeDeploy.ErrorCode Gets and sets the property Code.

The error code:

  • APPLICATION_MISSING: The application was missing. Note that this error code will most likely be raised if the application is deleted after the deployment is created but before it starts.
  • DEPLOYMENT_GROUP_MISSING: The deployment group was missing. Note that this error code will most likely be raised if the deployment group is deleted after the deployment is created but before it starts.
  • HEALTH_CONSTRAINTS: The deployment failed on too many instances to be able to successfully deploy within the specified instance health constraints.
  • HEALTH_CONSTRAINTS_INVALID: The revision can never successfully deploy within the instance health constraints as 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 instances were specified, or no instances can be found.
  • OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
  • THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more AWS services.
  • TIMEOUT: The deployment has timed out.
  • REVISION_MISSING: The revision ID was missing. Note that this error code will most likely be raised if the revision is deleted after the deployment is created but before it starts.
Public Property Message System.String Gets and sets the property Message.

An accompanying error message.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5