@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidParameterValueException extends AWSLambdaException
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. You will also get this exception if you have selected a deprecated runtime, such
as Node v0.10.42.
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()
|
void |
setType(String type)
|
InvalidParameterValueException |
withType(String type)
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidParameterValueException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public InvalidParameterValueException withType(String type)
type
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.