public class TooManyRequestsException extends AmazonServiceException
The request throughput limit was exceeded.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
TooManyRequestsException(java.lang.String message)
Constructs a new TooManyRequestsException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReason()
Returns the value of the reason property for this object.
|
java.lang.String |
getRetryAfterSeconds()
The number of seconds the caller should wait before retrying.
|
java.lang.String |
getType()
Returns the value of the type property for this object.
|
void |
setReason(java.lang.String reason)
Sets the value of reason
|
void |
setRetryAfterSeconds(java.lang.String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
|
void |
setType(java.lang.String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryablepublic TooManyRequestsException(java.lang.String message)
message - Describes the error encountered.public java.lang.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(java.lang.String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
retryAfterSeconds - The number of seconds the caller should wait before retrying.
public java.lang.String getType()
public void setType(java.lang.String type)
type - The new value for the type property for this object.public java.lang.String getReason()
Constraints:
Allowed Values: ConcurrentInvocationLimitExceeded,
FunctionInvocationRateLimitExceeded,
ReservedFunctionConcurrentInvocationLimitExceeded,
ReservedFunctionInvocationRateLimitExceeded, CallerRateLimitExceeded
ThrottleReasonpublic void setReason(java.lang.String reason)
Constraints:
Allowed Values: ConcurrentInvocationLimitExceeded,
FunctionInvocationRateLimitExceeded,
ReservedFunctionConcurrentInvocationLimitExceeded,
ReservedFunctionInvocationRateLimitExceeded, CallerRateLimitExceeded
reason - The new value for the reason property for this object.ThrottleReasonCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.