@aws-sdk/client-opensearch 3.1147.0 → 3.1148.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 +9 -3
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +11 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1147.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -677,6 +677,7 @@ const _EInt = "EntityId";
|
|
|
677
677
|
const _EM = "ErrorMessage";
|
|
678
678
|
const _EMS = "EngineModeStatus";
|
|
679
679
|
const _EMn = "EngineMode";
|
|
680
|
+
const _EMnc = "EncryptionMode";
|
|
680
681
|
const _EO = "ExportOptions";
|
|
681
682
|
const _ET = "EndTime";
|
|
682
683
|
const _ETn = "EngineType";
|
|
@@ -2102,8 +2103,8 @@ var EBSOptionsStatus$ = [3, n0, _EBSOS,
|
|
|
2102
2103
|
];
|
|
2103
2104
|
var EncryptionAtRestOptions$ = [3, n0, _EARO,
|
|
2104
2105
|
0,
|
|
2105
|
-
[_E, _KKI],
|
|
2106
|
-
[2, 0]
|
|
2106
|
+
[_E, _KKI, _EMnc],
|
|
2107
|
+
[2, 0, 0]
|
|
2107
2108
|
];
|
|
2108
2109
|
var EncryptionAtRestOptionsStatus$ = [3, n0, _EAROS,
|
|
2109
2110
|
0,
|
|
@@ -4358,6 +4359,10 @@ const VolumeType = {
|
|
|
4358
4359
|
io1: "io1",
|
|
4359
4360
|
standard: "standard",
|
|
4360
4361
|
};
|
|
4362
|
+
const EncryptionMode = {
|
|
4363
|
+
Disk: "DISK",
|
|
4364
|
+
Native: "NATIVE",
|
|
4365
|
+
};
|
|
4361
4366
|
const EngineMode = {
|
|
4362
4367
|
GENERAL: "GENERAL",
|
|
4363
4368
|
OPTIMIZED: "OPTIMIZED",
|
|
@@ -4941,6 +4946,7 @@ exports.EBSOptions$ = EBSOptions$;
|
|
|
4941
4946
|
exports.EBSOptionsStatus$ = EBSOptionsStatus$;
|
|
4942
4947
|
exports.EncryptionAtRestOptions$ = EncryptionAtRestOptions$;
|
|
4943
4948
|
exports.EncryptionAtRestOptionsStatus$ = EncryptionAtRestOptionsStatus$;
|
|
4949
|
+
exports.EncryptionMode = EncryptionMode;
|
|
4944
4950
|
exports.EngineMode = EngineMode;
|
|
4945
4951
|
exports.EngineModeStatus$ = EngineModeStatus$;
|
|
4946
4952
|
exports.EngineType = EngineType;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -346,6 +346,7 @@ const _EInt = "EntityId";
|
|
|
346
346
|
const _EM = "ErrorMessage";
|
|
347
347
|
const _EMS = "EngineModeStatus";
|
|
348
348
|
const _EMn = "EngineMode";
|
|
349
|
+
const _EMnc = "EncryptionMode";
|
|
349
350
|
const _EO = "ExportOptions";
|
|
350
351
|
const _ET = "EndTime";
|
|
351
352
|
const _ETn = "EngineType";
|
|
@@ -1774,8 +1775,8 @@ export var EBSOptionsStatus$ = [3, n0, _EBSOS,
|
|
|
1774
1775
|
];
|
|
1775
1776
|
export var EncryptionAtRestOptions$ = [3, n0, _EARO,
|
|
1776
1777
|
0,
|
|
1777
|
-
[_E, _KKI],
|
|
1778
|
-
[2, 0]
|
|
1778
|
+
[_E, _KKI, _EMnc],
|
|
1779
|
+
[2, 0, 0]
|
|
1779
1780
|
];
|
|
1780
1781
|
export var EncryptionAtRestOptionsStatus$ = [3, n0, _EAROS,
|
|
1781
1782
|
0,
|
|
@@ -95,6 +95,7 @@ declare const CreateDomainCommand_base: {
|
|
|
95
95
|
* EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
96
96
|
* Enabled: true || false,
|
|
97
97
|
* KmsKeyId: "STRING_VALUE",
|
|
98
|
+
* EncryptionMode: "DISK" || "NATIVE",
|
|
98
99
|
* },
|
|
99
100
|
* NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
100
101
|
* Enabled: true || false,
|
|
@@ -291,6 +292,7 @@ declare const CreateDomainCommand_base: {
|
|
|
291
292
|
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
292
293
|
* // Enabled: true || false,
|
|
293
294
|
* // KmsKeyId: "STRING_VALUE",
|
|
295
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
294
296
|
* // },
|
|
295
297
|
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
296
298
|
* // Enabled: true || false,
|
|
@@ -117,6 +117,7 @@ declare const DeleteDomainCommand_base: {
|
|
|
117
117
|
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
118
118
|
* // Enabled: true || false,
|
|
119
119
|
* // KmsKeyId: "STRING_VALUE",
|
|
120
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
120
121
|
* // },
|
|
121
122
|
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
122
123
|
* // Enabled: true || false,
|
|
@@ -117,6 +117,7 @@ declare const DescribeDomainCommand_base: {
|
|
|
117
117
|
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
118
118
|
* // Enabled: true || false,
|
|
119
119
|
* // KmsKeyId: "STRING_VALUE",
|
|
120
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
120
121
|
* // },
|
|
121
122
|
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
122
123
|
* // Enabled: true || false,
|
|
@@ -158,6 +158,7 @@ declare const DescribeDomainConfigCommand_base: {
|
|
|
158
158
|
* // Options: { // EncryptionAtRestOptions
|
|
159
159
|
* // Enabled: true || false,
|
|
160
160
|
* // KmsKeyId: "STRING_VALUE",
|
|
161
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
161
162
|
* // },
|
|
162
163
|
* // Status: "<OptionStatus>", // required
|
|
163
164
|
* // },
|
|
@@ -120,6 +120,7 @@ declare const DescribeDomainsCommand_base: {
|
|
|
120
120
|
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
121
121
|
* // Enabled: true || false,
|
|
122
122
|
* // KmsKeyId: "STRING_VALUE",
|
|
123
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
123
124
|
* // },
|
|
124
125
|
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
125
126
|
* // Enabled: true || false,
|
|
@@ -135,6 +135,7 @@ declare const DescribeDryRunProgressCommand_base: {
|
|
|
135
135
|
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
136
136
|
* // Enabled: true || false,
|
|
137
137
|
* // KmsKeyId: "STRING_VALUE",
|
|
138
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
138
139
|
* // },
|
|
139
140
|
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
140
141
|
* // Enabled: true || false,
|
|
@@ -103,6 +103,7 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
103
103
|
* EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
104
104
|
* Enabled: true || false,
|
|
105
105
|
* KmsKeyId: "STRING_VALUE",
|
|
106
|
+
* EncryptionMode: "DISK" || "NATIVE",
|
|
106
107
|
* },
|
|
107
108
|
* DomainEndpointOptions: { // DomainEndpointOptions
|
|
108
109
|
* EnforceHTTPS: true || false,
|
|
@@ -332,6 +333,7 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
332
333
|
* // Options: { // EncryptionAtRestOptions
|
|
333
334
|
* // Enabled: true || false,
|
|
334
335
|
* // KmsKeyId: "STRING_VALUE",
|
|
336
|
+
* // EncryptionMode: "DISK" || "NATIVE",
|
|
335
337
|
* // },
|
|
336
338
|
* // Status: "<OptionStatus>", // required
|
|
337
339
|
* // },
|
|
@@ -404,6 +404,18 @@ export declare const VolumeType: {
|
|
|
404
404
|
* @public
|
|
405
405
|
*/
|
|
406
406
|
export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
|
|
407
|
+
/**
|
|
408
|
+
* @public
|
|
409
|
+
* @enum
|
|
410
|
+
*/
|
|
411
|
+
export declare const EncryptionMode: {
|
|
412
|
+
readonly Disk: "DISK";
|
|
413
|
+
readonly Native: "NATIVE";
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
|
|
407
419
|
/**
|
|
408
420
|
* @public
|
|
409
421
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { ActionSeverity, ActionStatus, ActionType, AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
|
|
2
|
+
import type { ActionSeverity, ActionStatus, ActionType, AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EncryptionMode, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Container for the parameters to the <code>AcceptInboundConnection</code>
|
|
5
5
|
* operation.</p>
|
|
@@ -2079,6 +2079,16 @@ export interface EncryptionAtRestOptions {
|
|
|
2079
2079
|
* @public
|
|
2080
2080
|
*/
|
|
2081
2081
|
KmsKeyId?: string | undefined;
|
|
2082
|
+
/**
|
|
2083
|
+
* <p>The type of encryption at rest applied to the domain's data. Valid values are
|
|
2084
|
+
* <code>DISK</code> and <code>NATIVE</code>. <code>DISK</code> is the default and uses
|
|
2085
|
+
* volume-level encryption. <code>NATIVE</code> uses engine-native, index-level encryption
|
|
2086
|
+
* and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After
|
|
2087
|
+
* the mode is set to <code>NATIVE</code>, it can't be changed back to
|
|
2088
|
+
* <code>DISK</code>.</p>
|
|
2089
|
+
* @public
|
|
2090
|
+
*/
|
|
2091
|
+
EncryptionMode?: EncryptionMode | undefined;
|
|
2082
2092
|
}
|
|
2083
2093
|
/**
|
|
2084
2094
|
* <p>Configuration settings for enabling and managing IAM Identity Center.</p>
|
|
@@ -968,7 +968,7 @@ export interface UpdateDomainConfigRequest {
|
|
|
968
968
|
*/
|
|
969
969
|
EngineMode?: EngineMode | undefined;
|
|
970
970
|
/**
|
|
971
|
-
* <p>A list of advisory warning codes to accept for this configuration change. By default, any advisory warning blocks the change. Include the code of each warning you want to accept so the change can proceed. You can find warning codes in the<code>ValidationFailures</code> list returned by <code>DescribeDomainChangeProgress</code>and <code>DescribeDryRunProgress</code>. Critical validation failures cannot be accepted and always block the change. If you omit this parameter or pass an empty list, all warnings block the change. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check">Validating a domain update</a>.</p>
|
|
971
|
+
* <p>A list of advisory warning codes to accept for this configuration change. By default, any advisory warning blocks the change. Include the code of each warning you want to accept so the change can proceed. You can find warning codes in the <code>ValidationFailures</code> list returned by <code>DescribeDomainChangeProgress</code> and <code>DescribeDryRunProgress</code>. Critical validation failures cannot be accepted and always block the change. If you omit this parameter or pass an empty list, all warnings block the change. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check">Validating a domain update</a>.</p>
|
|
972
972
|
* @public
|
|
973
973
|
*/
|
|
974
974
|
AcceptedWarnings?: string[] | undefined;
|
|
@@ -249,6 +249,11 @@ export declare const VolumeType: {
|
|
|
249
249
|
readonly standard: "standard";
|
|
250
250
|
};
|
|
251
251
|
export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
|
|
252
|
+
export declare const EncryptionMode: {
|
|
253
|
+
readonly Disk: "DISK";
|
|
254
|
+
readonly Native: "NATIVE";
|
|
255
|
+
};
|
|
256
|
+
export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
|
|
252
257
|
export declare const EngineMode: {
|
|
253
258
|
readonly GENERAL: "GENERAL";
|
|
254
259
|
readonly OPTIMIZED: "OPTIMIZED";
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
DomainProcessingStatusType,
|
|
24
24
|
DomainState,
|
|
25
25
|
DomainUseCase,
|
|
26
|
+
EncryptionMode,
|
|
26
27
|
EngineMode,
|
|
27
28
|
EngineType,
|
|
28
29
|
InboundConnectionStatusCode,
|
|
@@ -537,6 +538,7 @@ export interface EBSOptions {
|
|
|
537
538
|
export interface EncryptionAtRestOptions {
|
|
538
539
|
Enabled?: boolean | undefined;
|
|
539
540
|
KmsKeyId?: string | undefined;
|
|
541
|
+
EncryptionMode?: EncryptionMode | undefined;
|
|
540
542
|
}
|
|
541
543
|
export interface IdentityCenterOptionsInput {
|
|
542
544
|
EnabledAPIAccess?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1148.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearch",
|
|
6
6
|
"license": "Apache-2.0",
|