Enum HandlerErrorCode
java.lang.Object
java.lang.Enum<HandlerErrorCode>
software.amazon.cloudformation.proxy.HandlerErrorCode
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HandlerErrorCode>
,java.lang.constant.Constable
public enum HandlerErrorCode extends java.lang.Enum<HandlerErrorCode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description AccessDenied
the customer has insufficient permissions to perform this action (Terminal)AlreadyExists
the specified resource already existed prior to the execution of the handler.GeneralServiceException
an exception from the downstream service that does not map to any other error codes (Terminal)InternalFailure
an unexpected error occurred within the handler, such as an NPE, etc.InvalidCredentials
the customer's provided credentials were invalid (Terminal)InvalidRequest
a generic exception caused by invalid input from the customer (Terminal)NetworkFailure
the request was unable to be completed due to networking issues, such as failure to receive a response from the server (Retriable)NotFound
the specified resource does not exist, or is in a terminal, inoperable, and irrecoverable state (Terminal)NotStabilized
the downstream resource failed to complete all of its ready state checks (Retriable)NotUpdatable
the customer tried perform an update to a property that is CreateOnly.ResourceConflict
the resource is temporarily unable to be acted upon; for example, if the resource is currently undergoing an operation and cannot be acted upon until that operation is finished (Retriable)ServiceInternalError
the downstream service returned an internal error, typically with a 5XX HTTP Status code (Retriable)ServiceLimitExceeded
a non-transient resource limit was reached on the service side (Terminal)Throttling
the request was throttled by the downstream service (Retriable) -
Method Summary
Modifier and Type Method Description static HandlerErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HandlerErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
NotUpdatable
the customer tried perform an update to a property that is CreateOnly. Only applicable to Update Handler (Terminal) -
InvalidRequest
a generic exception caused by invalid input from the customer (Terminal) -
AccessDenied
the customer has insufficient permissions to perform this action (Terminal) -
InvalidCredentials
the customer's provided credentials were invalid (Terminal) -
AlreadyExists
the specified resource already existed prior to the execution of the handler. Only applicable to Create Handler (Terminal) Handlers MUST return this error when duplicate creation requests are received. -
NotFound
the specified resource does not exist, or is in a terminal, inoperable, and irrecoverable state (Terminal) -
ResourceConflict
the resource is temporarily unable to be acted upon; for example, if the resource is currently undergoing an operation and cannot be acted upon until that operation is finished (Retriable) -
Throttling
the request was throttled by the downstream service (Retriable) -
ServiceLimitExceeded
a non-transient resource limit was reached on the service side (Terminal) -
NotStabilized
the downstream resource failed to complete all of its ready state checks (Retriable) -
GeneralServiceException
an exception from the downstream service that does not map to any other error codes (Terminal) -
ServiceInternalError
the downstream service returned an internal error, typically with a 5XX HTTP Status code (Retriable) -
NetworkFailure
the request was unable to be completed due to networking issues, such as failure to receive a response from the server (Retriable) -
InternalFailure
an unexpected error occurred within the handler, such as an NPE, etc. (Terminal)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-