public class InvalidParameterValueException extends AmazonServiceException
One of the parameters in the request is invalid. For example, if you
provided an IAM role for AWS Lambda to assume in the
UploadFunction or the
UpdateFunctionConfiguration API, that AWS Lambda is
unable to assume you will get this exception.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidParameterValueException(String message)
Constructs a new InvalidParameterValueException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Returns the value of the Type property for this object.
|
void |
setType(String type)
Sets the value of the Type property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterValueException(String message)
message - Describes the error encountered.public String getType()
public void setType(String type)
type - The new value for this object's Type property.Copyright © 2015. All rights reserved.