public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description |
|---|
AccessDenied
Resource access denied by the underlying application/HttpStatus 403 from Application.
|
ClientError
Specifies error is due to client or HttpStatus 4XX from Application.
|
InvalidArgument
Invalid arguments provided as input/HttpStatus 400/413 from application/Bad Request exception from Application.
|
InvalidCredentials
Credentials were rejected by the underlying application/HttpStatus 401 from Application.
|
PartialWriteFailure
Specifies that the connector encountered failure, for some records, while writing to the application.
|
RateLimitExceeded
Request got rejected by the underlying application due to rate limit violation/HttpStatus 429 from Application.
|
RequestTimeout
The request to the underlying application timed out/HttpStatus 408 from Application/
HttpClient timeout while sending request.
|
ResourceNotFoundError
Specifies that the connector is unable to find resource like AWS SecretManagerARN etc.
|
ServerError
Specifies error is due to Application or HttpStatus 5XX from Application.
|
ServiceUnavailable
Application is not available to serve the requests at the moment/HttpStatus 503 from Application.
|
UnknownError
Unknown Error from the Application.
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
valueOf(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.
|
public static final ErrorCode InvalidArgument
public static final ErrorCode InvalidCredentials
public static final ErrorCode AccessDenied
public static final ErrorCode RequestTimeout
public static final ErrorCode RateLimitExceeded
public static final ErrorCode ServiceUnavailable
public static final ErrorCode ClientError
public static final ErrorCode ServerError
public static final ErrorCode UnknownError
public static final ErrorCode PartialWriteFailure
public static final ErrorCode ResourceNotFoundError
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021–2022 Amazon Web Services. All rights reserved.