@aws-sdk/client-opensearch 3.39.0 → 3.43.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +150 -9
  3. package/dist-cjs/models/models_0.js +7 -1
  4. package/dist-cjs/protocols/Aws_restJson1.js +11 -0
  5. package/dist-cjs/runtimeConfig.browser.js +6 -3
  6. package/dist-cjs/runtimeConfig.js +5 -3
  7. package/dist-es/endpoints.js +150 -9
  8. package/dist-es/models/models_0.js +4 -0
  9. package/dist-es/protocols/Aws_restJson1.js +12 -2
  10. package/dist-es/runtimeConfig.browser.js +3 -2
  11. package/dist-es/runtimeConfig.js +3 -3
  12. package/dist-types/OpenSearchClient.d.ts +8 -0
  13. package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +1 -1
  14. package/dist-types/commands/AddTagsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssociatePackageCommand.d.ts +1 -1
  16. package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +1 -1
  19. package/dist-types/commands/CreatePackageCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +1 -1
  23. package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeDomainsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribePackagesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  34. package/dist-types/commands/DissociatePackageCommand.d.ts +1 -1
  35. package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +1 -1
  36. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +1 -1
  37. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +1 -1
  38. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +1 -1
  39. package/dist-types/commands/ListDomainNamesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +1 -1
  41. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
  44. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
  45. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -1
  46. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  47. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  50. package/dist-types/commands/UpgradeDomainCommand.d.ts +1 -1
  51. package/dist-types/models/models_0.d.ts +27 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  53. package/dist-types/runtimeConfig.d.ts +2 -0
  54. package/dist-types/runtimeConfig.native.d.ts +2 -0
  55. package/dist-types/ts3.4/OpenSearchClient.d.ts +4 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +14 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  60. package/package.json +23 -23
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
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
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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
21
  };
@@ -115,6 +115,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
115
115
  * Optional logger for logging debug/info/warn/error.
116
116
  */
117
117
  logger?: __Logger;
118
+ /**
119
+ * Enables IPv6/IPv4 dualstack endpoint.
120
+ */
121
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
122
+ /**
123
+ * Enables FIPS compatible endpoints.
124
+ */
125
+ useFipsEndpoint?: boolean | __Provider<boolean>;
118
126
  /**
119
127
  * Unique service identifier.
120
128
  * @internal
@@ -20,7 +20,7 @@ export interface AcceptInboundConnectionCommandOutput extends AcceptInboundConne
20
20
  *
21
21
  * @see {@link AcceptInboundConnectionCommandInput} for command's `input` shape.
22
22
  * @see {@link AcceptInboundConnectionCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class AcceptInboundConnectionCommand extends $Command<AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface AddTagsCommandOutput extends __MetadataBearer {
24
24
  *
25
25
  * @see {@link AddTagsCommandInput} for command's `input` shape.
26
26
  * @see {@link AddTagsCommandOutput} for command's `response` shape.
27
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface AssociatePackageCommandOutput extends AssociatePackageResponse,
20
20
  *
21
21
  * @see {@link AssociatePackageCommandInput} for command's `input` shape.
22
22
  * @see {@link AssociatePackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class AssociatePackageCommand extends $Command<AssociatePackageCommandInput, AssociatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface CancelServiceSoftwareUpdateCommandOutput extends CancelServiceS
22
22
  *
23
23
  * @see {@link CancelServiceSoftwareUpdateCommandInput} for command's `input` shape.
24
24
  * @see {@link CancelServiceSoftwareUpdateCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class CancelServiceSoftwareUpdateCommand extends $Command<CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
23
23
  *
24
24
  * @see {@link CreateDomainCommandInput} for command's `input` shape.
25
25
  * @see {@link CreateDomainCommandOutput} for command's `response` shape.
26
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateOutboundConnectionCommandOutput extends CreateOutboundCon
20
20
  *
21
21
  * @see {@link CreateOutboundConnectionCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateOutboundConnectionCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateOutboundConnectionCommand extends $Command<CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreatePackageCommandOutput extends CreatePackageResponse, __Met
20
20
  *
21
21
  * @see {@link CreatePackageCommandInput} for command's `input` shape.
22
22
  * @see {@link CreatePackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreatePackageCommand extends $Command<CreatePackageCommandInput, CreatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
22
22
  *
23
23
  * @see {@link DeleteDomainCommandInput} for command's `input` shape.
24
24
  * @see {@link DeleteDomainCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DeleteDomainCommand extends $Command<DeleteDomainCommandInput, DeleteDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteInboundConnectionCommandOutput extends DeleteInboundConne
20
20
  *
21
21
  * @see {@link DeleteInboundConnectionCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteInboundConnectionCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteInboundConnectionCommand extends $Command<DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteOutboundConnectionCommandOutput extends DeleteOutboundCon
20
20
  *
21
21
  * @see {@link DeleteOutboundConnectionCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteOutboundConnectionCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteOutboundConnectionCommand extends $Command<DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResponse, __Met
20
20
  *
21
21
  * @see {@link DeletePackageCommandInput} for command's `input` shape.
22
22
  * @see {@link DeletePackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeletePackageCommand extends $Command<DeletePackageCommandInput, DeletePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DescribeDomainAutoTunesCommandOutput extends DescribeDomainAuto
22
22
  *
23
23
  * @see {@link DescribeDomainAutoTunesCommandInput} for command's `input` shape.
24
24
  * @see {@link DescribeDomainAutoTunesCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DescribeDomainAutoTunesCommand extends $Command<DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
22
22
  *
23
23
  * @see {@link DescribeDomainCommandInput} for command's `input` shape.
24
24
  * @see {@link DescribeDomainCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DescribeDomainCommand extends $Command<DescribeDomainCommandInput, DescribeDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
22
22
  *
23
23
  * @see {@link DescribeDomainConfigCommandInput} for command's `input` shape.
24
24
  * @see {@link DescribeDomainConfigCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DescribeDomainConfigCommand extends $Command<DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
22
22
  *
23
23
  * @see {@link DescribeDomainsCommandInput} for command's `input` shape.
24
24
  * @see {@link DescribeDomainsCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DescribeDomainsCommand extends $Command<DescribeDomainsCommandInput, DescribeDomainsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeInboundConnectionsCommandOutput extends DescribeInbound
20
20
  *
21
21
  * @see {@link DescribeInboundConnectionsCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeInboundConnectionsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeInboundConnectionsCommand extends $Command<DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface DescribeInstanceTypeLimitsCommandOutput extends DescribeInstanc
27
27
  *
28
28
  * @see {@link DescribeInstanceTypeLimitsCommandInput} for command's `input` shape.
29
29
  * @see {@link DescribeInstanceTypeLimitsCommandOutput} for command's `response` shape.
30
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class DescribeInstanceTypeLimitsCommand extends $Command<DescribeInstanceTypeLimitsCommandInput, DescribeInstanceTypeLimitsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeOutboundConnectionsCommandOutput extends DescribeOutbou
20
20
  *
21
21
  * @see {@link DescribeOutboundConnectionsCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeOutboundConnectionsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeOutboundConnectionsCommand extends $Command<DescribeOutboundConnectionsCommandInput, DescribeOutboundConnectionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DescribePackagesCommandOutput extends DescribePackagesResponse,
22
22
  *
23
23
  * @see {@link DescribePackagesCommandInput} for command's `input` shape.
24
24
  * @see {@link DescribePackagesCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DescribePackagesCommand extends $Command<DescribePackagesCommandInput, DescribePackagesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeReservedInstanceOfferingsCommandOutput extends Describe
20
20
  *
21
21
  * @see {@link DescribeReservedInstanceOfferingsCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeReservedInstanceOfferingsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeReservedInstanceOfferingsCommand extends $Command<DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstanceOfferingsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
20
20
  *
21
21
  * @see {@link DescribeReservedInstancesCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeReservedInstancesCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeReservedInstancesCommand extends $Command<DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DissociatePackageCommandOutput extends DissociatePackageRespons
20
20
  *
21
21
  * @see {@link DissociatePackageCommandInput} for command's `input` shape.
22
22
  * @see {@link DissociatePackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DissociatePackageCommand extends $Command<DissociatePackageCommandInput, DissociatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface GetCompatibleVersionsCommandOutput extends GetCompatibleVersion
27
27
  *
28
28
  * @see {@link GetCompatibleVersionsCommandInput} for command's `input` shape.
29
29
  * @see {@link GetCompatibleVersionsCommandOutput} for command's `response` shape.
30
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class GetCompatibleVersionsCommand extends $Command<GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
20
20
  *
21
21
  * @see {@link GetPackageVersionHistoryCommandInput} for command's `input` shape.
22
22
  * @see {@link GetPackageVersionHistoryCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetPackageVersionHistoryCommand extends $Command<GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetUpgradeHistoryCommandOutput extends GetUpgradeHistoryRespons
20
20
  *
21
21
  * @see {@link GetUpgradeHistoryCommandInput} for command's `input` shape.
22
22
  * @see {@link GetUpgradeHistoryCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetUpgradeHistoryCommand extends $Command<GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput, OpenSearchClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface GetUpgradeStatusCommandOutput extends GetUpgradeStatusResponse,
21
21
  *
22
22
  * @see {@link GetUpgradeStatusCommandInput} for command's `input` shape.
23
23
  * @see {@link GetUpgradeStatusCommandOutput} for command's `response` shape.
24
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class GetUpgradeStatusCommand extends $Command<GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
20
20
  *
21
21
  * @see {@link ListDomainNamesCommandInput} for command's `input` shape.
22
22
  * @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListDomainNamesCommand extends $Command<ListDomainNamesCommandInput, ListDomainNamesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackag
20
20
  *
21
21
  * @see {@link ListDomainsForPackageCommandInput} for command's `input` shape.
22
22
  * @see {@link ListDomainsForPackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListDomainsForPackageCommand extends $Command<ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomai
20
20
  *
21
21
  * @see {@link ListPackagesForDomainCommandInput} for command's `input` shape.
22
22
  * @see {@link ListPackagesForDomainCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListPackagesForDomainCommand extends $Command<ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
20
20
  *
21
21
  * @see {@link ListTagsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListTagsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListVersionsCommandOutput extends ListVersionsResponse, __Metad
20
20
  *
21
21
  * @see {@link ListVersionsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListVersionsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListVersionsCommand extends $Command<ListVersionsCommandInput, ListVersionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface PurchaseReservedInstanceOfferingCommandOutput extends PurchaseR
20
20
  *
21
21
  * @see {@link PurchaseReservedInstanceOfferingCommandInput} for command's `input` shape.
22
22
  * @see {@link PurchaseReservedInstanceOfferingCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class PurchaseReservedInstanceOfferingCommand extends $Command<PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface RejectInboundConnectionCommandOutput extends RejectInboundConne
20
20
  *
21
21
  * @see {@link RejectInboundConnectionCommandInput} for command's `input` shape.
22
22
  * @see {@link RejectInboundConnectionCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class RejectInboundConnectionCommand extends $Command<RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface RemoveTagsCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link RemoveTagsCommandInput} for command's `input` shape.
22
22
  * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class RemoveTagsCommand extends $Command<RemoveTagsCommandInput, RemoveTagsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface StartServiceSoftwareUpdateCommandOutput extends StartServiceSof
20
20
  *
21
21
  * @see {@link StartServiceSoftwareUpdateCommandInput} for command's `input` shape.
22
22
  * @see {@link StartServiceSoftwareUpdateCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class StartServiceSoftwareUpdateCommand extends $Command<StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
22
22
  *
23
23
  * @see {@link UpdateDomainConfigCommandInput} for command's `input` shape.
24
24
  * @see {@link UpdateDomainConfigCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class UpdateDomainConfigCommand extends $Command<UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput, OpenSearchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
20
20
  *
21
21
  * @see {@link UpdatePackageCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdatePackageCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdatePackageCommand extends $Command<UpdatePackageCommandInput, UpdatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface UpgradeDomainCommandOutput extends UpgradeDomainResponse, __Met
21
21
  *
22
22
  * @see {@link UpgradeDomainCommandInput} for command's `input` shape.
23
23
  * @see {@link UpgradeDomainCommandOutput} for command's `response` shape.
24
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class UpgradeDomainCommand extends $Command<UpgradeDomainCommandInput, UpgradeDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -4616,6 +4616,10 @@ export interface UpdateDomainConfigRequest {
4616
4616
  * <p>Specifies Auto-Tune options.</p>
4617
4617
  */
4618
4618
  AutoTuneOptions?: AutoTuneOptions;
4619
+ /**
4620
+ * <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>
4621
+ */
4622
+ DryRun?: boolean;
4619
4623
  }
4620
4624
  export declare namespace UpdateDomainConfigRequest {
4621
4625
  /**
@@ -4623,6 +4627,25 @@ export declare namespace UpdateDomainConfigRequest {
4623
4627
  */
4624
4628
  const filterSensitiveLog: (obj: UpdateDomainConfigRequest) => any;
4625
4629
  }
4630
+ export interface DryRunResults {
4631
+ /**
4632
+ * <p>
4633
+ * Specifies the way in which Amazon OpenSearch Service applies the update.
4634
+ * 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).
4635
+ * </p>
4636
+ */
4637
+ DeploymentType?: string;
4638
+ /**
4639
+ * <p>Contains an optional message associated with the DryRunResults.</p>
4640
+ */
4641
+ Message?: string;
4642
+ }
4643
+ export declare namespace DryRunResults {
4644
+ /**
4645
+ * @internal
4646
+ */
4647
+ const filterSensitiveLog: (obj: DryRunResults) => any;
4648
+ }
4626
4649
  /**
4627
4650
  * <p>The result of an <code>UpdateDomain</code> request. Contains the status of the domain
4628
4651
  * being updated.
@@ -4633,6 +4656,10 @@ export interface UpdateDomainConfigResponse {
4633
4656
  * <p>The status of the updated domain.</p>
4634
4657
  */
4635
4658
  DomainConfig: DomainConfig | undefined;
4659
+ /**
4660
+ * <p>Contains result of DryRun. </p>
4661
+ */
4662
+ DryRunResults?: DryRunResults;
4636
4663
  }
4637
4664
  export declare namespace UpdateDomainConfigResponse {
4638
4665
  /**
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
18
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
20
  logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
23
  serviceId: string;
22
24
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -77,6 +77,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
77
77
 
78
78
  logger?: __Logger;
79
79
 
80
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
81
+
82
+ useFipsEndpoint?: boolean | __Provider<boolean>;
83
+
80
84
  serviceId?: string;
81
85
 
82
86
  region?: string | __Provider<string>;
@@ -2194,15 +2194,29 @@ export interface UpdateDomainConfigRequest {
2194
2194
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
2195
2195
 
2196
2196
  AutoTuneOptions?: AutoTuneOptions;
2197
+
2198
+ DryRun?: boolean;
2197
2199
  }
2198
2200
  export declare namespace UpdateDomainConfigRequest {
2199
2201
 
2200
2202
  const filterSensitiveLog: (obj: UpdateDomainConfigRequest) => any;
2201
2203
  }
2204
+ export interface DryRunResults {
2205
+
2206
+ DeploymentType?: string;
2207
+
2208
+ Message?: string;
2209
+ }
2210
+ export declare namespace DryRunResults {
2211
+
2212
+ const filterSensitiveLog: (obj: DryRunResults) => any;
2213
+ }
2202
2214
 
2203
2215
  export interface UpdateDomainConfigResponse {
2204
2216
 
2205
2217
  DomainConfig: DomainConfig | undefined;
2218
+
2219
+ DryRunResults?: DryRunResults;
2206
2220
  }
2207
2221
  export declare namespace UpdateDomainConfigResponse {
2208
2222
 
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
16
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  serviceId: string;
20
22
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
21
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;