Class InvalidParameterValueException

All Implemented Interfaces:
Serializable

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.

See Also:
  • Constructor Details

    • InvalidParameterValueException

      public InvalidParameterValueException(String message)
      Constructs a new InvalidParameterValueException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • setType

      public void setType(String type)
      Parameters:
      type -
    • getType

      public String getType()
      Returns:
    • withType

      public InvalidParameterValueException withType(String type)
      Parameters:
      type -
      Returns:
      Returns a reference to this object so that method calls can be chained together.