aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

Enum values for `VpcEndpoint.State` doesn't match the values that `DescribeVpcEndpoints` returns

Open wjam opened this issue 5 years ago • 12 comments

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug The enum values for the State field in ec2.VpcEndpoint (StatePendingAcceptance, StatePending, StateAvailable, StateDeleting, StateRejected, StateFailed & StateExpired) don't match the actual values returned when performing DescribeVpcEndpoints. The returned value has the first character is always lower case but the enum values in this SDK has them as uppercase.

Version of AWS SDK for Go? v1.27.1, although the problem still exists in master

Version of Go (go version)? N/A

To Reproduce (observed behavior) Perform ec2:DescribeVpcEndpoints and observe the values of the State attribute returned in the response. See if those values match the enum values in State...

Expected behavior The State... enum values should match what is returned by DescribeVpcEndpoints, just like the InstanceLifecycleType enum matches the value returned for the InstanceLifecycle attribute in the ec2:DescribeInstances

Additional context

wjam avatar Sep 23 '20 08:09 wjam

Hi, Sorry for the lack of response here, you are right I can reproduce this inconsistency.

KaibaLopez avatar Aug 25 '21 23:08 KaibaLopez

This is an issue with the service not correctly modeling and using the enum values they have modeled. This is evident in a captured wire dump of the response. Transferring to aws-sdk repository for further follow-up.

skmcgrail avatar Aug 26 '21 21:08 skmcgrail

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

github-actions[bot] avatar Aug 11 '22 06:08 github-actions[bot]

This has still not yet been addressed

wjam avatar Aug 11 '22 07:08 wjam

P70319347

vudh1 avatar Aug 19 '22 23:08 vudh1

Contacted service team requesting for an update. Awaiting response.

ashishdhingra avatar Mar 27 '24 19:03 ashishdhingra

Pinged service team again for update. Awaiting response.

ashishdhingra avatar May 29 '24 19:05 ashishdhingra

Contacted service team requesting for an update. Awaiting response.

ashishdhingra avatar Jul 31 '24 21:07 ashishdhingra

Contacted service team requesting for an update. Awaiting response.

ashishdhingra avatar Aug 28 '24 17:08 ashishdhingra

Any updates?

moredure avatar Aug 04 '25 23:08 moredure