@aws-sdk/client-opensearch 3.601.0 → 3.605.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/dist-cjs/index.js +27 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +10 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +11 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +9 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +114 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -109,6 +109,8 @@ __export(src_exports, {
|
|
|
109
109
|
MaintenanceType: () => MaintenanceType,
|
|
110
110
|
MasterNodeStatus: () => MasterNodeStatus,
|
|
111
111
|
MasterUserOptionsFilterSensitiveLog: () => MasterUserOptionsFilterSensitiveLog,
|
|
112
|
+
NaturalLanguageQueryGenerationCurrentState: () => NaturalLanguageQueryGenerationCurrentState,
|
|
113
|
+
NaturalLanguageQueryGenerationDesiredState: () => NaturalLanguageQueryGenerationDesiredState,
|
|
112
114
|
NodeStatus: () => NodeStatus,
|
|
113
115
|
NodeType: () => NodeType,
|
|
114
116
|
OpenSearch: () => OpenSearch,
|
|
@@ -529,6 +531,19 @@ var _ValidationException = class _ValidationException extends OpenSearchServiceE
|
|
|
529
531
|
};
|
|
530
532
|
__name(_ValidationException, "ValidationException");
|
|
531
533
|
var ValidationException = _ValidationException;
|
|
534
|
+
var NaturalLanguageQueryGenerationDesiredState = {
|
|
535
|
+
Disabled: "DISABLED",
|
|
536
|
+
Enabled: "ENABLED"
|
|
537
|
+
};
|
|
538
|
+
var NaturalLanguageQueryGenerationCurrentState = {
|
|
539
|
+
DisableComplete: "DISABLE_COMPLETE",
|
|
540
|
+
DisableFailed: "DISABLE_FAILED",
|
|
541
|
+
DisableInProgress: "DISABLE_IN_PROGRESS",
|
|
542
|
+
EnableComplete: "ENABLE_COMPLETE",
|
|
543
|
+
EnableFailed: "ENABLE_FAILED",
|
|
544
|
+
EnableInProgress: "ENABLE_IN_PROGRESS",
|
|
545
|
+
NotEnabled: "NOT_ENABLED"
|
|
546
|
+
};
|
|
532
547
|
var DomainPackageStatus = {
|
|
533
548
|
ACTIVE: "ACTIVE",
|
|
534
549
|
ASSOCIATING: "ASSOCIATING",
|
|
@@ -1097,6 +1112,7 @@ var se_CreateDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1097
1112
|
let body;
|
|
1098
1113
|
body = JSON.stringify(
|
|
1099
1114
|
(0, import_smithy_client.take)(input, {
|
|
1115
|
+
AIMLOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1100
1116
|
AccessPolicies: [],
|
|
1101
1117
|
AdvancedOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1102
1118
|
AdvancedSecurityOptions: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -1775,6 +1791,7 @@ var se_UpdateDomainConfigCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1775
1791
|
let body;
|
|
1776
1792
|
body = JSON.stringify(
|
|
1777
1793
|
(0, import_smithy_client.take)(input, {
|
|
1794
|
+
AIMLOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1778
1795
|
AccessPolicies: [],
|
|
1779
1796
|
AdvancedOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1780
1797
|
AdvancedSecurityOptions: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -3079,6 +3096,12 @@ var de_AdvancedSecurityOptionsStatus = /* @__PURE__ */ __name((output, context)
|
|
|
3079
3096
|
Status: (_) => de_OptionStatus(_, context)
|
|
3080
3097
|
});
|
|
3081
3098
|
}, "de_AdvancedSecurityOptionsStatus");
|
|
3099
|
+
var de_AIMLOptionsStatus = /* @__PURE__ */ __name((output, context) => {
|
|
3100
|
+
return (0, import_smithy_client.take)(output, {
|
|
3101
|
+
Options: import_smithy_client._json,
|
|
3102
|
+
Status: (_) => de_OptionStatus(_, context)
|
|
3103
|
+
});
|
|
3104
|
+
}, "de_AIMLOptionsStatus");
|
|
3082
3105
|
var de_AutoTune = /* @__PURE__ */ __name((output, context) => {
|
|
3083
3106
|
return (0, import_smithy_client.take)(output, {
|
|
3084
3107
|
AutoTuneDetails: (_) => de_AutoTuneDetails(_, context),
|
|
@@ -3185,6 +3208,7 @@ var de_CognitoOptionsStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
3185
3208
|
}, "de_CognitoOptionsStatus");
|
|
3186
3209
|
var de_DomainConfig = /* @__PURE__ */ __name((output, context) => {
|
|
3187
3210
|
return (0, import_smithy_client.take)(output, {
|
|
3211
|
+
AIMLOptions: (_) => de_AIMLOptionsStatus(_, context),
|
|
3188
3212
|
AccessPolicies: (_) => de_AccessPoliciesStatus(_, context),
|
|
3189
3213
|
AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
|
|
3190
3214
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
|
|
@@ -3251,6 +3275,7 @@ var de_DomainPackageDetailsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3251
3275
|
}, "de_DomainPackageDetailsList");
|
|
3252
3276
|
var de_DomainStatus = /* @__PURE__ */ __name((output, context) => {
|
|
3253
3277
|
return (0, import_smithy_client.take)(output, {
|
|
3278
|
+
AIMLOptions: import_smithy_client._json,
|
|
3254
3279
|
ARN: import_smithy_client.expectString,
|
|
3255
3280
|
AccessPolicies: import_smithy_client.expectString,
|
|
3256
3281
|
AdvancedOptions: import_smithy_client._json,
|
|
@@ -4766,6 +4791,8 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
4766
4791
|
DependencyFailureException,
|
|
4767
4792
|
InternalException,
|
|
4768
4793
|
ValidationException,
|
|
4794
|
+
NaturalLanguageQueryGenerationDesiredState,
|
|
4795
|
+
NaturalLanguageQueryGenerationCurrentState,
|
|
4769
4796
|
DomainPackageStatus,
|
|
4770
4797
|
PackageType,
|
|
4771
4798
|
ConflictException,
|
|
@@ -141,6 +141,19 @@ export class ValidationException extends __BaseException {
|
|
|
141
141
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
+
export const NaturalLanguageQueryGenerationDesiredState = {
|
|
145
|
+
Disabled: "DISABLED",
|
|
146
|
+
Enabled: "ENABLED",
|
|
147
|
+
};
|
|
148
|
+
export const NaturalLanguageQueryGenerationCurrentState = {
|
|
149
|
+
DisableComplete: "DISABLE_COMPLETE",
|
|
150
|
+
DisableFailed: "DISABLE_FAILED",
|
|
151
|
+
DisableInProgress: "DISABLE_IN_PROGRESS",
|
|
152
|
+
EnableComplete: "ENABLE_COMPLETE",
|
|
153
|
+
EnableFailed: "ENABLE_FAILED",
|
|
154
|
+
EnableInProgress: "ENABLE_IN_PROGRESS",
|
|
155
|
+
NotEnabled: "NOT_ENABLED",
|
|
156
|
+
};
|
|
144
157
|
export const DomainPackageStatus = {
|
|
145
158
|
ACTIVE: "ACTIVE",
|
|
146
159
|
ASSOCIATING: "ASSOCIATING",
|
|
@@ -101,6 +101,7 @@ export const se_CreateDomainCommand = async (input, context) => {
|
|
|
101
101
|
b.bp("/2021-01-01/opensearch/domain");
|
|
102
102
|
let body;
|
|
103
103
|
body = JSON.stringify(take(input, {
|
|
104
|
+
AIMLOptions: (_) => _json(_),
|
|
104
105
|
AccessPolicies: [],
|
|
105
106
|
AdvancedOptions: (_) => _json(_),
|
|
106
107
|
AdvancedSecurityOptions: (_) => _json(_),
|
|
@@ -747,6 +748,7 @@ export const se_UpdateDomainConfigCommand = async (input, context) => {
|
|
|
747
748
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
748
749
|
let body;
|
|
749
750
|
body = JSON.stringify(take(input, {
|
|
751
|
+
AIMLOptions: (_) => _json(_),
|
|
750
752
|
AccessPolicies: [],
|
|
751
753
|
AdvancedOptions: (_) => _json(_),
|
|
752
754
|
AdvancedSecurityOptions: (_) => _json(_),
|
|
@@ -2044,6 +2046,12 @@ const de_AdvancedSecurityOptionsStatus = (output, context) => {
|
|
|
2044
2046
|
Status: (_) => de_OptionStatus(_, context),
|
|
2045
2047
|
});
|
|
2046
2048
|
};
|
|
2049
|
+
const de_AIMLOptionsStatus = (output, context) => {
|
|
2050
|
+
return take(output, {
|
|
2051
|
+
Options: _json,
|
|
2052
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
2053
|
+
});
|
|
2054
|
+
};
|
|
2047
2055
|
const de_AutoTune = (output, context) => {
|
|
2048
2056
|
return take(output, {
|
|
2049
2057
|
AutoTuneDetails: (_) => de_AutoTuneDetails(_, context),
|
|
@@ -2156,6 +2164,7 @@ const de_CognitoOptionsStatus = (output, context) => {
|
|
|
2156
2164
|
};
|
|
2157
2165
|
const de_DomainConfig = (output, context) => {
|
|
2158
2166
|
return take(output, {
|
|
2167
|
+
AIMLOptions: (_) => de_AIMLOptionsStatus(_, context),
|
|
2159
2168
|
AccessPolicies: (_) => de_AccessPoliciesStatus(_, context),
|
|
2160
2169
|
AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
|
|
2161
2170
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
|
|
@@ -2226,6 +2235,7 @@ const de_DomainPackageDetailsList = (output, context) => {
|
|
|
2226
2235
|
};
|
|
2227
2236
|
const de_DomainStatus = (output, context) => {
|
|
2228
2237
|
return take(output, {
|
|
2238
|
+
AIMLOptions: _json,
|
|
2229
2239
|
ARN: __expectString,
|
|
2230
2240
|
AccessPolicies: __expectString,
|
|
2231
2241
|
AdvancedOptions: _json,
|
|
@@ -164,6 +164,11 @@ declare const CreateDomainCommand_base: {
|
|
|
164
164
|
* SoftwareUpdateOptions: { // SoftwareUpdateOptions
|
|
165
165
|
* AutoSoftwareUpdateEnabled: true || false,
|
|
166
166
|
* },
|
|
167
|
+
* AIMLOptions: { // AIMLOptionsInput
|
|
168
|
+
* NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
|
|
169
|
+
* DesiredState: "ENABLED" || "DISABLED",
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
167
172
|
* };
|
|
168
173
|
* const command = new CreateDomainCommand(input);
|
|
169
174
|
* const response = await client.send(command);
|
|
@@ -320,6 +325,12 @@ declare const CreateDomainCommand_base: {
|
|
|
320
325
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
321
326
|
* // },
|
|
322
327
|
* // ],
|
|
328
|
+
* // AIMLOptions: { // AIMLOptionsOutput
|
|
329
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
330
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
331
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
332
|
+
* // },
|
|
333
|
+
* // },
|
|
323
334
|
* // },
|
|
324
335
|
* // };
|
|
325
336
|
*
|
|
@@ -193,6 +193,12 @@ declare const DeleteDomainCommand_base: {
|
|
|
193
193
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
194
194
|
* // },
|
|
195
195
|
* // ],
|
|
196
|
+
* // AIMLOptions: { // AIMLOptionsOutput
|
|
197
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
198
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
199
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
200
|
+
* // },
|
|
201
|
+
* // },
|
|
196
202
|
* // },
|
|
197
203
|
* // };
|
|
198
204
|
*
|
|
@@ -193,6 +193,12 @@ declare const DescribeDomainCommand_base: {
|
|
|
193
193
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
194
194
|
* // },
|
|
195
195
|
* // ],
|
|
196
|
+
* // AIMLOptions: { // AIMLOptionsOutput
|
|
197
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
198
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
199
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
200
|
+
* // },
|
|
201
|
+
* // },
|
|
196
202
|
* // },
|
|
197
203
|
* // };
|
|
198
204
|
*
|
|
@@ -266,6 +266,15 @@ declare const DescribeDomainConfigCommand_base: {
|
|
|
266
266
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
267
267
|
* // },
|
|
268
268
|
* // ],
|
|
269
|
+
* // AIMLOptions: { // AIMLOptionsStatus
|
|
270
|
+
* // Options: { // AIMLOptionsOutput
|
|
271
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
272
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
273
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
274
|
+
* // },
|
|
275
|
+
* // },
|
|
276
|
+
* // Status: "<OptionStatus>",
|
|
277
|
+
* // },
|
|
269
278
|
* // },
|
|
270
279
|
* // };
|
|
271
280
|
*
|
|
@@ -196,6 +196,12 @@ declare const DescribeDomainsCommand_base: {
|
|
|
196
196
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
197
197
|
* // },
|
|
198
198
|
* // ],
|
|
199
|
+
* // AIMLOptions: { // AIMLOptionsOutput
|
|
200
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
201
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
202
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
203
|
+
* // },
|
|
204
|
+
* // },
|
|
199
205
|
* // },
|
|
200
206
|
* // ],
|
|
201
207
|
* // };
|
|
@@ -207,6 +207,12 @@ declare const DescribeDryRunProgressCommand_base: {
|
|
|
207
207
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
208
208
|
* // },
|
|
209
209
|
* // ],
|
|
210
|
+
* // AIMLOptions: { // AIMLOptionsOutput
|
|
211
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
212
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
213
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
214
|
+
* // },
|
|
215
|
+
* // },
|
|
210
216
|
* // },
|
|
211
217
|
* // DryRunResults: { // DryRunResults
|
|
212
218
|
* // DeploymentType: "STRING_VALUE",
|
|
@@ -161,6 +161,11 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
161
161
|
* SoftwareUpdateOptions: { // SoftwareUpdateOptions
|
|
162
162
|
* AutoSoftwareUpdateEnabled: true || false,
|
|
163
163
|
* },
|
|
164
|
+
* AIMLOptions: { // AIMLOptionsInput
|
|
165
|
+
* NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
|
|
166
|
+
* DesiredState: "ENABLED" || "DISABLED",
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
164
169
|
* };
|
|
165
170
|
* const command = new UpdateDomainConfigCommand(input);
|
|
166
171
|
* const response = await client.send(command);
|
|
@@ -391,6 +396,15 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
391
396
|
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
392
397
|
* // },
|
|
393
398
|
* // ],
|
|
399
|
+
* // AIMLOptions: { // AIMLOptionsStatus
|
|
400
|
+
* // Options: { // AIMLOptionsOutput
|
|
401
|
+
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
|
|
402
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
403
|
+
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
|
|
404
|
+
* // },
|
|
405
|
+
* // },
|
|
406
|
+
* // Status: "<OptionStatus>",
|
|
407
|
+
* // },
|
|
394
408
|
* // },
|
|
395
409
|
* // DryRunResults: { // DryRunResults
|
|
396
410
|
* // DeploymentType: "STRING_VALUE",
|
|
@@ -828,6 +828,100 @@ export interface AdvancedSecurityOptionsStatus {
|
|
|
828
828
|
*/
|
|
829
829
|
Status: OptionStatus | undefined;
|
|
830
830
|
}
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
* @enum
|
|
834
|
+
*/
|
|
835
|
+
export declare const NaturalLanguageQueryGenerationDesiredState: {
|
|
836
|
+
readonly Disabled: "DISABLED";
|
|
837
|
+
readonly Enabled: "ENABLED";
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
export type NaturalLanguageQueryGenerationDesiredState = (typeof NaturalLanguageQueryGenerationDesiredState)[keyof typeof NaturalLanguageQueryGenerationDesiredState];
|
|
843
|
+
/**
|
|
844
|
+
* <p>Container for parameters required to enable the natural language query generation feature.</p>
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
export interface NaturalLanguageQueryGenerationOptionsInput {
|
|
848
|
+
/**
|
|
849
|
+
* <p>The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.</p>
|
|
850
|
+
* @public
|
|
851
|
+
*/
|
|
852
|
+
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* <p>Container for parameters required to enable all machine learning features.</p>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
export interface AIMLOptionsInput {
|
|
859
|
+
/**
|
|
860
|
+
* <p>Container for parameters required for natural language query generation on the specified domain.</p>
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsInput;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
* @enum
|
|
868
|
+
*/
|
|
869
|
+
export declare const NaturalLanguageQueryGenerationCurrentState: {
|
|
870
|
+
readonly DisableComplete: "DISABLE_COMPLETE";
|
|
871
|
+
readonly DisableFailed: "DISABLE_FAILED";
|
|
872
|
+
readonly DisableInProgress: "DISABLE_IN_PROGRESS";
|
|
873
|
+
readonly EnableComplete: "ENABLE_COMPLETE";
|
|
874
|
+
readonly EnableFailed: "ENABLE_FAILED";
|
|
875
|
+
readonly EnableInProgress: "ENABLE_IN_PROGRESS";
|
|
876
|
+
readonly NotEnabled: "NOT_ENABLED";
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
export type NaturalLanguageQueryGenerationCurrentState = (typeof NaturalLanguageQueryGenerationCurrentState)[keyof typeof NaturalLanguageQueryGenerationCurrentState];
|
|
882
|
+
/**
|
|
883
|
+
* <p>Container for parameters representing the state of the natural language query generation feature on the specified domain.</p>
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
export interface NaturalLanguageQueryGenerationOptionsOutput {
|
|
887
|
+
/**
|
|
888
|
+
* <p>The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.</p>
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
|
|
892
|
+
/**
|
|
893
|
+
* <p>The current state of the natural language query generation feature, indicating completion, in progress, or failure.</p>
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
CurrentState?: NaturalLanguageQueryGenerationCurrentState;
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* <p>Container for parameters representing the state of machine learning features on the specified domain.</p>
|
|
900
|
+
* @public
|
|
901
|
+
*/
|
|
902
|
+
export interface AIMLOptionsOutput {
|
|
903
|
+
/**
|
|
904
|
+
* <p>Container for parameters required for natural language query generation on the specified domain.</p>
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsOutput;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* <p>The status of machine learning options on the specified domain.</p>
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
export interface AIMLOptionsStatus {
|
|
914
|
+
/**
|
|
915
|
+
* <p>Machine learning options on the specified domain.</p>
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
Options?: AIMLOptionsOutput;
|
|
919
|
+
/**
|
|
920
|
+
* <p>Provides the current status of an entity.</p>
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
Status?: OptionStatus;
|
|
924
|
+
}
|
|
831
925
|
/**
|
|
832
926
|
* <p>Container for the request parameters to the <code>AssociatePackage</code> operation.</p>
|
|
833
927
|
* @public
|
|
@@ -1952,6 +2046,11 @@ export interface CreateDomainRequest {
|
|
|
1952
2046
|
* @public
|
|
1953
2047
|
*/
|
|
1954
2048
|
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
2049
|
+
/**
|
|
2050
|
+
* <p>Options for all machine learning features for the specified domain.</p>
|
|
2051
|
+
* @public
|
|
2052
|
+
*/
|
|
2053
|
+
AIMLOptions?: AIMLOptionsInput;
|
|
1955
2054
|
}
|
|
1956
2055
|
/**
|
|
1957
2056
|
* @public
|
|
@@ -2350,6 +2449,11 @@ export interface DomainStatus {
|
|
|
2350
2449
|
* @public
|
|
2351
2450
|
*/
|
|
2352
2451
|
ModifyingProperties?: ModifyingProperties[];
|
|
2452
|
+
/**
|
|
2453
|
+
* <p>Container for parameters required to enable all machine learning features.</p>
|
|
2454
|
+
* @public
|
|
2455
|
+
*/
|
|
2456
|
+
AIMLOptions?: AIMLOptionsOutput;
|
|
2353
2457
|
}
|
|
2354
2458
|
/**
|
|
2355
2459
|
* <p>The result of a <code>CreateDomain</code> operation. Contains the status of the newly
|
|
@@ -3754,6 +3858,11 @@ export interface DomainConfig {
|
|
|
3754
3858
|
* @public
|
|
3755
3859
|
*/
|
|
3756
3860
|
ModifyingProperties?: ModifyingProperties[];
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>Container for parameters required to enable all machine learning features.</p>
|
|
3863
|
+
* @public
|
|
3864
|
+
*/
|
|
3865
|
+
AIMLOptions?: AIMLOptionsStatus;
|
|
3757
3866
|
}
|
|
3758
3867
|
/**
|
|
3759
3868
|
* <p>Contains the configuration information of the requested domain.</p>
|
|
@@ -6428,6 +6537,11 @@ export interface UpdateDomainConfigRequest {
|
|
|
6428
6537
|
* @public
|
|
6429
6538
|
*/
|
|
6430
6539
|
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
6540
|
+
/**
|
|
6541
|
+
* <p>Options for all machine learning features for the specified domain.</p>
|
|
6542
|
+
* @public
|
|
6543
|
+
*/
|
|
6544
|
+
AIMLOptions?: AIMLOptionsInput;
|
|
6431
6545
|
}
|
|
6432
6546
|
/**
|
|
6433
6547
|
* <p>The results of an <code>UpdateDomain</code> request. Contains the status of the domain being
|
|
@@ -237,6 +237,40 @@ export interface AdvancedSecurityOptionsStatus {
|
|
|
237
237
|
Options: AdvancedSecurityOptions | undefined;
|
|
238
238
|
Status: OptionStatus | undefined;
|
|
239
239
|
}
|
|
240
|
+
export declare const NaturalLanguageQueryGenerationDesiredState: {
|
|
241
|
+
readonly Disabled: "DISABLED";
|
|
242
|
+
readonly Enabled: "ENABLED";
|
|
243
|
+
};
|
|
244
|
+
export type NaturalLanguageQueryGenerationDesiredState =
|
|
245
|
+
(typeof NaturalLanguageQueryGenerationDesiredState)[keyof typeof NaturalLanguageQueryGenerationDesiredState];
|
|
246
|
+
export interface NaturalLanguageQueryGenerationOptionsInput {
|
|
247
|
+
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
|
|
248
|
+
}
|
|
249
|
+
export interface AIMLOptionsInput {
|
|
250
|
+
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsInput;
|
|
251
|
+
}
|
|
252
|
+
export declare const NaturalLanguageQueryGenerationCurrentState: {
|
|
253
|
+
readonly DisableComplete: "DISABLE_COMPLETE";
|
|
254
|
+
readonly DisableFailed: "DISABLE_FAILED";
|
|
255
|
+
readonly DisableInProgress: "DISABLE_IN_PROGRESS";
|
|
256
|
+
readonly EnableComplete: "ENABLE_COMPLETE";
|
|
257
|
+
readonly EnableFailed: "ENABLE_FAILED";
|
|
258
|
+
readonly EnableInProgress: "ENABLE_IN_PROGRESS";
|
|
259
|
+
readonly NotEnabled: "NOT_ENABLED";
|
|
260
|
+
};
|
|
261
|
+
export type NaturalLanguageQueryGenerationCurrentState =
|
|
262
|
+
(typeof NaturalLanguageQueryGenerationCurrentState)[keyof typeof NaturalLanguageQueryGenerationCurrentState];
|
|
263
|
+
export interface NaturalLanguageQueryGenerationOptionsOutput {
|
|
264
|
+
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
|
|
265
|
+
CurrentState?: NaturalLanguageQueryGenerationCurrentState;
|
|
266
|
+
}
|
|
267
|
+
export interface AIMLOptionsOutput {
|
|
268
|
+
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsOutput;
|
|
269
|
+
}
|
|
270
|
+
export interface AIMLOptionsStatus {
|
|
271
|
+
Options?: AIMLOptionsOutput;
|
|
272
|
+
Status?: OptionStatus;
|
|
273
|
+
}
|
|
240
274
|
export interface AssociatePackageRequest {
|
|
241
275
|
PackageID: string | undefined;
|
|
242
276
|
DomainName: string | undefined;
|
|
@@ -589,6 +623,7 @@ export interface CreateDomainRequest {
|
|
|
589
623
|
AutoTuneOptions?: AutoTuneOptionsInput;
|
|
590
624
|
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
591
625
|
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
626
|
+
AIMLOptions?: AIMLOptionsInput;
|
|
592
627
|
}
|
|
593
628
|
export declare const AutoTuneState: {
|
|
594
629
|
readonly DISABLED: "DISABLED";
|
|
@@ -694,6 +729,7 @@ export interface DomainStatus {
|
|
|
694
729
|
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
695
730
|
DomainProcessingStatus?: DomainProcessingStatusType;
|
|
696
731
|
ModifyingProperties?: ModifyingProperties[];
|
|
732
|
+
AIMLOptions?: AIMLOptionsOutput;
|
|
697
733
|
}
|
|
698
734
|
export interface CreateDomainResponse {
|
|
699
735
|
DomainStatus?: DomainStatus;
|
|
@@ -1059,6 +1095,7 @@ export interface DomainConfig {
|
|
|
1059
1095
|
OffPeakWindowOptions?: OffPeakWindowOptionsStatus;
|
|
1060
1096
|
SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus;
|
|
1061
1097
|
ModifyingProperties?: ModifyingProperties[];
|
|
1098
|
+
AIMLOptions?: AIMLOptionsStatus;
|
|
1062
1099
|
}
|
|
1063
1100
|
export interface DescribeDomainConfigResponse {
|
|
1064
1101
|
DomainConfig: DomainConfig | undefined;
|
|
@@ -1682,6 +1719,7 @@ export interface UpdateDomainConfigRequest {
|
|
|
1682
1719
|
DryRunMode?: DryRunMode;
|
|
1683
1720
|
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
1684
1721
|
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
1722
|
+
AIMLOptions?: AIMLOptionsInput;
|
|
1685
1723
|
}
|
|
1686
1724
|
export interface UpdateDomainConfigResponse {
|
|
1687
1725
|
DomainConfig: DomainConfig | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.605.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-opensearch",
|