JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lambda.model

Class KMSInvalidStateException

  • All Implemented Interfaces:
    Serializable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class KMSInvalidStateException
    extends AWSLambdaException 

    Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

    See Also:
    Serialized Form
    • Constructor Detail

      • KMSInvalidStateException

        public KMSInvalidStateException(String message)
        Constructs a new KMSInvalidStateException 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 KMSInvalidStateException withType(String type)
        Parameters:
        type -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /