aws-sdk-js icon indicating copy to clipboard operation
aws-sdk-js copied to clipboard

CloudFront.getDistribution returns uppercase value for HttpVersion

Open iann0036 opened this issue 6 years ago • 9 comments

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

Describe the bug CloudFront getDistribution returns uppercase value for HttpVersion, docs show this should be impossible and state the possible values are "http1.1" or "http2".

Is the issue in the browser/Node.js? Both

If on Node.js, are you running this on AWS Lambda? N/A

Details of the browser/Node.js version N/A

SDK version number 2.569

To Reproduce (observed behavior) Create a HTTP2 CloudFront distribution and call getDistribution on it. The response will show "HTTP2".

Expected behavior The response should be "http2" as per the docs.

Screenshots N/A

Additional context Discovered via https://github.com/iann0036/former2/issues/32

iann0036 avatar Nov 16 '19 00:11 iann0036

Hey @iann0036,

Thank-you for reaching out to us with your issue, can you please confirm how you are using the create distribution? Do you specify the httpVersion in it?

ajredniwja avatar Nov 18 '19 20:11 ajredniwja

Hi @ajredniwja

The one I tested with was created in the console, however I doubt the way it was created would make a difference.

iann0036 avatar Nov 19 '19 04:11 iann0036

Hey @iann0036

I wanted to check if it happens when you use SDK to make a request however this is not necessarily a bug with the SDK since SDK returns the response that is provided by the service team.

I can reach out to the service team and update you once I hear back from them.

ajredniwja avatar Nov 22 '19 20:11 ajredniwja

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

github-actions[bot] avatar Nov 22 '20 00:11 github-actions[bot]

Bump. Awaiting response from service team.

iann0036 avatar Nov 22 '20 00:11 iann0036

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

github-actions[bot] avatar Nov 24 '21 00:11 github-actions[bot]

Bump. Awaiting response from service team.

ianmckay-vha avatar Nov 24 '21 00:11 ianmckay-vha

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

github-actions[bot] avatar Nov 25 '22 00:11 github-actions[bot]

Bump. Awaiting response from service team.

iann0036 avatar Nov 25 '22 01:11 iann0036

Apologies for the prolonged delay in responding. Upon further investigation, it appears that the observed behavior is related to the CloudFront service rather than the AWS SDK. Since the service team has been notified about this issue and there are no outstanding action items for the SDK team, I will proceed with closing this issue. However, please feel free to reach out directly to the service team via AWS Support if you need further assistance.

aBurmeseDev avatar Aug 21 '24 01:08 aBurmeseDev