

# EnvironmentResponse
<a name="API_EnvironmentResponse"></a>

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.

## Contents
<a name="API_EnvironmentResponse_Contents"></a>

 ** Error **   <a name="lambda-Type-EnvironmentResponse-Error"></a>
Error messages for environment variables that couldn't be applied.  
Type: [EnvironmentError](API_EnvironmentError.md) object  
Required: No

 ** Variables **   <a name="lambda-Type-EnvironmentResponse-Variables"></a>
Environment variable key-value pairs. Omitted from Amazon CloudTrail logs.  
Type: String to string map  
Key Pattern: `[a-zA-Z]([a-zA-Z0-9_])+`   
Required: No

## See Also
<a name="API_EnvironmentResponse_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/lambda-2015-03-31/EnvironmentResponse) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/lambda-2015-03-31/EnvironmentResponse) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/lambda-2015-03-31/EnvironmentResponse) 