Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update NodeHttpHandler link #6239

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This list is indexed by [v2 config parameters](https://docs.aws.amazon.com/AWSJa

A set of options to pass to the low-level HTTP request. These options are aggregated differently in v3. You can
configure them by supplying a new `requestHandler`. Here's the example of setting http options in Node.js runtime. You
can find more in [v3 reference for NodeHttpHandler](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/classes/_aws_sdk_node_http_handler.nodehttphandler-1.html).
can find more in [v3 reference for NodeHttpHandler](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-node-http-handler/).

All v3 requests use HTTPS by default. You only need to provide custom httpsAgent.

Expand Down Expand Up @@ -112,10 +112,10 @@ This list is indexed by [v2 config parameters](https://docs.aws.amazon.com/AWSJa
- `connectTimeout`
- **v2**: Sets the socket to timeout after failing to establish a connection with the server after connectTimeout
milliseconds.
- **v3**: `connectionTimeout` is available [in `NodeHttpHandler` options](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/classes/_aws_sdk_node_http_handler.nodehttphandler-1.html).
- **v3**: `connectionTimeout` is available [in `NodeHttpHandler` options](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-node-http-handler/).
- `timeout`
- **v2**: The number of milliseconds a request can take before automatically being terminated.
- **v3**: `socketTimeout` is available [in `NodeHttpHandler` options](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/classes/_aws_sdk_node_http_handler.nodehttphandler-1.html).
- **v3**: `socketTimeout` is available [in `NodeHttpHandler` options](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-node-http-handler/).
- `xhrAsync`
- **v2**: Whether the SDK will send asynchronous HTTP requests.
- **v3**: **Deprecated**. Requests are _always_ asynchronous.
Expand Down