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 CreateFunction
or
the UpdateFunctionConfiguration
API, that AWS Lambda is unable
to assume you will get this exception.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.lang.String |
type |
Constructor and Description |
---|
InvalidParameterValueException(java.lang.String message)
Constructs a new InvalidParameterValueException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType() |
void |
setType(java.lang.String type) |
InvalidParameterValueException |
withType(java.lang.String type) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String type
public InvalidParameterValueException(java.lang.String message)
message
- Describes the error encountered.public void setType(java.lang.String type)
type
- public java.lang.String getType()
public InvalidParameterValueException withType(java.lang.String type)
type
-