@aws-sdk/client-opensearch 3.507.0 → 3.509.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/README.md +8 -0
- package/dist-cjs/commands/CancelDomainConfigChangeCommand.js +1 -0
- package/dist-cjs/index.js +106 -3
- package/dist-es/OpenSearch.js +2 -0
- package/dist-es/commands/CancelDomainConfigChangeCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +27 -0
- package/dist-es/protocols/Aws_restJson1.js +49 -3
- package/dist-types/OpenSearch.d.ts +7 -0
- package/dist-types/OpenSearchClient.d.ts +3 -2
- package/dist-types/commands/CancelDomainConfigChangeCommand.d.ts +84 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +13 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +12 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +13 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +12 -0
- package/dist-types/commands/UpgradeDomainCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +205 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +17 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -251,6 +251,14 @@ AuthorizeVpcEndpointAccess
|
|
|
251
251
|
|
|
252
252
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AuthorizeVpcEndpointAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AuthorizeVpcEndpointAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AuthorizeVpcEndpointAccessCommandOutput/)
|
|
253
253
|
|
|
254
|
+
</details>
|
|
255
|
+
<details>
|
|
256
|
+
<summary>
|
|
257
|
+
CancelDomainConfigChange
|
|
258
|
+
</summary>
|
|
259
|
+
|
|
260
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/CancelDomainConfigChangeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/CancelDomainConfigChangeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/CancelDomainConfigChangeCommandOutput/)
|
|
261
|
+
|
|
254
262
|
</details>
|
|
255
263
|
<details>
|
|
256
264
|
<summary>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/index.js
CHANGED
|
@@ -35,7 +35,9 @@ __export(src_exports, {
|
|
|
35
35
|
AutoTuneState: () => AutoTuneState,
|
|
36
36
|
AutoTuneType: () => AutoTuneType,
|
|
37
37
|
BaseException: () => BaseException,
|
|
38
|
+
CancelDomainConfigChangeCommand: () => CancelDomainConfigChangeCommand,
|
|
38
39
|
CancelServiceSoftwareUpdateCommand: () => CancelServiceSoftwareUpdateCommand,
|
|
40
|
+
ConfigChangeStatus: () => ConfigChangeStatus,
|
|
39
41
|
ConflictException: () => ConflictException,
|
|
40
42
|
ConnectionMode: () => ConnectionMode,
|
|
41
43
|
CreateDomainCommand: () => CreateDomainCommand,
|
|
@@ -72,6 +74,7 @@ __export(src_exports, {
|
|
|
72
74
|
DissociatePackageCommand: () => DissociatePackageCommand,
|
|
73
75
|
DomainHealth: () => DomainHealth,
|
|
74
76
|
DomainPackageStatus: () => DomainPackageStatus,
|
|
77
|
+
DomainProcessingStatusType: () => DomainProcessingStatusType,
|
|
75
78
|
DomainState: () => DomainState,
|
|
76
79
|
DryRunMode: () => DryRunMode,
|
|
77
80
|
EngineType: () => EngineType,
|
|
@@ -83,6 +86,7 @@ __export(src_exports, {
|
|
|
83
86
|
GetUpgradeStatusCommand: () => GetUpgradeStatusCommand,
|
|
84
87
|
IPAddressType: () => IPAddressType,
|
|
85
88
|
InboundConnectionStatusCode: () => InboundConnectionStatusCode,
|
|
89
|
+
InitiatedBy: () => InitiatedBy,
|
|
86
90
|
InternalException: () => InternalException,
|
|
87
91
|
InvalidPaginationTokenException: () => InvalidPaginationTokenException,
|
|
88
92
|
InvalidTypeException: () => InvalidTypeException,
|
|
@@ -117,6 +121,7 @@ __export(src_exports, {
|
|
|
117
121
|
PackageStatus: () => PackageStatus,
|
|
118
122
|
PackageType: () => PackageType,
|
|
119
123
|
PrincipalType: () => PrincipalType,
|
|
124
|
+
PropertyValueType: () => PropertyValueType,
|
|
120
125
|
PurchaseReservedInstanceOfferingCommand: () => PurchaseReservedInstanceOfferingCommand,
|
|
121
126
|
RejectInboundConnectionCommand: () => RejectInboundConnectionCommand,
|
|
122
127
|
RemoveTagsCommand: () => RemoveTagsCommand,
|
|
@@ -646,6 +651,33 @@ var AutoTuneState = {
|
|
|
646
651
|
ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
|
|
647
652
|
ERROR: "ERROR"
|
|
648
653
|
};
|
|
654
|
+
var ConfigChangeStatus = {
|
|
655
|
+
APPLYING_CHANGES: "ApplyingChanges",
|
|
656
|
+
CANCELLED: "Cancelled",
|
|
657
|
+
COMPLETED: "Completed",
|
|
658
|
+
INITIALIZING: "Initializing",
|
|
659
|
+
PENDING: "Pending",
|
|
660
|
+
PENDING_USER_INPUT: "PendingUserInput",
|
|
661
|
+
VALIDATING: "Validating",
|
|
662
|
+
VALIDATION_FAILED: "ValidationFailed"
|
|
663
|
+
};
|
|
664
|
+
var InitiatedBy = {
|
|
665
|
+
CUSTOMER: "CUSTOMER",
|
|
666
|
+
SERVICE: "SERVICE"
|
|
667
|
+
};
|
|
668
|
+
var DomainProcessingStatusType = {
|
|
669
|
+
ACTIVE: "Active",
|
|
670
|
+
CREATING: "Creating",
|
|
671
|
+
DELETING: "Deleting",
|
|
672
|
+
ISOLATED: "Isolated",
|
|
673
|
+
MODIFYING: "Modifying",
|
|
674
|
+
UPDATING: "UpdatingServiceSoftware",
|
|
675
|
+
UPGRADING: "UpgradingEngineVersion"
|
|
676
|
+
};
|
|
677
|
+
var PropertyValueType = {
|
|
678
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
679
|
+
STRINGIFIED_JSON: "STRINGIFIED_JSON"
|
|
680
|
+
};
|
|
649
681
|
var _InvalidTypeException = class _InvalidTypeException extends OpenSearchServiceException {
|
|
650
682
|
/**
|
|
651
683
|
* @internal
|
|
@@ -955,6 +987,22 @@ var se_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input,
|
|
|
955
987
|
b.m("POST").h(headers).b(body);
|
|
956
988
|
return b.build();
|
|
957
989
|
}, "se_AuthorizeVpcEndpointAccessCommand");
|
|
990
|
+
var se_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
991
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
992
|
+
const headers = {
|
|
993
|
+
"content-type": "application/json"
|
|
994
|
+
};
|
|
995
|
+
b.bp("/2021-01-01/opensearch/domain/{DomainName}/config/cancel");
|
|
996
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
997
|
+
let body;
|
|
998
|
+
body = JSON.stringify(
|
|
999
|
+
(0, import_smithy_client.take)(input, {
|
|
1000
|
+
DryRun: []
|
|
1001
|
+
})
|
|
1002
|
+
);
|
|
1003
|
+
b.m("POST").h(headers).b(body);
|
|
1004
|
+
return b.build();
|
|
1005
|
+
}, "se_CancelDomainConfigChangeCommand");
|
|
958
1006
|
var se_CancelServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
959
1007
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
960
1008
|
const headers = {
|
|
@@ -1816,6 +1864,22 @@ var de_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1816
1864
|
Object.assign(contents, doc);
|
|
1817
1865
|
return contents;
|
|
1818
1866
|
}, "de_AuthorizeVpcEndpointAccessCommand");
|
|
1867
|
+
var de_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1868
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1869
|
+
return de_CommandError(output, context);
|
|
1870
|
+
}
|
|
1871
|
+
const contents = (0, import_smithy_client.map)({
|
|
1872
|
+
$metadata: deserializeMetadata(output)
|
|
1873
|
+
});
|
|
1874
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1875
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1876
|
+
CancelledChangeIds: import_smithy_client._json,
|
|
1877
|
+
CancelledChangeProperties: import_smithy_client._json,
|
|
1878
|
+
DryRun: import_smithy_client.expectBoolean
|
|
1879
|
+
});
|
|
1880
|
+
Object.assign(contents, doc);
|
|
1881
|
+
return contents;
|
|
1882
|
+
}, "de_CancelDomainConfigChangeCommand");
|
|
1819
1883
|
var de_CancelServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1820
1884
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1821
1885
|
return de_CommandError(output, context);
|
|
@@ -2653,7 +2717,7 @@ var de_UpgradeDomainCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2653
2717
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2654
2718
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2655
2719
|
AdvancedOptions: import_smithy_client._json,
|
|
2656
|
-
ChangeProgressDetails:
|
|
2720
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
2657
2721
|
DomainName: import_smithy_client.expectString,
|
|
2658
2722
|
PerformCheckOnly: import_smithy_client.expectBoolean,
|
|
2659
2723
|
TargetVersion: import_smithy_client.expectString,
|
|
@@ -2996,6 +3060,16 @@ var de_AutoTuneStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
2996
3060
|
UpdateVersion: import_smithy_client.expectInt32
|
|
2997
3061
|
});
|
|
2998
3062
|
}, "de_AutoTuneStatus");
|
|
3063
|
+
var de_ChangeProgressDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3064
|
+
return (0, import_smithy_client.take)(output, {
|
|
3065
|
+
ChangeId: import_smithy_client.expectString,
|
|
3066
|
+
ConfigChangeStatus: import_smithy_client.expectString,
|
|
3067
|
+
InitiatedBy: import_smithy_client.expectString,
|
|
3068
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3069
|
+
Message: import_smithy_client.expectString,
|
|
3070
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3071
|
+
});
|
|
3072
|
+
}, "de_ChangeProgressDetails");
|
|
2999
3073
|
var de_ChangeProgressStage = /* @__PURE__ */ __name((output, context) => {
|
|
3000
3074
|
return (0, import_smithy_client.take)(output, {
|
|
3001
3075
|
Description: import_smithy_client.expectString,
|
|
@@ -3015,6 +3089,9 @@ var de_ChangeProgressStatusDetails = /* @__PURE__ */ __name((output, context) =>
|
|
|
3015
3089
|
ChangeId: import_smithy_client.expectString,
|
|
3016
3090
|
ChangeProgressStages: (_) => de_ChangeProgressStageList(_, context),
|
|
3017
3091
|
CompletedProperties: import_smithy_client._json,
|
|
3092
|
+
ConfigChangeStatus: import_smithy_client.expectString,
|
|
3093
|
+
InitiatedBy: import_smithy_client.expectString,
|
|
3094
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3018
3095
|
PendingProperties: import_smithy_client._json,
|
|
3019
3096
|
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3020
3097
|
Status: import_smithy_client.expectString,
|
|
@@ -3039,7 +3116,7 @@ var de_DomainConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
3039
3116
|
AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
|
|
3040
3117
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
|
|
3041
3118
|
AutoTuneOptions: (_) => de_AutoTuneOptionsStatus(_, context),
|
|
3042
|
-
ChangeProgressDetails:
|
|
3119
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
3043
3120
|
ClusterConfig: (_) => de_ClusterConfigStatus(_, context),
|
|
3044
3121
|
CognitoOptions: (_) => de_CognitoOptionsStatus(_, context),
|
|
3045
3122
|
DomainEndpointOptions: (_) => de_DomainEndpointOptionsStatus(_, context),
|
|
@@ -3048,6 +3125,7 @@ var de_DomainConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
3048
3125
|
EngineVersion: (_) => de_VersionStatus(_, context),
|
|
3049
3126
|
IPAddressType: (_) => de_IPAddressTypeStatus(_, context),
|
|
3050
3127
|
LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
|
|
3128
|
+
ModifyingProperties: import_smithy_client._json,
|
|
3051
3129
|
NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
|
|
3052
3130
|
OffPeakWindowOptions: (_) => de_OffPeakWindowOptionsStatus(_, context),
|
|
3053
3131
|
SnapshotOptions: (_) => de_SnapshotOptionsStatus(_, context),
|
|
@@ -3105,7 +3183,7 @@ var de_DomainStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
3105
3183
|
AdvancedOptions: import_smithy_client._json,
|
|
3106
3184
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptions(_, context),
|
|
3107
3185
|
AutoTuneOptions: import_smithy_client._json,
|
|
3108
|
-
ChangeProgressDetails:
|
|
3186
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
3109
3187
|
ClusterConfig: import_smithy_client._json,
|
|
3110
3188
|
CognitoOptions: import_smithy_client._json,
|
|
3111
3189
|
Created: import_smithy_client.expectBoolean,
|
|
@@ -3113,6 +3191,7 @@ var de_DomainStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
3113
3191
|
DomainEndpointOptions: import_smithy_client._json,
|
|
3114
3192
|
DomainId: import_smithy_client.expectString,
|
|
3115
3193
|
DomainName: import_smithy_client.expectString,
|
|
3194
|
+
DomainProcessingStatus: import_smithy_client.expectString,
|
|
3116
3195
|
EBSOptions: import_smithy_client._json,
|
|
3117
3196
|
EncryptionAtRestOptions: import_smithy_client._json,
|
|
3118
3197
|
Endpoint: import_smithy_client.expectString,
|
|
@@ -3121,6 +3200,7 @@ var de_DomainStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
3121
3200
|
EngineVersion: import_smithy_client.expectString,
|
|
3122
3201
|
IPAddressType: import_smithy_client.expectString,
|
|
3123
3202
|
LogPublishingOptions: import_smithy_client._json,
|
|
3203
|
+
ModifyingProperties: import_smithy_client._json,
|
|
3124
3204
|
NodeToNodeEncryptionOptions: import_smithy_client._json,
|
|
3125
3205
|
OffPeakWindowOptions: import_smithy_client._json,
|
|
3126
3206
|
Processing: import_smithy_client.expectBoolean,
|
|
@@ -3502,6 +3582,23 @@ var _AuthorizeVpcEndpointAccessCommand = class _AuthorizeVpcEndpointAccessComman
|
|
|
3502
3582
|
__name(_AuthorizeVpcEndpointAccessCommand, "AuthorizeVpcEndpointAccessCommand");
|
|
3503
3583
|
var AuthorizeVpcEndpointAccessCommand = _AuthorizeVpcEndpointAccessCommand;
|
|
3504
3584
|
|
|
3585
|
+
// src/commands/CancelDomainConfigChangeCommand.ts
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
var _CancelDomainConfigChangeCommand = class _CancelDomainConfigChangeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3591
|
+
...commonParams
|
|
3592
|
+
}).m(function(Command, cs, config, o) {
|
|
3593
|
+
return [
|
|
3594
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3595
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3596
|
+
];
|
|
3597
|
+
}).s("AmazonOpenSearchService", "CancelDomainConfigChange", {}).n("OpenSearchClient", "CancelDomainConfigChangeCommand").f(void 0, void 0).ser(se_CancelDomainConfigChangeCommand).de(de_CancelDomainConfigChangeCommand).build() {
|
|
3598
|
+
};
|
|
3599
|
+
__name(_CancelDomainConfigChangeCommand, "CancelDomainConfigChangeCommand");
|
|
3600
|
+
var CancelDomainConfigChangeCommand = _CancelDomainConfigChangeCommand;
|
|
3601
|
+
|
|
3505
3602
|
// src/commands/CancelServiceSoftwareUpdateCommand.ts
|
|
3506
3603
|
|
|
3507
3604
|
|
|
@@ -4478,6 +4575,7 @@ var commands = {
|
|
|
4478
4575
|
AddTagsCommand,
|
|
4479
4576
|
AssociatePackageCommand,
|
|
4480
4577
|
AuthorizeVpcEndpointAccessCommand,
|
|
4578
|
+
CancelDomainConfigChangeCommand,
|
|
4481
4579
|
CancelServiceSoftwareUpdateCommand,
|
|
4482
4580
|
CreateDomainCommand,
|
|
4483
4581
|
CreateOutboundConnectionCommand,
|
|
@@ -4613,6 +4711,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
4613
4711
|
AddTagsCommand,
|
|
4614
4712
|
AssociatePackageCommand,
|
|
4615
4713
|
AuthorizeVpcEndpointAccessCommand,
|
|
4714
|
+
CancelDomainConfigChangeCommand,
|
|
4616
4715
|
CancelServiceSoftwareUpdateCommand,
|
|
4617
4716
|
CreateDomainCommand,
|
|
4618
4717
|
CreateOutboundConnectionCommand,
|
|
@@ -4713,6 +4812,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
4713
4812
|
IPAddressType,
|
|
4714
4813
|
LogType,
|
|
4715
4814
|
AutoTuneState,
|
|
4815
|
+
ConfigChangeStatus,
|
|
4816
|
+
InitiatedBy,
|
|
4817
|
+
DomainProcessingStatusType,
|
|
4818
|
+
PropertyValueType,
|
|
4716
4819
|
InvalidTypeException,
|
|
4717
4820
|
ResourceAlreadyExistsException,
|
|
4718
4821
|
SkipUnavailableStatus,
|
package/dist-es/OpenSearch.js
CHANGED
|
@@ -4,6 +4,7 @@ import { AddDataSourceCommand, } from "./commands/AddDataSourceCommand";
|
|
|
4
4
|
import { AddTagsCommand } from "./commands/AddTagsCommand";
|
|
5
5
|
import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
|
|
6
6
|
import { AuthorizeVpcEndpointAccessCommand, } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
|
+
import { CancelDomainConfigChangeCommand, } from "./commands/CancelDomainConfigChangeCommand";
|
|
7
8
|
import { CancelServiceSoftwareUpdateCommand, } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
8
9
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
9
10
|
import { CreateOutboundConnectionCommand, } from "./commands/CreateOutboundConnectionCommand";
|
|
@@ -68,6 +69,7 @@ const commands = {
|
|
|
68
69
|
AddTagsCommand,
|
|
69
70
|
AssociatePackageCommand,
|
|
70
71
|
AuthorizeVpcEndpointAccessCommand,
|
|
72
|
+
CancelDomainConfigChangeCommand,
|
|
71
73
|
CancelServiceSoftwareUpdateCommand,
|
|
72
74
|
CreateDomainCommand,
|
|
73
75
|
CreateOutboundConnectionCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CancelDomainConfigChangeCommand, se_CancelDomainConfigChangeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CancelDomainConfigChangeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonOpenSearchService", "CancelDomainConfigChange", {})
|
|
19
|
+
.n("OpenSearchClient", "CancelDomainConfigChangeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CancelDomainConfigChangeCommand)
|
|
22
|
+
.de(de_CancelDomainConfigChangeCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./AddDataSourceCommand";
|
|
|
3
3
|
export * from "./AddTagsCommand";
|
|
4
4
|
export * from "./AssociatePackageCommand";
|
|
5
5
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
6
|
+
export * from "./CancelDomainConfigChangeCommand";
|
|
6
7
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
7
8
|
export * from "./CreateDomainCommand";
|
|
8
9
|
export * from "./CreateOutboundConnectionCommand";
|
|
@@ -316,6 +316,33 @@ export const AutoTuneState = {
|
|
|
316
316
|
ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
|
|
317
317
|
ERROR: "ERROR",
|
|
318
318
|
};
|
|
319
|
+
export const ConfigChangeStatus = {
|
|
320
|
+
APPLYING_CHANGES: "ApplyingChanges",
|
|
321
|
+
CANCELLED: "Cancelled",
|
|
322
|
+
COMPLETED: "Completed",
|
|
323
|
+
INITIALIZING: "Initializing",
|
|
324
|
+
PENDING: "Pending",
|
|
325
|
+
PENDING_USER_INPUT: "PendingUserInput",
|
|
326
|
+
VALIDATING: "Validating",
|
|
327
|
+
VALIDATION_FAILED: "ValidationFailed",
|
|
328
|
+
};
|
|
329
|
+
export const InitiatedBy = {
|
|
330
|
+
CUSTOMER: "CUSTOMER",
|
|
331
|
+
SERVICE: "SERVICE",
|
|
332
|
+
};
|
|
333
|
+
export const DomainProcessingStatusType = {
|
|
334
|
+
ACTIVE: "Active",
|
|
335
|
+
CREATING: "Creating",
|
|
336
|
+
DELETING: "Deleting",
|
|
337
|
+
ISOLATED: "Isolated",
|
|
338
|
+
MODIFYING: "Modifying",
|
|
339
|
+
UPDATING: "UpdatingServiceSoftware",
|
|
340
|
+
UPGRADING: "UpgradingEngineVersion",
|
|
341
|
+
};
|
|
342
|
+
export const PropertyValueType = {
|
|
343
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
344
|
+
STRINGIFIED_JSON: "STRINGIFIED_JSON",
|
|
345
|
+
};
|
|
319
346
|
export class InvalidTypeException extends __BaseException {
|
|
320
347
|
constructor(opts) {
|
|
321
348
|
super({
|
|
@@ -66,6 +66,20 @@ export const se_AuthorizeVpcEndpointAccessCommand = async (input, context) => {
|
|
|
66
66
|
b.m("POST").h(headers).b(body);
|
|
67
67
|
return b.build();
|
|
68
68
|
};
|
|
69
|
+
export const se_CancelDomainConfigChangeCommand = async (input, context) => {
|
|
70
|
+
const b = rb(input, context);
|
|
71
|
+
const headers = {
|
|
72
|
+
"content-type": "application/json",
|
|
73
|
+
};
|
|
74
|
+
b.bp("/2021-01-01/opensearch/domain/{DomainName}/config/cancel");
|
|
75
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
76
|
+
let body;
|
|
77
|
+
body = JSON.stringify(take(input, {
|
|
78
|
+
DryRun: [],
|
|
79
|
+
}));
|
|
80
|
+
b.m("POST").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
82
|
+
};
|
|
69
83
|
export const se_CancelServiceSoftwareUpdateCommand = async (input, context) => {
|
|
70
84
|
const b = rb(input, context);
|
|
71
85
|
const headers = {
|
|
@@ -883,6 +897,22 @@ export const de_AuthorizeVpcEndpointAccessCommand = async (output, context) => {
|
|
|
883
897
|
Object.assign(contents, doc);
|
|
884
898
|
return contents;
|
|
885
899
|
};
|
|
900
|
+
export const de_CancelDomainConfigChangeCommand = async (output, context) => {
|
|
901
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
902
|
+
return de_CommandError(output, context);
|
|
903
|
+
}
|
|
904
|
+
const contents = map({
|
|
905
|
+
$metadata: deserializeMetadata(output),
|
|
906
|
+
});
|
|
907
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
908
|
+
const doc = take(data, {
|
|
909
|
+
CancelledChangeIds: _json,
|
|
910
|
+
CancelledChangeProperties: _json,
|
|
911
|
+
DryRun: __expectBoolean,
|
|
912
|
+
});
|
|
913
|
+
Object.assign(contents, doc);
|
|
914
|
+
return contents;
|
|
915
|
+
};
|
|
886
916
|
export const de_CancelServiceSoftwareUpdateCommand = async (output, context) => {
|
|
887
917
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
888
918
|
return de_CommandError(output, context);
|
|
@@ -1720,7 +1750,7 @@ export const de_UpgradeDomainCommand = async (output, context) => {
|
|
|
1720
1750
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1721
1751
|
const doc = take(data, {
|
|
1722
1752
|
AdvancedOptions: _json,
|
|
1723
|
-
ChangeProgressDetails:
|
|
1753
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
1724
1754
|
DomainName: __expectString,
|
|
1725
1755
|
PerformCheckOnly: __expectBoolean,
|
|
1726
1756
|
TargetVersion: __expectString,
|
|
@@ -2069,6 +2099,16 @@ const de_AutoTuneStatus = (output, context) => {
|
|
|
2069
2099
|
UpdateVersion: __expectInt32,
|
|
2070
2100
|
});
|
|
2071
2101
|
};
|
|
2102
|
+
const de_ChangeProgressDetails = (output, context) => {
|
|
2103
|
+
return take(output, {
|
|
2104
|
+
ChangeId: __expectString,
|
|
2105
|
+
ConfigChangeStatus: __expectString,
|
|
2106
|
+
InitiatedBy: __expectString,
|
|
2107
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2108
|
+
Message: __expectString,
|
|
2109
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2110
|
+
});
|
|
2111
|
+
};
|
|
2072
2112
|
const de_ChangeProgressStage = (output, context) => {
|
|
2073
2113
|
return take(output, {
|
|
2074
2114
|
Description: __expectString,
|
|
@@ -2090,6 +2130,9 @@ const de_ChangeProgressStatusDetails = (output, context) => {
|
|
|
2090
2130
|
ChangeId: __expectString,
|
|
2091
2131
|
ChangeProgressStages: (_) => de_ChangeProgressStageList(_, context),
|
|
2092
2132
|
CompletedProperties: _json,
|
|
2133
|
+
ConfigChangeStatus: __expectString,
|
|
2134
|
+
InitiatedBy: __expectString,
|
|
2135
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2093
2136
|
PendingProperties: _json,
|
|
2094
2137
|
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2095
2138
|
Status: __expectString,
|
|
@@ -2114,7 +2157,7 @@ const de_DomainConfig = (output, context) => {
|
|
|
2114
2157
|
AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
|
|
2115
2158
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
|
|
2116
2159
|
AutoTuneOptions: (_) => de_AutoTuneOptionsStatus(_, context),
|
|
2117
|
-
ChangeProgressDetails:
|
|
2160
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
2118
2161
|
ClusterConfig: (_) => de_ClusterConfigStatus(_, context),
|
|
2119
2162
|
CognitoOptions: (_) => de_CognitoOptionsStatus(_, context),
|
|
2120
2163
|
DomainEndpointOptions: (_) => de_DomainEndpointOptionsStatus(_, context),
|
|
@@ -2123,6 +2166,7 @@ const de_DomainConfig = (output, context) => {
|
|
|
2123
2166
|
EngineVersion: (_) => de_VersionStatus(_, context),
|
|
2124
2167
|
IPAddressType: (_) => de_IPAddressTypeStatus(_, context),
|
|
2125
2168
|
LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
|
|
2169
|
+
ModifyingProperties: _json,
|
|
2126
2170
|
NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
|
|
2127
2171
|
OffPeakWindowOptions: (_) => de_OffPeakWindowOptionsStatus(_, context),
|
|
2128
2172
|
SnapshotOptions: (_) => de_SnapshotOptionsStatus(_, context),
|
|
@@ -2184,7 +2228,7 @@ const de_DomainStatus = (output, context) => {
|
|
|
2184
2228
|
AdvancedOptions: _json,
|
|
2185
2229
|
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptions(_, context),
|
|
2186
2230
|
AutoTuneOptions: _json,
|
|
2187
|
-
ChangeProgressDetails:
|
|
2231
|
+
ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
|
|
2188
2232
|
ClusterConfig: _json,
|
|
2189
2233
|
CognitoOptions: _json,
|
|
2190
2234
|
Created: __expectBoolean,
|
|
@@ -2192,6 +2236,7 @@ const de_DomainStatus = (output, context) => {
|
|
|
2192
2236
|
DomainEndpointOptions: _json,
|
|
2193
2237
|
DomainId: __expectString,
|
|
2194
2238
|
DomainName: __expectString,
|
|
2239
|
+
DomainProcessingStatus: __expectString,
|
|
2195
2240
|
EBSOptions: _json,
|
|
2196
2241
|
EncryptionAtRestOptions: _json,
|
|
2197
2242
|
Endpoint: __expectString,
|
|
@@ -2200,6 +2245,7 @@ const de_DomainStatus = (output, context) => {
|
|
|
2200
2245
|
EngineVersion: __expectString,
|
|
2201
2246
|
IPAddressType: __expectString,
|
|
2202
2247
|
LogPublishingOptions: _json,
|
|
2248
|
+
ModifyingProperties: _json,
|
|
2203
2249
|
NodeToNodeEncryptionOptions: _json,
|
|
2204
2250
|
OffPeakWindowOptions: _json,
|
|
2205
2251
|
Processing: __expectBoolean,
|
|
@@ -4,6 +4,7 @@ import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./command
|
|
|
4
4
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
5
5
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
6
6
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
|
+
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
7
8
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
8
9
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
9
10
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
@@ -93,6 +94,12 @@ export interface OpenSearch {
|
|
|
93
94
|
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeVpcEndpointAccessCommandOutput>;
|
|
94
95
|
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
|
|
95
96
|
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link CancelDomainConfigChangeCommand}
|
|
99
|
+
*/
|
|
100
|
+
cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, options?: __HttpHandlerOptions): Promise<CancelDomainConfigChangeCommandOutput>;
|
|
101
|
+
cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void): void;
|
|
102
|
+
cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void): void;
|
|
96
103
|
/**
|
|
97
104
|
* @see {@link CancelServiceSoftwareUpdateCommand}
|
|
98
105
|
*/
|
|
@@ -13,6 +13,7 @@ import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./command
|
|
|
13
13
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
14
14
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
15
15
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
16
|
+
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
16
17
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
17
18
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
18
19
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
@@ -76,11 +77,11 @@ export { __Client };
|
|
|
76
77
|
/**
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
80
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
80
81
|
/**
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
84
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
84
85
|
/**
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CancelDomainConfigChangeRequest, CancelDomainConfigChangeResponse } from "../models/models_0";
|
|
4
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CancelDomainConfigChangeCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CancelDomainConfigChangeCommandInput extends CancelDomainConfigChangeRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CancelDomainConfigChangeCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CancelDomainConfigChangeCommandOutput extends CancelDomainConfigChangeResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CancelDomainConfigChangeCommand_base: {
|
|
24
|
+
new (input: CancelDomainConfigChangeCommandInput): import("@smithy/smithy-client").CommandImpl<CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Cancels a pending configuration change on an Amazon OpenSearch Service domain.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { OpenSearchClient, CancelDomainConfigChangeCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
34
|
+
* // const { OpenSearchClient, CancelDomainConfigChangeCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
35
|
+
* const client = new OpenSearchClient(config);
|
|
36
|
+
* const input = { // CancelDomainConfigChangeRequest
|
|
37
|
+
* DomainName: "STRING_VALUE", // required
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CancelDomainConfigChangeCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // CancelDomainConfigChangeResponse
|
|
43
|
+
* // CancelledChangeIds: [ // GUIDList
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // CancelledChangeProperties: [ // CancelledChangePropertyList
|
|
47
|
+
* // { // CancelledChangeProperty
|
|
48
|
+
* // PropertyName: "STRING_VALUE",
|
|
49
|
+
* // CancelledValue: "STRING_VALUE",
|
|
50
|
+
* // ActiveValue: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // DryRun: true || false,
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param CancelDomainConfigChangeCommandInput - {@link CancelDomainConfigChangeCommandInput}
|
|
59
|
+
* @returns {@link CancelDomainConfigChangeCommandOutput}
|
|
60
|
+
* @see {@link CancelDomainConfigChangeCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link CancelDomainConfigChangeCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link BaseException} (client fault)
|
|
65
|
+
* <p>An error occurred while processing the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
68
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalException} (server fault)
|
|
71
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OpenSearchServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class CancelDomainConfigChangeCommand extends CancelDomainConfigChangeCommand_base {
|
|
84
|
+
}
|
|
@@ -280,6 +280,10 @@ declare const CreateDomainCommand_base: {
|
|
|
280
280
|
* // ChangeProgressDetails: { // ChangeProgressDetails
|
|
281
281
|
* // ChangeId: "STRING_VALUE",
|
|
282
282
|
* // Message: "STRING_VALUE",
|
|
283
|
+
* // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
|
|
284
|
+
* // InitiatedBy: "CUSTOMER" || "SERVICE",
|
|
285
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
286
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
283
287
|
* // },
|
|
284
288
|
* // OffPeakWindowOptions: { // OffPeakWindowOptions
|
|
285
289
|
* // Enabled: true || false,
|
|
@@ -293,6 +297,15 @@ declare const CreateDomainCommand_base: {
|
|
|
293
297
|
* // SoftwareUpdateOptions: { // SoftwareUpdateOptions
|
|
294
298
|
* // AutoSoftwareUpdateEnabled: true || false,
|
|
295
299
|
* // },
|
|
300
|
+
* // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
|
|
301
|
+
* // ModifyingProperties: [ // ModifyingPropertiesList
|
|
302
|
+
* // { // ModifyingProperties
|
|
303
|
+
* // Name: "STRING_VALUE",
|
|
304
|
+
* // ActiveValue: "STRING_VALUE",
|
|
305
|
+
* // PendingValue: "STRING_VALUE",
|
|
306
|
+
* // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
|
|
307
|
+
* // },
|
|
308
|
+
* // ],
|
|
296
309
|
* // },
|
|
297
310
|
* // };
|
|
298
311
|
*
|