@aws-sdk/types 3.267.0 → 3.271.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,9 +45,16 @@ export interface HostResolverArguments {
45
45
  */
46
46
  export interface HostResolver {
47
47
  /**
48
- * Resolves the address(es) for {@link HostResolverArguments}. Calls to this
49
- * function will likely alter the cache (if implemented) so that if there's
50
- * multiple addresses, a different set will be returned on the next call.
48
+ * Resolves the address(es) for {@link HostResolverArguments} and returns a
49
+ * list of addresses with (most likely) two addresses, one {@link HostAddressType.AAAA}
50
+ * and one {@link HostAddressType.A}. Calls to this function will likely alter
51
+ * the cache (if implemented) so that if there's multiple addresses, a different
52
+ * set will be returned on the next call.
53
+ * In the case of multi-answer, still only a maximum of two records should be
54
+ * returned. The resolver implementation is responsible for caching and rotation
55
+ * of the multiple addresses that get returned.
56
+ * Implementations don't have to explictly call getaddrinfo(), they can use
57
+ * high level abstractions provided in their language runtimes/libraries.
51
58
  * @param args arguments with host name query addresses for
52
59
  * @returns promise with a list of {@link HostAddress}
53
60
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.267.0",
3
+ "version": "3.271.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",