You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} [opts.baseURL=process.env['ANTHROPIC_BEDROCK_BASE_URL'] ?? https://bedrock-runtime.${this.awsRegion}.amazonaws.com] - Override the default base URL for the API.
38
42
* @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
39
-
* @param {number} [opts.httpAgent] - An HTTP agent used to manage HTTP(s) connections.
40
-
* @param {Core.Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
43
+
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
44
+
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
41
45
* @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
42
-
* @param {Core.Headers} opts.defaultHeaders - Default headers to include with every request to the API.
43
-
* @param {Core.DefaultQuery} opts.defaultQuery - Default query parameters to include with every request to the API.
46
+
* @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
47
+
* @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
48
+
* @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
0 commit comments