Class EC2ThrottledException

  • All Implemented Interfaces:
    Serializable

    public class EC2ThrottledException
    extends AmazonServiceException

    AWS Lambda was throttled by Amazon EC2 during Lambda function initiatization using the execution role provided for the Lambda function.

    See Also:
    Serialized Form
    • Constructor Detail

      • EC2ThrottledException

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

      • setType

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

        public String getType()
        Returns:
      • withType

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