@aws-sdk/client-cloudfront ListDistributionsCommand returns incorrect "HttpVersion" value #6605
Open
3 tasks done
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Checkboxes for prior research
Describe the bug
I am working on integrating the Cloudfront service with our internal system.
However, I found that the ListDistributionsCommand returns the incorrect "HttpVersion" value.
It returns "HTTP2and3" instead of "http2and3".
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.9.0
Reproduction Steps
@aws-sdk/client-cloudfront
to send aListDistributionsCommand
request. Check the response to reproduce the bug.Observed Behavior
This is what I got from aws server:
Expected Behavior
The value of the "HttpVersion" field should be "http2and3" instead of "HTTP2and3".
This value is incorrect because it does not align with two things:
/node_modules/@aws-sdk/client-cloudfront/dist-types/models/models_0.d.ts
GetDistributionCommand
returns (it returns the right value "http2and3")Possible Solution
No response
Additional Information/Context
For reference purpose, this is what defined in
/node_modules/@aws-sdk/client-cloudfront/dist-types/models/models_0.d.ts
:The text was updated successfully, but these errors were encountered: