LastError - Amazon Elastic Compute Cloud
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 13, 2026.

LastError

The last error that occurred for a VPC endpoint.

Contents

code

The error code for the VPC endpoint error.

Type: String

Required: No

message

The error message for the VPC endpoint error.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: