Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- software.amazon.awssdk.services.codedeploy.model.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorCode>
@Generated("software.amazon.awssdk:codegen") public enum ErrorCode extends Enum<ErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorCodefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ErrorCode>knownValues()StringtoString()static ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGENT_ISSUE
public static final ErrorCode AGENT_ISSUE
-
ALARM_ACTIVE
public static final ErrorCode ALARM_ACTIVE
-
APPLICATION_MISSING
public static final ErrorCode APPLICATION_MISSING
-
AUTOSCALING_VALIDATION_ERROR
public static final ErrorCode AUTOSCALING_VALIDATION_ERROR
-
AUTO_SCALING_CONFIGURATION
public static final ErrorCode AUTO_SCALING_CONFIGURATION
-
AUTO_SCALING_IAM_ROLE_PERMISSIONS
public static final ErrorCode AUTO_SCALING_IAM_ROLE_PERMISSIONS
-
CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND
public static final ErrorCode CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND
-
CUSTOMER_APPLICATION_UNHEALTHY
public static final ErrorCode CUSTOMER_APPLICATION_UNHEALTHY
-
DEPLOYMENT_GROUP_MISSING
public static final ErrorCode DEPLOYMENT_GROUP_MISSING
-
ECS_UPDATE_ERROR
public static final ErrorCode ECS_UPDATE_ERROR
-
ELASTIC_LOAD_BALANCING_INVALID
public static final ErrorCode ELASTIC_LOAD_BALANCING_INVALID
-
ELB_INVALID_INSTANCE
public static final ErrorCode ELB_INVALID_INSTANCE
-
HEALTH_CONSTRAINTS
public static final ErrorCode HEALTH_CONSTRAINTS
-
HEALTH_CONSTRAINTS_INVALID
public static final ErrorCode HEALTH_CONSTRAINTS_INVALID
-
HOOK_EXECUTION_FAILURE
public static final ErrorCode HOOK_EXECUTION_FAILURE
-
IAM_ROLE_MISSING
public static final ErrorCode IAM_ROLE_MISSING
-
IAM_ROLE_PERMISSIONS
public static final ErrorCode IAM_ROLE_PERMISSIONS
-
INTERNAL_ERROR
public static final ErrorCode INTERNAL_ERROR
-
INVALID_ECS_SERVICE
public static final ErrorCode INVALID_ECS_SERVICE
-
INVALID_LAMBDA_CONFIGURATION
public static final ErrorCode INVALID_LAMBDA_CONFIGURATION
-
INVALID_LAMBDA_FUNCTION
public static final ErrorCode INVALID_LAMBDA_FUNCTION
-
INVALID_REVISION
public static final ErrorCode INVALID_REVISION
-
MANUAL_STOP
public static final ErrorCode MANUAL_STOP
-
MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION
public static final ErrorCode MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION
-
MISSING_ELB_INFORMATION
public static final ErrorCode MISSING_ELB_INFORMATION
-
MISSING_GITHUB_TOKEN
public static final ErrorCode MISSING_GITHUB_TOKEN
-
NO_EC2_SUBSCRIPTION
public static final ErrorCode NO_EC2_SUBSCRIPTION
-
NO_INSTANCES
public static final ErrorCode NO_INSTANCES
-
OVER_MAX_INSTANCES
public static final ErrorCode OVER_MAX_INSTANCES
-
RESOURCE_LIMIT_EXCEEDED
public static final ErrorCode RESOURCE_LIMIT_EXCEEDED
-
REVISION_MISSING
public static final ErrorCode REVISION_MISSING
-
THROTTLED
public static final ErrorCode THROTTLED
-
TIMEOUT
public static final ErrorCode TIMEOUT
-
CLOUDFORMATION_STACK_FAILURE
public static final ErrorCode CLOUDFORMATION_STACK_FAILURE
-
UNKNOWN_TO_SDK_VERSION
public static final ErrorCode UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorCode c : ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static ErrorCode fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- ErrorCode corresponding to the value
-
-