public class TooManyRequestsException extends AmazonServiceException
AmazonServiceException.ErrorType| Constructor and Description |
|---|
TooManyRequestsException(String message)
Constructs a new TooManyRequestsException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason()
Returns the value of the reason property for this object.
|
String |
getRetryAfterSeconds()
The number of seconds the caller should wait before retrying.
|
String |
getType()
Returns the value of the type property for this object.
|
void |
setReason(String reason)
Sets the value of reason
|
void |
setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
|
void |
setType(String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TooManyRequestsException(String message)
message - Describes the error encountered.public String getRetryAfterSeconds()
The number of seconds the caller should wait before retrying.
The number of seconds the caller should wait before retrying.
public void setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
retryAfterSeconds - The number of seconds the caller should wait before retrying.
public String getType()
public void setType(String type)
type - The new value for the type property for this object.public String getReason()
Constraints:
Allowed Values: ConcurrentInvocationLimitExceeded,
FunctionInvocationRateLimitExceeded,
ReservedFunctionConcurrentInvocationLimitExceeded,
ReservedFunctionInvocationRateLimitExceeded, CallerRateLimitExceeded
ThrottleReasonpublic void setReason(String reason)
Constraints:
Allowed Values: ConcurrentInvocationLimitExceeded,
FunctionInvocationRateLimitExceeded,
ReservedFunctionConcurrentInvocationLimitExceeded,
ReservedFunctionInvocationRateLimitExceeded, CallerRateLimitExceeded
reason - The new value for the reason property for this object.ThrottleReasonCopyright © 2018. All rights reserved.