Skip to content

Commit 19d56e7

Browse files
author
awstools
committed
feat(client-opensearch): This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains.
1 parent 6cf9d76 commit 19d56e7

File tree

10 files changed

+0
-381
lines changed

10 files changed

+0
-381
lines changed

clients/client-opensearch/src/commands/CreateDomainCommand.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,6 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
165165
* SoftwareUpdateOptions: { // SoftwareUpdateOptions
166166
* AutoSoftwareUpdateEnabled: true || false,
167167
* },
168-
* AIMLOptions: { // AIMLOptionsInput
169-
* NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
170-
* DesiredState: "ENABLED" || "DISABLED",
171-
* },
172-
* },
173168
* };
174169
* const command = new CreateDomainCommand(input);
175170
* const response = await client.send(command);
@@ -326,12 +321,6 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
326321
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
327322
* // },
328323
* // ],
329-
* // AIMLOptions: { // AIMLOptionsOutput
330-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
331-
* // DesiredState: "ENABLED" || "DISABLED",
332-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
333-
* // },
334-
* // },
335324
* // },
336325
* // };
337326
*

clients/client-opensearch/src/commands/DeleteDomainCommand.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,6 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
194194
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
195195
* // },
196196
* // ],
197-
* // AIMLOptions: { // AIMLOptionsOutput
198-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
199-
* // DesiredState: "ENABLED" || "DISABLED",
200-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
201-
* // },
202-
* // },
203197
* // },
204198
* // };
205199
*

clients/client-opensearch/src/commands/DescribeDomainCommand.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,6 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
194194
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
195195
* // },
196196
* // ],
197-
* // AIMLOptions: { // AIMLOptionsOutput
198-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
199-
* // DesiredState: "ENABLED" || "DISABLED",
200-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
201-
* // },
202-
* // },
203197
* // },
204198
* // };
205199
*

clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,6 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
267267
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
268268
* // },
269269
* // ],
270-
* // AIMLOptions: { // AIMLOptionsStatus
271-
* // Options: { // AIMLOptionsOutput
272-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
273-
* // DesiredState: "ENABLED" || "DISABLED",
274-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
275-
* // },
276-
* // },
277-
* // Status: "<OptionStatus>",
278-
* // },
279270
* // },
280271
* // };
281272
*

clients/client-opensearch/src/commands/DescribeDomainsCommand.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,6 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
197197
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
198198
* // },
199199
* // ],
200-
* // AIMLOptions: { // AIMLOptionsOutput
201-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
202-
* // DesiredState: "ENABLED" || "DISABLED",
203-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
204-
* // },
205-
* // },
206200
* // },
207201
* // ],
208202
* // };

clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,6 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr
208208
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
209209
* // },
210210
* // ],
211-
* // AIMLOptions: { // AIMLOptionsOutput
212-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
213-
* // DesiredState: "ENABLED" || "DISABLED",
214-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
215-
* // },
216-
* // },
217211
* // },
218212
* // DryRunResults: { // DryRunResults
219213
* // DeploymentType: "STRING_VALUE",

clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,6 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
166166
* SoftwareUpdateOptions: { // SoftwareUpdateOptions
167167
* AutoSoftwareUpdateEnabled: true || false,
168168
* },
169-
* AIMLOptions: { // AIMLOptionsInput
170-
* NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
171-
* DesiredState: "ENABLED" || "DISABLED",
172-
* },
173-
* },
174169
* };
175170
* const command = new UpdateDomainConfigCommand(input);
176171
* const response = await client.send(command);
@@ -401,15 +396,6 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
401396
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
402397
* // },
403398
* // ],
404-
* // AIMLOptions: { // AIMLOptionsStatus
405-
* // Options: { // AIMLOptionsOutput
406-
* // NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsOutput
407-
* // DesiredState: "ENABLED" || "DISABLED",
408-
* // CurrentState: "NOT_ENABLED" || "ENABLE_COMPLETE" || "ENABLE_IN_PROGRESS" || "ENABLE_FAILED" || "DISABLE_COMPLETE" || "DISABLE_IN_PROGRESS" || "DISABLE_FAILED",
409-
* // },
410-
* // },
411-
* // Status: "<OptionStatus>",
412-
* // },
413399
* // },
414400
* // DryRunResults: { // DryRunResults
415401
* // DeploymentType: "STRING_VALUE",

clients/client-opensearch/src/models/models_0.ts

Lines changed: 0 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -989,113 +989,6 @@ export interface AdvancedSecurityOptionsStatus {
989989
Status: OptionStatus | undefined;
990990
}
991991

992-
/**
993-
* @public
994-
* @enum
995-
*/
996-
export const NaturalLanguageQueryGenerationDesiredState = {
997-
Disabled: "DISABLED",
998-
Enabled: "ENABLED",
999-
} as const;
1000-
1001-
/**
1002-
* @public
1003-
*/
1004-
export type NaturalLanguageQueryGenerationDesiredState =
1005-
(typeof NaturalLanguageQueryGenerationDesiredState)[keyof typeof NaturalLanguageQueryGenerationDesiredState];
1006-
1007-
/**
1008-
* <p>Container for parameters required to enable the natural language query generation feature.</p>
1009-
* @public
1010-
*/
1011-
export interface NaturalLanguageQueryGenerationOptionsInput {
1012-
/**
1013-
* <p>The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.</p>
1014-
* @public
1015-
*/
1016-
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
1017-
}
1018-
1019-
/**
1020-
* <p>Container for parameters required to enable all machine learning features.</p>
1021-
* @public
1022-
*/
1023-
export interface AIMLOptionsInput {
1024-
/**
1025-
* <p>Container for parameters required for natural language query generation on the specified domain.</p>
1026-
* @public
1027-
*/
1028-
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsInput;
1029-
}
1030-
1031-
/**
1032-
* @public
1033-
* @enum
1034-
*/
1035-
export const NaturalLanguageQueryGenerationCurrentState = {
1036-
DisableComplete: "DISABLE_COMPLETE",
1037-
DisableFailed: "DISABLE_FAILED",
1038-
DisableInProgress: "DISABLE_IN_PROGRESS",
1039-
EnableComplete: "ENABLE_COMPLETE",
1040-
EnableFailed: "ENABLE_FAILED",
1041-
EnableInProgress: "ENABLE_IN_PROGRESS",
1042-
NotEnabled: "NOT_ENABLED",
1043-
} as const;
1044-
1045-
/**
1046-
* @public
1047-
*/
1048-
export type NaturalLanguageQueryGenerationCurrentState =
1049-
(typeof NaturalLanguageQueryGenerationCurrentState)[keyof typeof NaturalLanguageQueryGenerationCurrentState];
1050-
1051-
/**
1052-
* <p>Container for parameters representing the state of the natural language query generation feature on the specified domain.</p>
1053-
* @public
1054-
*/
1055-
export interface NaturalLanguageQueryGenerationOptionsOutput {
1056-
/**
1057-
* <p>The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.</p>
1058-
* @public
1059-
*/
1060-
DesiredState?: NaturalLanguageQueryGenerationDesiredState;
1061-
1062-
/**
1063-
* <p>The current state of the natural language query generation feature, indicating completion, in progress, or failure.</p>
1064-
* @public
1065-
*/
1066-
CurrentState?: NaturalLanguageQueryGenerationCurrentState;
1067-
}
1068-
1069-
/**
1070-
* <p>Container for parameters representing the state of machine learning features on the specified domain.</p>
1071-
* @public
1072-
*/
1073-
export interface AIMLOptionsOutput {
1074-
/**
1075-
* <p>Container for parameters required for natural language query generation on the specified domain.</p>
1076-
* @public
1077-
*/
1078-
NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsOutput;
1079-
}
1080-
1081-
/**
1082-
* <p>The status of machine learning options on the specified domain.</p>
1083-
* @public
1084-
*/
1085-
export interface AIMLOptionsStatus {
1086-
/**
1087-
* <p>Machine learning options on the specified domain.</p>
1088-
* @public
1089-
*/
1090-
Options?: AIMLOptionsOutput;
1091-
1092-
/**
1093-
* <p>Provides the current status of an entity.</p>
1094-
* @public
1095-
*/
1096-
Status?: OptionStatus;
1097-
}
1098-
1099992
/**
1100993
* <p>Container for the request parameters to the <code>AssociatePackage</code> operation.</p>
1101994
* @public
@@ -2359,12 +2252,6 @@ export interface CreateDomainRequest {
23592252
* @public
23602253
*/
23612254
SoftwareUpdateOptions?: SoftwareUpdateOptions;
2362-
2363-
/**
2364-
* <p>Options for all machine learning features for the specified domain.</p>
2365-
* @public
2366-
*/
2367-
AIMLOptions?: AIMLOptionsInput;
23682255
}
23692256

23702257
/**
@@ -2822,12 +2709,6 @@ export interface DomainStatus {
28222709
* @public
28232710
*/
28242711
ModifyingProperties?: ModifyingProperties[];
2825-
2826-
/**
2827-
* <p>Container for parameters required to enable all machine learning features.</p>
2828-
* @public
2829-
*/
2830-
AIMLOptions?: AIMLOptionsOutput;
28312712
}
28322713

28332714
/**
@@ -4433,12 +4314,6 @@ export interface DomainConfig {
44334314
* @public
44344315
*/
44354316
ModifyingProperties?: ModifyingProperties[];
4436-
4437-
/**
4438-
* <p>Container for parameters required to enable all machine learning features.</p>
4439-
* @public
4440-
*/
4441-
AIMLOptions?: AIMLOptionsStatus;
44424317
}
44434318

44444319
/**
@@ -7455,12 +7330,6 @@ export interface UpdateDomainConfigRequest {
74557330
* @public
74567331
*/
74577332
SoftwareUpdateOptions?: SoftwareUpdateOptions;
7458-
7459-
/**
7460-
* <p>Options for all machine learning features for the specified domain.</p>
7461-
* @public
7462-
*/
7463-
AIMLOptions?: AIMLOptionsInput;
74647333
}
74657334

74667335
/**

clients/client-opensearch/src/protocols/Aws_restJson1.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ import {
207207
AdvancedSecurityOptions,
208208
AdvancedSecurityOptionsInput,
209209
AdvancedSecurityOptionsStatus,
210-
AIMLOptionsInput,
211-
AIMLOptionsStatus,
212210
AutoTune,
213211
AutoTuneDetails,
214212
AutoTuneMaintenanceSchedule,
@@ -256,7 +254,6 @@ import {
256254
LogPublishingOptionsStatus,
257255
LogType,
258256
MasterUserOptions,
259-
NaturalLanguageQueryGenerationOptionsInput,
260257
NodeToNodeEncryptionOptions,
261258
NodeToNodeEncryptionOptionsStatus,
262259
OffPeakWindow,
@@ -457,7 +454,6 @@ export const se_CreateDomainCommand = async (
457454
let body: any;
458455
body = JSON.stringify(
459456
take(input, {
460-
AIMLOptions: (_) => _json(_),
461457
AccessPolicies: [],
462458
AdvancedOptions: (_) => _json(_),
463459
AdvancedSecurityOptions: (_) => _json(_),
@@ -1493,7 +1489,6 @@ export const se_UpdateDomainConfigCommand = async (
14931489
let body: any;
14941490
body = JSON.stringify(
14951491
take(input, {
1496-
AIMLOptions: (_) => _json(_),
14971492
AccessPolicies: [],
14981493
AdvancedOptions: (_) => _json(_),
14991494
AdvancedSecurityOptions: (_) => _json(_),
@@ -3300,8 +3295,6 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont
33003295

33013296
// se_AdvancedSecurityOptionsInput omitted.
33023297

3303-
// se_AIMLOptionsInput omitted.
3304-
33053298
/**
33063299
* serializeAws_restJson1AutoTuneMaintenanceSchedule
33073300
*/
@@ -3391,8 +3384,6 @@ const se_AutoTuneOptionsInput = (input: AutoTuneOptionsInput, context: __SerdeCo
33913384

33923385
// se_MasterUserOptions omitted.
33933386

3394-
// se_NaturalLanguageQueryGenerationOptionsInput omitted.
3395-
33963387
// se_NodeToNodeEncryptionOptions omitted.
33973388

33983389
// se_OffPeakWindow omitted.
@@ -3477,18 +3468,6 @@ const de_AdvancedSecurityOptionsStatus = (output: any, context: __SerdeContext):
34773468
}) as any;
34783469
};
34793470

3480-
// de_AIMLOptionsOutput omitted.
3481-
3482-
/**
3483-
* deserializeAws_restJson1AIMLOptionsStatus
3484-
*/
3485-
const de_AIMLOptionsStatus = (output: any, context: __SerdeContext): AIMLOptionsStatus => {
3486-
return take(output, {
3487-
Options: _json,
3488-
Status: (_: any) => de_OptionStatus(_, context),
3489-
}) as any;
3490-
};
3491-
34923471
// de_AuthorizedPrincipal omitted.
34933472

34943473
// de_AuthorizedPrincipalList omitted.
@@ -3698,7 +3677,6 @@ const de_CognitoOptionsStatus = (output: any, context: __SerdeContext): CognitoO
36983677
*/
36993678
const de_DomainConfig = (output: any, context: __SerdeContext): DomainConfig => {
37003679
return take(output, {
3701-
AIMLOptions: (_: any) => de_AIMLOptionsStatus(_, context),
37023680
AccessPolicies: (_: any) => de_AccessPoliciesStatus(_, context),
37033681
AdvancedOptions: (_: any) => de_AdvancedOptionsStatus(_, context),
37043682
AdvancedSecurityOptions: (_: any) => de_AdvancedSecurityOptionsStatus(_, context),
@@ -3805,7 +3783,6 @@ const de_DomainPackageDetailsList = (output: any, context: __SerdeContext): Doma
38053783
*/
38063784
const de_DomainStatus = (output: any, context: __SerdeContext): DomainStatus => {
38073785
return take(output, {
3808-
AIMLOptions: _json,
38093786
ARN: __expectString,
38103787
AccessPolicies: __expectString,
38113788
AdvancedOptions: _json,
@@ -3947,8 +3924,6 @@ const de_LogPublishingOptionsStatus = (output: any, context: __SerdeContext): Lo
39473924

39483925
// de_ModifyingPropertiesList omitted.
39493926

3950-
// de_NaturalLanguageQueryGenerationOptionsOutput omitted.
3951-
39523927
// de_NodeToNodeEncryptionOptions omitted.
39533928

39543929
/**

0 commit comments

Comments
 (0)