@aws-sdk/client-opensearch 3.1142.0 → 3.1144.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 +15 -9
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +10 -8
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +10 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +7 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +39 -19
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -4
- package/dist-types/ts3.4/models/models_1.d.ts +1 -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.1143.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -408,6 +408,7 @@ const _AV = "ActiveValue";
|
|
|
408
408
|
const _AVEA = "AuthorizeVpcEndpointAccess";
|
|
409
409
|
const _AVEAR = "AuthorizeVpcEndpointAccessRequest";
|
|
410
410
|
const _AVEARu = "AuthorizeVpcEndpointAccessResponse";
|
|
411
|
+
const _AW = "AcceptedWarnings";
|
|
411
412
|
const _AWSDI = "AWSDomainInformation";
|
|
412
413
|
const _AZ = "AvailabilityZone";
|
|
413
414
|
const _AZC = "AvailabilityZoneCount";
|
|
@@ -1591,8 +1592,8 @@ var ChangeProgressStage$ = [3, n0, _CPS,
|
|
|
1591
1592
|
];
|
|
1592
1593
|
var ChangeProgressStatusDetails$ = [3, n0, _CPSD,
|
|
1593
1594
|
0,
|
|
1594
|
-
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB],
|
|
1595
|
-
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0]
|
|
1595
|
+
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB, _VF, _AW],
|
|
1596
|
+
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0, () => ValidationFailures, 64 | 0]
|
|
1596
1597
|
];
|
|
1597
1598
|
var CloudWatchDirectQueryDataSource$ = [3, n0, _CWDQDS,
|
|
1598
1599
|
0,
|
|
@@ -2076,8 +2077,8 @@ var DomainStatus$ = [3, n0, _DSo,
|
|
|
2076
2077
|
];
|
|
2077
2078
|
var DryRunProgressStatus$ = [3, n0, _DRPS,
|
|
2078
2079
|
0,
|
|
2079
|
-
[_DRI, _DRS, _CD, _UD, _VF],
|
|
2080
|
-
[0, 0, 0, 0, () => ValidationFailures], 4
|
|
2080
|
+
[_DRI, _DRS, _CD, _UD, _VF, _AW],
|
|
2081
|
+
[0, 0, 0, 0, () => ValidationFailures, 64 | 0], 4
|
|
2081
2082
|
];
|
|
2082
2083
|
var DryRunResults$ = [3, n0, _DRR,
|
|
2083
2084
|
0,
|
|
@@ -2941,8 +2942,8 @@ var UpdateDirectQueryDataSourceResponse$ = [3, n0, _UDQDSRp,
|
|
|
2941
2942
|
];
|
|
2942
2943
|
var UpdateDomainConfigRequest$ = [3, n0, _UDCR,
|
|
2943
2944
|
0,
|
|
2944
|
-
[_DN, _CC, _EBSO, _SOn, _VPCO, _CO, _AO, _APc, _IPAT, _LPO, _EARO, _DEO, _NTNEO, _ASO, _ICO, _ATO, _DR, _DRM, _OPWO, _SUO, _AIMLO, _DSO, _ASPO, _UC, _EMn],
|
|
2945
|
-
[[0, 1], () => ClusterConfig$, () => EBSOptions$, () => SnapshotOptions$, () => VPCOptions$, () => CognitoOptions$, 128 | 0, 0, 0, () => LogPublishingOptions, () => EncryptionAtRestOptions$, () => DomainEndpointOptions$, () => NodeToNodeEncryptionOptions$, [() => AdvancedSecurityOptionsInput$, 0], () => IdentityCenterOptionsInput$, () => AutoTuneOptions$, 2, 0, () => OffPeakWindowOptions$, () => SoftwareUpdateOptions$, () => AIMLOptionsInput$, () => DeploymentStrategyOptions$, () => AutomatedSnapshotPauseRequestOptions$, 0, 0], 1
|
|
2945
|
+
[_DN, _CC, _EBSO, _SOn, _VPCO, _CO, _AO, _APc, _IPAT, _LPO, _EARO, _DEO, _NTNEO, _ASO, _ICO, _ATO, _DR, _DRM, _OPWO, _SUO, _AIMLO, _DSO, _ASPO, _UC, _EMn, _AW],
|
|
2946
|
+
[[0, 1], () => ClusterConfig$, () => EBSOptions$, () => SnapshotOptions$, () => VPCOptions$, () => CognitoOptions$, 128 | 0, 0, 0, () => LogPublishingOptions, () => EncryptionAtRestOptions$, () => DomainEndpointOptions$, () => NodeToNodeEncryptionOptions$, [() => AdvancedSecurityOptionsInput$, 0], () => IdentityCenterOptionsInput$, () => AutoTuneOptions$, 2, 0, () => OffPeakWindowOptions$, () => SoftwareUpdateOptions$, () => AIMLOptionsInput$, () => DeploymentStrategyOptions$, () => AutomatedSnapshotPauseRequestOptions$, 0, 0, 64 | 0], 1
|
|
2946
2947
|
];
|
|
2947
2948
|
var UpdateDomainConfigResponse$ = [3, n0, _UDCRp,
|
|
2948
2949
|
0,
|
|
@@ -3026,8 +3027,8 @@ var UseCaseStatus$ = [3, n0, _UCS,
|
|
|
3026
3027
|
];
|
|
3027
3028
|
var ValidationFailure$ = [3, n0, _VFa,
|
|
3028
3029
|
0,
|
|
3029
|
-
[_Cod, _M],
|
|
3030
|
-
[0, 0]
|
|
3030
|
+
[_Cod, _M, _Sev],
|
|
3031
|
+
[0, 0, 0]
|
|
3031
3032
|
];
|
|
3032
3033
|
var VersionStatus$ = [3, n0, _VSe,
|
|
3033
3034
|
0,
|
|
@@ -4502,6 +4503,10 @@ const OverallChangeStatus = {
|
|
|
4502
4503
|
PENDING: "PENDING",
|
|
4503
4504
|
PROCESSING: "PROCESSING",
|
|
4504
4505
|
};
|
|
4506
|
+
const ValidationFailureSeverity = {
|
|
4507
|
+
CRITICAL: "Critical",
|
|
4508
|
+
WARNING: "Warning",
|
|
4509
|
+
};
|
|
4505
4510
|
const RollbackOnDisable = {
|
|
4506
4511
|
DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
|
|
4507
4512
|
NO_ROLLBACK: "NO_ROLLBACK",
|
|
@@ -5296,6 +5301,7 @@ exports.VPCOptions$ = VPCOptions$;
|
|
|
5296
5301
|
exports.ValidationException = ValidationException;
|
|
5297
5302
|
exports.ValidationException$ = ValidationException$;
|
|
5298
5303
|
exports.ValidationFailure$ = ValidationFailure$;
|
|
5304
|
+
exports.ValidationFailureSeverity = ValidationFailureSeverity;
|
|
5299
5305
|
exports.VersionStatus$ = VersionStatus$;
|
|
5300
5306
|
exports.VolumeType = VolumeType;
|
|
5301
5307
|
exports.VpcEndpoint$ = VpcEndpoint$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -365,6 +365,10 @@ export const OverallChangeStatus = {
|
|
|
365
365
|
PENDING: "PENDING",
|
|
366
366
|
PROCESSING: "PROCESSING",
|
|
367
367
|
};
|
|
368
|
+
export const ValidationFailureSeverity = {
|
|
369
|
+
CRITICAL: "Critical",
|
|
370
|
+
WARNING: "Warning",
|
|
371
|
+
};
|
|
368
372
|
export const RollbackOnDisable = {
|
|
369
373
|
DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
|
|
370
374
|
NO_ROLLBACK: "NO_ROLLBACK",
|
|
@@ -77,6 +77,7 @@ const _AV = "ActiveValue";
|
|
|
77
77
|
const _AVEA = "AuthorizeVpcEndpointAccess";
|
|
78
78
|
const _AVEAR = "AuthorizeVpcEndpointAccessRequest";
|
|
79
79
|
const _AVEARu = "AuthorizeVpcEndpointAccessResponse";
|
|
80
|
+
const _AW = "AcceptedWarnings";
|
|
80
81
|
const _AWSDI = "AWSDomainInformation";
|
|
81
82
|
const _AZ = "AvailabilityZone";
|
|
82
83
|
const _AZC = "AvailabilityZoneCount";
|
|
@@ -1263,8 +1264,8 @@ export var ChangeProgressStage$ = [3, n0, _CPS,
|
|
|
1263
1264
|
];
|
|
1264
1265
|
export var ChangeProgressStatusDetails$ = [3, n0, _CPSD,
|
|
1265
1266
|
0,
|
|
1266
|
-
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB],
|
|
1267
|
-
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0]
|
|
1267
|
+
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB, _VF, _AW],
|
|
1268
|
+
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0, () => ValidationFailures, 64 | 0]
|
|
1268
1269
|
];
|
|
1269
1270
|
export var CloudWatchDirectQueryDataSource$ = [3, n0, _CWDQDS,
|
|
1270
1271
|
0,
|
|
@@ -1748,8 +1749,8 @@ export var DomainStatus$ = [3, n0, _DSo,
|
|
|
1748
1749
|
];
|
|
1749
1750
|
export var DryRunProgressStatus$ = [3, n0, _DRPS,
|
|
1750
1751
|
0,
|
|
1751
|
-
[_DRI, _DRS, _CD, _UD, _VF],
|
|
1752
|
-
[0, 0, 0, 0, () => ValidationFailures], 4
|
|
1752
|
+
[_DRI, _DRS, _CD, _UD, _VF, _AW],
|
|
1753
|
+
[0, 0, 0, 0, () => ValidationFailures, 64 | 0], 4
|
|
1753
1754
|
];
|
|
1754
1755
|
export var DryRunResults$ = [3, n0, _DRR,
|
|
1755
1756
|
0,
|
|
@@ -2613,8 +2614,8 @@ export var UpdateDirectQueryDataSourceResponse$ = [3, n0, _UDQDSRp,
|
|
|
2613
2614
|
];
|
|
2614
2615
|
export var UpdateDomainConfigRequest$ = [3, n0, _UDCR,
|
|
2615
2616
|
0,
|
|
2616
|
-
[_DN, _CC, _EBSO, _SOn, _VPCO, _CO, _AO, _APc, _IPAT, _LPO, _EARO, _DEO, _NTNEO, _ASO, _ICO, _ATO, _DR, _DRM, _OPWO, _SUO, _AIMLO, _DSO, _ASPO, _UC, _EMn],
|
|
2617
|
-
[[0, 1], () => ClusterConfig$, () => EBSOptions$, () => SnapshotOptions$, () => VPCOptions$, () => CognitoOptions$, 128 | 0, 0, 0, () => LogPublishingOptions, () => EncryptionAtRestOptions$, () => DomainEndpointOptions$, () => NodeToNodeEncryptionOptions$, [() => AdvancedSecurityOptionsInput$, 0], () => IdentityCenterOptionsInput$, () => AutoTuneOptions$, 2, 0, () => OffPeakWindowOptions$, () => SoftwareUpdateOptions$, () => AIMLOptionsInput$, () => DeploymentStrategyOptions$, () => AutomatedSnapshotPauseRequestOptions$, 0, 0], 1
|
|
2617
|
+
[_DN, _CC, _EBSO, _SOn, _VPCO, _CO, _AO, _APc, _IPAT, _LPO, _EARO, _DEO, _NTNEO, _ASO, _ICO, _ATO, _DR, _DRM, _OPWO, _SUO, _AIMLO, _DSO, _ASPO, _UC, _EMn, _AW],
|
|
2618
|
+
[[0, 1], () => ClusterConfig$, () => EBSOptions$, () => SnapshotOptions$, () => VPCOptions$, () => CognitoOptions$, 128 | 0, 0, 0, () => LogPublishingOptions, () => EncryptionAtRestOptions$, () => DomainEndpointOptions$, () => NodeToNodeEncryptionOptions$, [() => AdvancedSecurityOptionsInput$, 0], () => IdentityCenterOptionsInput$, () => AutoTuneOptions$, 2, 0, () => OffPeakWindowOptions$, () => SoftwareUpdateOptions$, () => AIMLOptionsInput$, () => DeploymentStrategyOptions$, () => AutomatedSnapshotPauseRequestOptions$, 0, 0, 64 | 0], 1
|
|
2618
2619
|
];
|
|
2619
2620
|
export var UpdateDomainConfigResponse$ = [3, n0, _UDCRp,
|
|
2620
2621
|
0,
|
|
@@ -2698,8 +2699,8 @@ export var UseCaseStatus$ = [3, n0, _UCS,
|
|
|
2698
2699
|
];
|
|
2699
2700
|
export var ValidationFailure$ = [3, n0, _VFa,
|
|
2700
2701
|
0,
|
|
2701
|
-
[_Cod, _M],
|
|
2702
|
-
[0, 0]
|
|
2702
|
+
[_Cod, _M, _Sev],
|
|
2703
|
+
[0, 0, 0]
|
|
2703
2704
|
];
|
|
2704
2705
|
export var VersionStatus$ = [3, n0, _VSe,
|
|
2705
2706
|
0,
|
|
@@ -2752,6 +2753,7 @@ export var ZoneAwarenessConfig$ = [3, n0, _ZAC,
|
|
|
2752
2753
|
[1]
|
|
2753
2754
|
];
|
|
2754
2755
|
var __Unit = "unit";
|
|
2756
|
+
var AcceptedWarningsList = 64 | 0;
|
|
2755
2757
|
var AdditionalLimitList = [1, n0, _ALL,
|
|
2756
2758
|
0, () => AdditionalLimit$
|
|
2757
2759
|
];
|
|
@@ -63,6 +63,16 @@ declare const DescribeDomainChangeProgressCommand_base: {
|
|
|
63
63
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
64
64
|
* // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
|
|
65
65
|
* // InitiatedBy: "CUSTOMER" || "SERVICE",
|
|
66
|
+
* // ValidationFailures: [ // ValidationFailures
|
|
67
|
+
* // { // ValidationFailure
|
|
68
|
+
* // Code: "STRING_VALUE",
|
|
69
|
+
* // Message: "STRING_VALUE",
|
|
70
|
+
* // Severity: "Critical" || "Warning",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // AcceptedWarnings: [ // AcceptedWarningsList
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
66
76
|
* // },
|
|
67
77
|
* // };
|
|
68
78
|
*
|
|
@@ -51,8 +51,12 @@ declare const DescribeDryRunProgressCommand_base: {
|
|
|
51
51
|
* // { // ValidationFailure
|
|
52
52
|
* // Code: "STRING_VALUE",
|
|
53
53
|
* // Message: "STRING_VALUE",
|
|
54
|
+
* // Severity: "Critical" || "Warning",
|
|
54
55
|
* // },
|
|
55
56
|
* // ],
|
|
57
|
+
* // AcceptedWarnings: [ // AcceptedWarningsList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
56
60
|
* // },
|
|
57
61
|
* // DryRunConfig: { // DomainStatus
|
|
58
62
|
* // DomainId: "STRING_VALUE", // required
|
|
@@ -206,6 +206,9 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
206
206
|
* },
|
|
207
207
|
* UseCase: "SEARCH" || "VECTOR" || "OBSERVABILITY" || "MIXED",
|
|
208
208
|
* EngineMode: "GENERAL" || "OPTIMIZED",
|
|
209
|
+
* AcceptedWarnings: [ // AcceptedWarningsList
|
|
210
|
+
* "STRING_VALUE",
|
|
211
|
+
* ],
|
|
209
212
|
* };
|
|
210
213
|
* const command = new UpdateDomainConfigCommand(input);
|
|
211
214
|
* const response = await client.send(command);
|
|
@@ -518,8 +521,12 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
518
521
|
* // { // ValidationFailure
|
|
519
522
|
* // Code: "STRING_VALUE",
|
|
520
523
|
* // Message: "STRING_VALUE",
|
|
524
|
+
* // Severity: "Critical" || "Warning",
|
|
521
525
|
* // },
|
|
522
526
|
* // ],
|
|
527
|
+
* // AcceptedWarnings: [ // AcceptedWarningsList
|
|
528
|
+
* // "STRING_VALUE",
|
|
529
|
+
* // ],
|
|
523
530
|
* // },
|
|
524
531
|
* // };
|
|
525
532
|
*
|
|
@@ -733,6 +733,18 @@ export declare const OverallChangeStatus: {
|
|
|
733
733
|
* @public
|
|
734
734
|
*/
|
|
735
735
|
export type OverallChangeStatus = (typeof OverallChangeStatus)[keyof typeof OverallChangeStatus];
|
|
736
|
+
/**
|
|
737
|
+
* @public
|
|
738
|
+
* @enum
|
|
739
|
+
*/
|
|
740
|
+
export declare const ValidationFailureSeverity: {
|
|
741
|
+
readonly CRITICAL: "Critical";
|
|
742
|
+
readonly WARNING: "Warning";
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* @public
|
|
746
|
+
*/
|
|
747
|
+
export type ValidationFailureSeverity = (typeof ValidationFailureSeverity)[keyof typeof ValidationFailureSeverity];
|
|
736
748
|
/**
|
|
737
749
|
* @public
|
|
738
750
|
* @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, 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, 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>
|
|
@@ -3942,6 +3942,28 @@ export interface ChangeProgressStage {
|
|
|
3942
3942
|
*/
|
|
3943
3943
|
LastUpdated?: Date | undefined;
|
|
3944
3944
|
}
|
|
3945
|
+
/**
|
|
3946
|
+
* <p>A validation failure that occurred as the result of a pre-update validation check
|
|
3947
|
+
* (verbose dry run) on a domain.</p>
|
|
3948
|
+
* @public
|
|
3949
|
+
*/
|
|
3950
|
+
export interface ValidationFailure {
|
|
3951
|
+
/**
|
|
3952
|
+
* <p>The error code of the failure.</p>
|
|
3953
|
+
* @public
|
|
3954
|
+
*/
|
|
3955
|
+
Code?: string | undefined;
|
|
3956
|
+
/**
|
|
3957
|
+
* <p>A message corresponding to the failure.</p>
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
Message?: string | undefined;
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>The severity of the validation failure.</p>
|
|
3963
|
+
* @public
|
|
3964
|
+
*/
|
|
3965
|
+
Severity?: ValidationFailureSeverity | undefined;
|
|
3966
|
+
}
|
|
3945
3967
|
/**
|
|
3946
3968
|
* <p>The progress details of a specific domain configuration change.</p>
|
|
3947
3969
|
* @public
|
|
@@ -4000,6 +4022,16 @@ export interface ChangeProgressStatusDetails {
|
|
|
4000
4022
|
* @public
|
|
4001
4023
|
*/
|
|
4002
4024
|
InitiatedBy?: InitiatedBy | undefined;
|
|
4025
|
+
/**
|
|
4026
|
+
* <p>The validation failures that occurred as a result of the configuration change.</p>
|
|
4027
|
+
* @public
|
|
4028
|
+
*/
|
|
4029
|
+
ValidationFailures?: ValidationFailure[] | undefined;
|
|
4030
|
+
/**
|
|
4031
|
+
* <p>The list of advisory warning codes that were accepted for the configuration change.</p>
|
|
4032
|
+
* @public
|
|
4033
|
+
*/
|
|
4034
|
+
AcceptedWarnings?: string[] | undefined;
|
|
4003
4035
|
}
|
|
4004
4036
|
/**
|
|
4005
4037
|
* <p>The result of a <code>DescribeDomainChangeProgress</code> request. Contains progress
|
|
@@ -4873,23 +4905,6 @@ export interface DescribeDryRunProgressRequest {
|
|
|
4873
4905
|
*/
|
|
4874
4906
|
LoadDryRunConfig?: boolean | undefined;
|
|
4875
4907
|
}
|
|
4876
|
-
/**
|
|
4877
|
-
* <p>A validation failure that occurred as the result of a pre-update validation check
|
|
4878
|
-
* (verbose dry run) on a domain.</p>
|
|
4879
|
-
* @public
|
|
4880
|
-
*/
|
|
4881
|
-
export interface ValidationFailure {
|
|
4882
|
-
/**
|
|
4883
|
-
* <p>The error code of the failure.</p>
|
|
4884
|
-
* @public
|
|
4885
|
-
*/
|
|
4886
|
-
Code?: string | undefined;
|
|
4887
|
-
/**
|
|
4888
|
-
* <p>A message corresponding to the failure.</p>
|
|
4889
|
-
* @public
|
|
4890
|
-
*/
|
|
4891
|
-
Message?: string | undefined;
|
|
4892
|
-
}
|
|
4893
4908
|
/**
|
|
4894
4909
|
* <p>Information about the progress of a pre-upgrade dry run analysis.</p>
|
|
4895
4910
|
* @public
|
|
@@ -4916,10 +4931,15 @@ export interface DryRunProgressStatus {
|
|
|
4916
4931
|
*/
|
|
4917
4932
|
UpdateDate: string | undefined;
|
|
4918
4933
|
/**
|
|
4919
|
-
* <p>
|
|
4934
|
+
* <p>The validation failures that occurred as a result of the dry run.</p>
|
|
4920
4935
|
* @public
|
|
4921
4936
|
*/
|
|
4922
4937
|
ValidationFailures?: ValidationFailure[] | undefined;
|
|
4938
|
+
/**
|
|
4939
|
+
* <p>The list of advisory warning codes that were accepted for the configuration change.</p>
|
|
4940
|
+
* @public
|
|
4941
|
+
*/
|
|
4942
|
+
AcceptedWarnings?: string[] | undefined;
|
|
4923
4943
|
}
|
|
4924
4944
|
/**
|
|
4925
4945
|
* <p>Results of a dry run performed in an update domain request.</p>
|
|
@@ -967,6 +967,11 @@ export interface UpdateDomainConfigRequest {
|
|
|
967
967
|
* @public
|
|
968
968
|
*/
|
|
969
969
|
EngineMode?: EngineMode | undefined;
|
|
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>
|
|
972
|
+
* @public
|
|
973
|
+
*/
|
|
974
|
+
AcceptedWarnings?: string[] | undefined;
|
|
970
975
|
}
|
|
971
976
|
/**
|
|
972
977
|
* <p>The results of an <code>UpdateDomain</code> request. Contains the status of the domain
|
|
@@ -422,6 +422,12 @@ export declare const OverallChangeStatus: {
|
|
|
422
422
|
readonly PROCESSING: "PROCESSING";
|
|
423
423
|
};
|
|
424
424
|
export type OverallChangeStatus = (typeof OverallChangeStatus)[keyof typeof OverallChangeStatus];
|
|
425
|
+
export declare const ValidationFailureSeverity: {
|
|
426
|
+
readonly CRITICAL: "Critical";
|
|
427
|
+
readonly WARNING: "Warning";
|
|
428
|
+
};
|
|
429
|
+
export type ValidationFailureSeverity =
|
|
430
|
+
(typeof ValidationFailureSeverity)[keyof typeof ValidationFailureSeverity];
|
|
425
431
|
export declare const RollbackOnDisable: {
|
|
426
432
|
readonly DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK";
|
|
427
433
|
readonly NO_ROLLBACK: "NO_ROLLBACK";
|
|
@@ -70,6 +70,7 @@ import {
|
|
|
70
70
|
TLSSecurityPolicy,
|
|
71
71
|
UpgradeStatus,
|
|
72
72
|
UpgradeStep,
|
|
73
|
+
ValidationFailureSeverity,
|
|
73
74
|
VolumeType,
|
|
74
75
|
VpcEndpointErrorCode,
|
|
75
76
|
VpcEndpointStatus,
|
|
@@ -913,6 +914,11 @@ export interface ChangeProgressStage {
|
|
|
913
914
|
Description?: string | undefined;
|
|
914
915
|
LastUpdated?: Date | undefined;
|
|
915
916
|
}
|
|
917
|
+
export interface ValidationFailure {
|
|
918
|
+
Code?: string | undefined;
|
|
919
|
+
Message?: string | undefined;
|
|
920
|
+
Severity?: ValidationFailureSeverity | undefined;
|
|
921
|
+
}
|
|
916
922
|
export interface ChangeProgressStatusDetails {
|
|
917
923
|
ChangeId?: string | undefined;
|
|
918
924
|
StartTime?: Date | undefined;
|
|
@@ -924,6 +930,8 @@ export interface ChangeProgressStatusDetails {
|
|
|
924
930
|
LastUpdatedTime?: Date | undefined;
|
|
925
931
|
ConfigChangeStatus?: ConfigChangeStatus | undefined;
|
|
926
932
|
InitiatedBy?: InitiatedBy | undefined;
|
|
933
|
+
ValidationFailures?: ValidationFailure[] | undefined;
|
|
934
|
+
AcceptedWarnings?: string[] | undefined;
|
|
927
935
|
}
|
|
928
936
|
export interface DescribeDomainChangeProgressResponse {
|
|
929
937
|
ChangeProgressStatus?: ChangeProgressStatusDetails | undefined;
|
|
@@ -1107,16 +1115,13 @@ export interface DescribeDryRunProgressRequest {
|
|
|
1107
1115
|
DryRunId?: string | undefined;
|
|
1108
1116
|
LoadDryRunConfig?: boolean | undefined;
|
|
1109
1117
|
}
|
|
1110
|
-
export interface ValidationFailure {
|
|
1111
|
-
Code?: string | undefined;
|
|
1112
|
-
Message?: string | undefined;
|
|
1113
|
-
}
|
|
1114
1118
|
export interface DryRunProgressStatus {
|
|
1115
1119
|
DryRunId: string | undefined;
|
|
1116
1120
|
DryRunStatus: string | undefined;
|
|
1117
1121
|
CreationDate: string | undefined;
|
|
1118
1122
|
UpdateDate: string | undefined;
|
|
1119
1123
|
ValidationFailures?: ValidationFailure[] | undefined;
|
|
1124
|
+
AcceptedWarnings?: string[] | undefined;
|
|
1120
1125
|
}
|
|
1121
1126
|
export interface DryRunResults {
|
|
1122
1127
|
DeploymentType?: string | undefined;
|
|
@@ -277,6 +277,7 @@ export interface UpdateDomainConfigRequest {
|
|
|
277
277
|
AutomatedSnapshotPauseOptions?: AutomatedSnapshotPauseRequestOptions | undefined;
|
|
278
278
|
UseCase?: DomainUseCase | undefined;
|
|
279
279
|
EngineMode?: EngineMode | undefined;
|
|
280
|
+
AcceptedWarnings?: string[] | undefined;
|
|
280
281
|
}
|
|
281
282
|
export interface UpdateDomainConfigResponse {
|
|
282
283
|
DomainConfig: DomainConfig | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1144.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",
|