public class EC2ThrottledException extends AmazonServiceException
AWS Lambda was throttled by Amazon EC2 during Lambda function initiatization using the execution role provided for the Lambda function.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
EC2ThrottledException(String message)
Constructs a new EC2ThrottledException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
void |
setType(String type) |
EC2ThrottledException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EC2ThrottledException(String message)
message - Describes the error encountered.public void setType(String type)
type - public String getType()
public EC2ThrottledException withType(String type)
type - Copyright © 2016. All rights reserved.