Skip to content

Lambda  >  Structures  >  EnvironmentResponse

EnvironmentResponse

Structure Class

EnvironmentResponse dataclass

The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.

Attributes

error class-attribute instance-attribute
error: EnvironmentError | None = None

Error messages for environment variables that couldn't be applied.

variables class-attribute instance-attribute
variables: dict[str, str] | None = field(repr=False, default=None)

Environment variable key-value pairs. Omitted from CloudTrail logs.