@aws-sdk/client-opensearch 3.42.0 → 3.47.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.
- package/CHANGELOG.md +51 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +10 -70
- package/dist-cjs/protocols/Aws_restJson1.js +17 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +4 -44
- package/dist-es/protocols/Aws_restJson1.js +18 -3
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/OpenSearchClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +39 -66
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +20 -44
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
10
10
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
@@ -147,6 +147,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
147
147
|
* @internal
|
|
148
148
|
*/
|
|
149
149
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
150
|
+
/**
|
|
151
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
|
+
*/
|
|
153
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
150
154
|
}
|
|
151
155
|
declare type OpenSearchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
152
156
|
/**
|
|
@@ -162,12 +162,6 @@ export interface DisabledOperationException extends __SmithyException, $Metadata
|
|
|
162
162
|
*/
|
|
163
163
|
message?: string;
|
|
164
164
|
}
|
|
165
|
-
export declare namespace DisabledOperationException {
|
|
166
|
-
/**
|
|
167
|
-
* @internal
|
|
168
|
-
*/
|
|
169
|
-
const filterSensitiveLog: (obj: DisabledOperationException) => any;
|
|
170
|
-
}
|
|
171
165
|
/**
|
|
172
166
|
* <p>An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.</p>
|
|
173
167
|
*/
|
|
@@ -179,12 +173,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
179
173
|
*/
|
|
180
174
|
message?: string;
|
|
181
175
|
}
|
|
182
|
-
export declare namespace LimitExceededException {
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
187
|
-
}
|
|
188
176
|
/**
|
|
189
177
|
* <p>An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.</p>
|
|
190
178
|
*/
|
|
@@ -196,12 +184,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
196
184
|
*/
|
|
197
185
|
message?: string;
|
|
198
186
|
}
|
|
199
|
-
export declare namespace ResourceNotFoundException {
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
204
|
-
}
|
|
205
187
|
/**
|
|
206
188
|
* <p>An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.</p>
|
|
207
189
|
*/
|
|
@@ -213,12 +195,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
213
195
|
*/
|
|
214
196
|
message?: string;
|
|
215
197
|
}
|
|
216
|
-
export declare namespace AccessDeniedException {
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
220
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
221
|
-
}
|
|
222
198
|
export declare enum OptionState {
|
|
223
199
|
Active = "Active",
|
|
224
200
|
Processing = "Processing",
|
|
@@ -400,12 +376,6 @@ export interface BaseException extends __SmithyException, $MetadataBearer {
|
|
|
400
376
|
*/
|
|
401
377
|
message?: string;
|
|
402
378
|
}
|
|
403
|
-
export declare namespace BaseException {
|
|
404
|
-
/**
|
|
405
|
-
* @internal
|
|
406
|
-
*/
|
|
407
|
-
const filterSensitiveLog: (obj: BaseException) => any;
|
|
408
|
-
}
|
|
409
379
|
/**
|
|
410
380
|
* <p>The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.</p>
|
|
411
381
|
*/
|
|
@@ -417,12 +387,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
|
417
387
|
*/
|
|
418
388
|
message?: string;
|
|
419
389
|
}
|
|
420
|
-
export declare namespace InternalException {
|
|
421
|
-
/**
|
|
422
|
-
* @internal
|
|
423
|
-
*/
|
|
424
|
-
const filterSensitiveLog: (obj: InternalException) => any;
|
|
425
|
-
}
|
|
426
390
|
/**
|
|
427
391
|
* <p>An exception for missing / invalid input fields. Gives http status code of 400.</p>
|
|
428
392
|
*/
|
|
@@ -434,12 +398,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
434
398
|
*/
|
|
435
399
|
message?: string;
|
|
436
400
|
}
|
|
437
|
-
export declare namespace ValidationException {
|
|
438
|
-
/**
|
|
439
|
-
* @internal
|
|
440
|
-
*/
|
|
441
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
442
|
-
}
|
|
443
401
|
/**
|
|
444
402
|
* <p>Status of the advanced options for the specified domain. Currently, the following advanced options
|
|
445
403
|
* are available:
|
|
@@ -545,6 +503,14 @@ export interface AdvancedSecurityOptions {
|
|
|
545
503
|
* <p>Describes the SAML application configured for a domain.</p>
|
|
546
504
|
*/
|
|
547
505
|
SAMLOptions?: SAMLOptionsOutput;
|
|
506
|
+
/**
|
|
507
|
+
* <p>Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.</p>
|
|
508
|
+
*/
|
|
509
|
+
AnonymousAuthDisableDate?: Date;
|
|
510
|
+
/**
|
|
511
|
+
* <p>True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.</p>
|
|
512
|
+
*/
|
|
513
|
+
AnonymousAuthEnabled?: boolean;
|
|
548
514
|
}
|
|
549
515
|
export declare namespace AdvancedSecurityOptions {
|
|
550
516
|
/**
|
|
@@ -639,6 +605,10 @@ export interface AdvancedSecurityOptionsInput {
|
|
|
639
605
|
* <p>The SAML application configuration for the domain.</p>
|
|
640
606
|
*/
|
|
641
607
|
SAMLOptions?: SAMLOptionsInput;
|
|
608
|
+
/**
|
|
609
|
+
* <p>True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.</p>
|
|
610
|
+
*/
|
|
611
|
+
AnonymousAuthEnabled?: boolean;
|
|
642
612
|
}
|
|
643
613
|
export declare namespace AdvancedSecurityOptionsInput {
|
|
644
614
|
/**
|
|
@@ -790,12 +760,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
790
760
|
*/
|
|
791
761
|
message?: string;
|
|
792
762
|
}
|
|
793
|
-
export declare namespace ConflictException {
|
|
794
|
-
/**
|
|
795
|
-
* @internal
|
|
796
|
-
*/
|
|
797
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
798
|
-
}
|
|
799
763
|
/**
|
|
800
764
|
* <p>Container for the parameters to the
|
|
801
765
|
* <code>
|
|
@@ -1719,12 +1683,6 @@ export interface InvalidTypeException extends __SmithyException, $MetadataBearer
|
|
|
1719
1683
|
*/
|
|
1720
1684
|
message?: string;
|
|
1721
1685
|
}
|
|
1722
|
-
export declare namespace InvalidTypeException {
|
|
1723
|
-
/**
|
|
1724
|
-
* @internal
|
|
1725
|
-
*/
|
|
1726
|
-
const filterSensitiveLog: (obj: InvalidTypeException) => any;
|
|
1727
|
-
}
|
|
1728
1686
|
/**
|
|
1729
1687
|
* <p>An exception for creating a resource that already exists. Gives http status code of 400.</p>
|
|
1730
1688
|
*/
|
|
@@ -1736,12 +1694,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
|
|
|
1736
1694
|
*/
|
|
1737
1695
|
message?: string;
|
|
1738
1696
|
}
|
|
1739
|
-
export declare namespace ResourceAlreadyExistsException {
|
|
1740
|
-
/**
|
|
1741
|
-
* @internal
|
|
1742
|
-
*/
|
|
1743
|
-
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
1744
|
-
}
|
|
1745
1697
|
/**
|
|
1746
1698
|
* <p>Container for the parameters to the
|
|
1747
1699
|
* <code>
|
|
@@ -2943,12 +2895,6 @@ export interface InvalidPaginationTokenException extends __SmithyException, $Met
|
|
|
2943
2895
|
*/
|
|
2944
2896
|
message?: string;
|
|
2945
2897
|
}
|
|
2946
|
-
export declare namespace InvalidPaginationTokenException {
|
|
2947
|
-
/**
|
|
2948
|
-
* @internal
|
|
2949
|
-
*/
|
|
2950
|
-
const filterSensitiveLog: (obj: InvalidPaginationTokenException) => any;
|
|
2951
|
-
}
|
|
2952
2898
|
/**
|
|
2953
2899
|
* <p>
|
|
2954
2900
|
* Container for the parameters to the
|
|
@@ -4616,6 +4562,10 @@ export interface UpdateDomainConfigRequest {
|
|
|
4616
4562
|
* <p>Specifies Auto-Tune options.</p>
|
|
4617
4563
|
*/
|
|
4618
4564
|
AutoTuneOptions?: AutoTuneOptions;
|
|
4565
|
+
/**
|
|
4566
|
+
* <p>This flag, when set to True, specifies whether the <code>UpdateDomain</code> request should return the results of validation checks (DryRunResults) without actually applying the change.</p>
|
|
4567
|
+
*/
|
|
4568
|
+
DryRun?: boolean;
|
|
4619
4569
|
}
|
|
4620
4570
|
export declare namespace UpdateDomainConfigRequest {
|
|
4621
4571
|
/**
|
|
@@ -4623,6 +4573,25 @@ export declare namespace UpdateDomainConfigRequest {
|
|
|
4623
4573
|
*/
|
|
4624
4574
|
const filterSensitiveLog: (obj: UpdateDomainConfigRequest) => any;
|
|
4625
4575
|
}
|
|
4576
|
+
export interface DryRunResults {
|
|
4577
|
+
/**
|
|
4578
|
+
* <p>
|
|
4579
|
+
* Specifies the way in which Amazon OpenSearch Service applies the update.
|
|
4580
|
+
* Possible responses are <code>Blue/Green</code> (the update requires a blue/green deployment), <code>DynamicUpdate</code> (no blue/green required), <code>Undetermined</code> (the domain is undergoing an update and can't predict the deployment type; try again after the update is complete), and <code>None</code> (the request doesn't include any configuration changes).
|
|
4581
|
+
* </p>
|
|
4582
|
+
*/
|
|
4583
|
+
DeploymentType?: string;
|
|
4584
|
+
/**
|
|
4585
|
+
* <p>Contains an optional message associated with the DryRunResults.</p>
|
|
4586
|
+
*/
|
|
4587
|
+
Message?: string;
|
|
4588
|
+
}
|
|
4589
|
+
export declare namespace DryRunResults {
|
|
4590
|
+
/**
|
|
4591
|
+
* @internal
|
|
4592
|
+
*/
|
|
4593
|
+
const filterSensitiveLog: (obj: DryRunResults) => any;
|
|
4594
|
+
}
|
|
4626
4595
|
/**
|
|
4627
4596
|
* <p>The result of an <code>UpdateDomain</code> request. Contains the status of the domain
|
|
4628
4597
|
* being updated.
|
|
@@ -4633,6 +4602,10 @@ export interface UpdateDomainConfigResponse {
|
|
|
4633
4602
|
* <p>The status of the updated domain.</p>
|
|
4634
4603
|
*/
|
|
4635
4604
|
DomainConfig: DomainConfig | undefined;
|
|
4605
|
+
/**
|
|
4606
|
+
* <p>Contains result of DryRun. </p>
|
|
4607
|
+
*/
|
|
4608
|
+
DryRunResults?: DryRunResults;
|
|
4636
4609
|
}
|
|
4637
4610
|
export declare namespace UpdateDomainConfigResponse {
|
|
4638
4611
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { OpenSearchClientConfig } from "./OpenSearchClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { OpenSearchClientConfig } from "./OpenSearchClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
10
10
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
@@ -90,6 +90,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
90
90
|
regionInfoProvider?: RegionInfoProvider;
|
|
91
91
|
|
|
92
92
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
93
|
+
|
|
94
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
93
95
|
}
|
|
94
96
|
declare type OpenSearchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
95
97
|
|
|
@@ -77,10 +77,6 @@ export interface DisabledOperationException extends __SmithyException, $Metadata
|
|
|
77
77
|
|
|
78
78
|
message?: string;
|
|
79
79
|
}
|
|
80
|
-
export declare namespace DisabledOperationException {
|
|
81
|
-
|
|
82
|
-
const filterSensitiveLog: (obj: DisabledOperationException) => any;
|
|
83
|
-
}
|
|
84
80
|
|
|
85
81
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
86
82
|
name: "LimitExceededException";
|
|
@@ -88,10 +84,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
88
84
|
|
|
89
85
|
message?: string;
|
|
90
86
|
}
|
|
91
|
-
export declare namespace LimitExceededException {
|
|
92
|
-
|
|
93
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
94
|
-
}
|
|
95
87
|
|
|
96
88
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
97
89
|
name: "ResourceNotFoundException";
|
|
@@ -99,10 +91,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
99
91
|
|
|
100
92
|
message?: string;
|
|
101
93
|
}
|
|
102
|
-
export declare namespace ResourceNotFoundException {
|
|
103
|
-
|
|
104
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
105
|
-
}
|
|
106
94
|
|
|
107
95
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
108
96
|
name: "AccessDeniedException";
|
|
@@ -110,10 +98,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
110
98
|
|
|
111
99
|
message?: string;
|
|
112
100
|
}
|
|
113
|
-
export declare namespace AccessDeniedException {
|
|
114
|
-
|
|
115
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
116
|
-
}
|
|
117
101
|
export declare enum OptionState {
|
|
118
102
|
Active = "Active",
|
|
119
103
|
Processing = "Processing",
|
|
@@ -187,10 +171,6 @@ export interface BaseException extends __SmithyException, $MetadataBearer {
|
|
|
187
171
|
|
|
188
172
|
message?: string;
|
|
189
173
|
}
|
|
190
|
-
export declare namespace BaseException {
|
|
191
|
-
|
|
192
|
-
const filterSensitiveLog: (obj: BaseException) => any;
|
|
193
|
-
}
|
|
194
174
|
|
|
195
175
|
export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
196
176
|
name: "InternalException";
|
|
@@ -198,10 +178,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
|
198
178
|
|
|
199
179
|
message?: string;
|
|
200
180
|
}
|
|
201
|
-
export declare namespace InternalException {
|
|
202
|
-
|
|
203
|
-
const filterSensitiveLog: (obj: InternalException) => any;
|
|
204
|
-
}
|
|
205
181
|
|
|
206
182
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
207
183
|
name: "ValidationException";
|
|
@@ -209,10 +185,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
209
185
|
|
|
210
186
|
message?: string;
|
|
211
187
|
}
|
|
212
|
-
export declare namespace ValidationException {
|
|
213
|
-
|
|
214
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
215
|
-
}
|
|
216
188
|
|
|
217
189
|
export interface AdvancedOptionsStatus {
|
|
218
190
|
|
|
@@ -262,6 +234,10 @@ export interface AdvancedSecurityOptions {
|
|
|
262
234
|
InternalUserDatabaseEnabled?: boolean;
|
|
263
235
|
|
|
264
236
|
SAMLOptions?: SAMLOptionsOutput;
|
|
237
|
+
|
|
238
|
+
AnonymousAuthDisableDate?: Date;
|
|
239
|
+
|
|
240
|
+
AnonymousAuthEnabled?: boolean;
|
|
265
241
|
}
|
|
266
242
|
export declare namespace AdvancedSecurityOptions {
|
|
267
243
|
|
|
@@ -311,6 +287,8 @@ export interface AdvancedSecurityOptionsInput {
|
|
|
311
287
|
MasterUserOptions?: MasterUserOptions;
|
|
312
288
|
|
|
313
289
|
SAMLOptions?: SAMLOptionsInput;
|
|
290
|
+
|
|
291
|
+
AnonymousAuthEnabled?: boolean;
|
|
314
292
|
}
|
|
315
293
|
export declare namespace AdvancedSecurityOptionsInput {
|
|
316
294
|
|
|
@@ -396,10 +374,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
396
374
|
|
|
397
375
|
message?: string;
|
|
398
376
|
}
|
|
399
|
-
export declare namespace ConflictException {
|
|
400
|
-
|
|
401
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
402
|
-
}
|
|
403
377
|
|
|
404
378
|
export interface CancelServiceSoftwareUpdateRequest {
|
|
405
379
|
|
|
@@ -907,10 +881,6 @@ export interface InvalidTypeException extends __SmithyException, $MetadataBearer
|
|
|
907
881
|
|
|
908
882
|
message?: string;
|
|
909
883
|
}
|
|
910
|
-
export declare namespace InvalidTypeException {
|
|
911
|
-
|
|
912
|
-
const filterSensitiveLog: (obj: InvalidTypeException) => any;
|
|
913
|
-
}
|
|
914
884
|
|
|
915
885
|
export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
916
886
|
name: "ResourceAlreadyExistsException";
|
|
@@ -918,10 +888,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
|
|
|
918
888
|
|
|
919
889
|
message?: string;
|
|
920
890
|
}
|
|
921
|
-
export declare namespace ResourceAlreadyExistsException {
|
|
922
|
-
|
|
923
|
-
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
924
|
-
}
|
|
925
891
|
|
|
926
892
|
export interface CreateOutboundConnectionRequest {
|
|
927
893
|
|
|
@@ -1493,10 +1459,6 @@ export interface InvalidPaginationTokenException extends __SmithyException, $Met
|
|
|
1493
1459
|
|
|
1494
1460
|
message?: string;
|
|
1495
1461
|
}
|
|
1496
|
-
export declare namespace InvalidPaginationTokenException {
|
|
1497
|
-
|
|
1498
|
-
const filterSensitiveLog: (obj: InvalidPaginationTokenException) => any;
|
|
1499
|
-
}
|
|
1500
1462
|
|
|
1501
1463
|
export interface DescribeInstanceTypeLimitsRequest {
|
|
1502
1464
|
|
|
@@ -2194,15 +2156,29 @@ export interface UpdateDomainConfigRequest {
|
|
|
2194
2156
|
AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
|
|
2195
2157
|
|
|
2196
2158
|
AutoTuneOptions?: AutoTuneOptions;
|
|
2159
|
+
|
|
2160
|
+
DryRun?: boolean;
|
|
2197
2161
|
}
|
|
2198
2162
|
export declare namespace UpdateDomainConfigRequest {
|
|
2199
2163
|
|
|
2200
2164
|
const filterSensitiveLog: (obj: UpdateDomainConfigRequest) => any;
|
|
2201
2165
|
}
|
|
2166
|
+
export interface DryRunResults {
|
|
2167
|
+
|
|
2168
|
+
DeploymentType?: string;
|
|
2169
|
+
|
|
2170
|
+
Message?: string;
|
|
2171
|
+
}
|
|
2172
|
+
export declare namespace DryRunResults {
|
|
2173
|
+
|
|
2174
|
+
const filterSensitiveLog: (obj: DryRunResults) => any;
|
|
2175
|
+
}
|
|
2202
2176
|
|
|
2203
2177
|
export interface UpdateDomainConfigResponse {
|
|
2204
2178
|
|
|
2205
2179
|
DomainConfig: DomainConfig | undefined;
|
|
2180
|
+
|
|
2181
|
+
DryRunResults?: DryRunResults;
|
|
2206
2182
|
}
|
|
2207
2183
|
export declare namespace UpdateDomainConfigResponse {
|
|
2208
2184
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { OpenSearchClientConfig } from "./OpenSearchClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { OpenSearchClientConfig } from "./OpenSearchClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|