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| 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterValueException(String message)
message - Describes the error encountered.public void setType(String type)
type - public String getType()
public InvalidParameterValueException withType(String type)
type - Copyright © 2016. All rights reserved.