@aws-sdk/client-opensearch 3.687.0 → 3.691.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 +24 -0
- package/dist-cjs/index.js +186 -3
- package/dist-es/OpenSearch.js +6 -0
- package/dist-es/commands/AssociatePackagesCommand.js +22 -0
- package/dist-es/commands/DissociatePackagesCommand.js +22 -0
- package/dist-es/commands/UpdatePackageScopeCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +108 -1
- package/dist-types/OpenSearch.d.ts +21 -0
- package/dist-types/OpenSearchClient.d.ts +5 -2
- package/dist-types/commands/AssociatePackageCommand.d.ts +19 -1
- package/dist-types/commands/AssociatePackagesCommand.d.ts +127 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +33 -2
- package/dist-types/commands/DeletePackageCommand.d.ts +18 -1
- package/dist-types/commands/DescribePackagesCommand.d.ts +19 -2
- package/dist-types/commands/DissociatePackageCommand.d.ts +10 -1
- package/dist-types/commands/DissociatePackagesCommand.d.ts +116 -0
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +6 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +10 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +10 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePackageCommand.d.ts +28 -1
- package/dist-types/commands/UpdatePackageScopeCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +834 -778
- package/dist-types/models/models_1.d.ts +307 -58
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociatePackagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DissociatePackagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +663 -635
- package/dist-types/ts3.4/models/models_1.d.ts +125 -57
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -238,6 +238,14 @@ AssociatePackage
|
|
|
238
238
|
|
|
239
239
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AssociatePackageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AssociatePackageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AssociatePackageCommandOutput/)
|
|
240
240
|
|
|
241
|
+
</details>
|
|
242
|
+
<details>
|
|
243
|
+
<summary>
|
|
244
|
+
AssociatePackages
|
|
245
|
+
</summary>
|
|
246
|
+
|
|
247
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AssociatePackagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AssociatePackagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AssociatePackagesCommandOutput/)
|
|
248
|
+
|
|
241
249
|
</details>
|
|
242
250
|
<details>
|
|
243
251
|
<summary>
|
|
@@ -486,6 +494,14 @@ DissociatePackage
|
|
|
486
494
|
|
|
487
495
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DissociatePackageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DissociatePackageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DissociatePackageCommandOutput/)
|
|
488
496
|
|
|
497
|
+
</details>
|
|
498
|
+
<details>
|
|
499
|
+
<summary>
|
|
500
|
+
DissociatePackages
|
|
501
|
+
</summary>
|
|
502
|
+
|
|
503
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DissociatePackagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DissociatePackagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DissociatePackagesCommandOutput/)
|
|
504
|
+
|
|
489
505
|
</details>
|
|
490
506
|
<details>
|
|
491
507
|
<summary>
|
|
@@ -726,6 +742,14 @@ UpdatePackage
|
|
|
726
742
|
|
|
727
743
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/UpdatePackageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdatePackageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdatePackageCommandOutput/)
|
|
728
744
|
|
|
745
|
+
</details>
|
|
746
|
+
<details>
|
|
747
|
+
<summary>
|
|
748
|
+
UpdatePackageScope
|
|
749
|
+
</summary>
|
|
750
|
+
|
|
751
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/UpdatePackageScopeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdatePackageScopeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdatePackageScopeCommandOutput/)
|
|
752
|
+
|
|
729
753
|
</details>
|
|
730
754
|
<details>
|
|
731
755
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
AppConfigType: () => AppConfigType,
|
|
34
34
|
ApplicationStatus: () => ApplicationStatus,
|
|
35
35
|
AssociatePackageCommand: () => AssociatePackageCommand,
|
|
36
|
+
AssociatePackagesCommand: () => AssociatePackagesCommand,
|
|
36
37
|
AuthorizeVpcEndpointAccessCommand: () => AuthorizeVpcEndpointAccessCommand,
|
|
37
38
|
AutoTuneDesiredState: () => AutoTuneDesiredState,
|
|
38
39
|
AutoTuneState: () => AutoTuneState,
|
|
@@ -78,6 +79,7 @@ __export(src_exports, {
|
|
|
78
79
|
DescribeVpcEndpointsCommand: () => DescribeVpcEndpointsCommand,
|
|
79
80
|
DisabledOperationException: () => DisabledOperationException,
|
|
80
81
|
DissociatePackageCommand: () => DissociatePackageCommand,
|
|
82
|
+
DissociatePackagesCommand: () => DissociatePackagesCommand,
|
|
81
83
|
DomainHealth: () => DomainHealth,
|
|
82
84
|
DomainPackageStatus: () => DomainPackageStatus,
|
|
83
85
|
DomainProcessingStatusType: () => DomainProcessingStatusType,
|
|
@@ -129,6 +131,7 @@ __export(src_exports, {
|
|
|
129
131
|
OptionState: () => OptionState,
|
|
130
132
|
OutboundConnectionStatusCode: () => OutboundConnectionStatusCode,
|
|
131
133
|
OverallChangeStatus: () => OverallChangeStatus,
|
|
134
|
+
PackageScopeOperationEnum: () => PackageScopeOperationEnum,
|
|
132
135
|
PackageStatus: () => PackageStatus,
|
|
133
136
|
PackageType: () => PackageType,
|
|
134
137
|
PrincipalType: () => PrincipalType,
|
|
@@ -136,6 +139,7 @@ __export(src_exports, {
|
|
|
136
139
|
PurchaseReservedInstanceOfferingCommand: () => PurchaseReservedInstanceOfferingCommand,
|
|
137
140
|
RejectInboundConnectionCommand: () => RejectInboundConnectionCommand,
|
|
138
141
|
RemoveTagsCommand: () => RemoveTagsCommand,
|
|
142
|
+
RequirementLevel: () => RequirementLevel,
|
|
139
143
|
ReservedInstancePaymentOption: () => ReservedInstancePaymentOption,
|
|
140
144
|
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
141
145
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
@@ -159,6 +163,7 @@ __export(src_exports, {
|
|
|
159
163
|
UpdateDomainConfigCommand: () => UpdateDomainConfigCommand,
|
|
160
164
|
UpdateDomainConfigRequestFilterSensitiveLog: () => UpdateDomainConfigRequestFilterSensitiveLog,
|
|
161
165
|
UpdatePackageCommand: () => UpdatePackageCommand,
|
|
166
|
+
UpdatePackageScopeCommand: () => UpdatePackageScopeCommand,
|
|
162
167
|
UpdateScheduledActionCommand: () => UpdateScheduledActionCommand,
|
|
163
168
|
UpdateVpcEndpointCommand: () => UpdateVpcEndpointCommand,
|
|
164
169
|
UpgradeDomainCommand: () => UpgradeDomainCommand,
|
|
@@ -559,6 +564,8 @@ var DomainPackageStatus = {
|
|
|
559
564
|
DISSOCIATION_FAILED: "DISSOCIATION_FAILED"
|
|
560
565
|
};
|
|
561
566
|
var PackageType = {
|
|
567
|
+
PACKAGE_CONFIG: "PACKAGE-CONFIG",
|
|
568
|
+
PACKAGE_LICENSE: "PACKAGE-LICENSE",
|
|
562
569
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
563
570
|
ZIP_PLUGIN: "ZIP-PLUGIN"
|
|
564
571
|
};
|
|
@@ -835,6 +842,11 @@ var OutboundConnectionStatusCode = {
|
|
|
835
842
|
VALIDATING: "VALIDATING",
|
|
836
843
|
VALIDATION_FAILED: "VALIDATION_FAILED"
|
|
837
844
|
};
|
|
845
|
+
var RequirementLevel = {
|
|
846
|
+
NONE: "NONE",
|
|
847
|
+
OPTIONAL: "OPTIONAL",
|
|
848
|
+
REQUIRED: "REQUIRED"
|
|
849
|
+
};
|
|
838
850
|
var PackageStatus = {
|
|
839
851
|
AVAILABLE: "AVAILABLE",
|
|
840
852
|
COPYING: "COPYING",
|
|
@@ -927,6 +939,7 @@ var DescribePackagesFilterName = {
|
|
|
927
939
|
EngineVersion: "EngineVersion",
|
|
928
940
|
PackageID: "PackageID",
|
|
929
941
|
PackageName: "PackageName",
|
|
942
|
+
PackageOwner: "PackageOwner",
|
|
930
943
|
PackageStatus: "PackageStatus",
|
|
931
944
|
PackageType: "PackageType"
|
|
932
945
|
};
|
|
@@ -1012,6 +1025,11 @@ var DryRunMode = {
|
|
|
1012
1025
|
Basic: "Basic",
|
|
1013
1026
|
Verbose: "Verbose"
|
|
1014
1027
|
};
|
|
1028
|
+
var PackageScopeOperationEnum = {
|
|
1029
|
+
ADD: "ADD",
|
|
1030
|
+
OVERRIDE: "OVERRIDE",
|
|
1031
|
+
REMOVE: "REMOVE"
|
|
1032
|
+
};
|
|
1015
1033
|
var _SlotNotAvailableException = class _SlotNotAvailableException extends OpenSearchServiceException {
|
|
1016
1034
|
/**
|
|
1017
1035
|
* @internal
|
|
@@ -1083,14 +1101,38 @@ var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1083
1101
|
}, "se_AddTagsCommand");
|
|
1084
1102
|
var se_AssociatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1085
1103
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1086
|
-
const headers = {
|
|
1104
|
+
const headers = {
|
|
1105
|
+
"content-type": "application/json"
|
|
1106
|
+
};
|
|
1087
1107
|
b.bp("/2021-01-01/packages/associate/{PackageID}/{DomainName}");
|
|
1088
1108
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
1089
1109
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1090
1110
|
let body;
|
|
1111
|
+
body = JSON.stringify(
|
|
1112
|
+
(0, import_smithy_client.take)(input, {
|
|
1113
|
+
AssociationConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1114
|
+
PrerequisitePackageIDList: (_) => (0, import_smithy_client._json)(_)
|
|
1115
|
+
})
|
|
1116
|
+
);
|
|
1091
1117
|
b.m("POST").h(headers).b(body);
|
|
1092
1118
|
return b.build();
|
|
1093
1119
|
}, "se_AssociatePackageCommand");
|
|
1120
|
+
var se_AssociatePackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1121
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1122
|
+
const headers = {
|
|
1123
|
+
"content-type": "application/json"
|
|
1124
|
+
};
|
|
1125
|
+
b.bp("/2021-01-01/packages/associateMultiple");
|
|
1126
|
+
let body;
|
|
1127
|
+
body = JSON.stringify(
|
|
1128
|
+
(0, import_smithy_client.take)(input, {
|
|
1129
|
+
DomainName: [],
|
|
1130
|
+
PackageList: (_) => (0, import_smithy_client._json)(_)
|
|
1131
|
+
})
|
|
1132
|
+
);
|
|
1133
|
+
b.m("POST").h(headers).b(body);
|
|
1134
|
+
return b.build();
|
|
1135
|
+
}, "se_AssociatePackagesCommand");
|
|
1094
1136
|
var se_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1095
1137
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1096
1138
|
const headers = {
|
|
@@ -1222,10 +1264,14 @@ var se_CreatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1222
1264
|
let body;
|
|
1223
1265
|
body = JSON.stringify(
|
|
1224
1266
|
(0, import_smithy_client.take)(input, {
|
|
1267
|
+
EngineVersion: [],
|
|
1268
|
+
PackageConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1225
1269
|
PackageDescription: [],
|
|
1270
|
+
PackageEncryptionOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1226
1271
|
PackageName: [],
|
|
1227
1272
|
PackageSource: (_) => (0, import_smithy_client._json)(_),
|
|
1228
|
-
PackageType: []
|
|
1273
|
+
PackageType: [],
|
|
1274
|
+
PackageVendingOptions: (_) => (0, import_smithy_client._json)(_)
|
|
1229
1275
|
})
|
|
1230
1276
|
);
|
|
1231
1277
|
b.m("POST").h(headers).b(body);
|
|
@@ -1520,6 +1566,22 @@ var se_DissociatePackageCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1520
1566
|
b.m("POST").h(headers).b(body);
|
|
1521
1567
|
return b.build();
|
|
1522
1568
|
}, "se_DissociatePackageCommand");
|
|
1569
|
+
var se_DissociatePackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1570
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1571
|
+
const headers = {
|
|
1572
|
+
"content-type": "application/json"
|
|
1573
|
+
};
|
|
1574
|
+
b.bp("/2021-01-01/packages/dissociateMultiple");
|
|
1575
|
+
let body;
|
|
1576
|
+
body = JSON.stringify(
|
|
1577
|
+
(0, import_smithy_client.take)(input, {
|
|
1578
|
+
DomainName: [],
|
|
1579
|
+
PackageList: (_) => (0, import_smithy_client._json)(_)
|
|
1580
|
+
})
|
|
1581
|
+
);
|
|
1582
|
+
b.m("POST").h(headers).b(body);
|
|
1583
|
+
return b.build();
|
|
1584
|
+
}, "se_DissociatePackagesCommand");
|
|
1523
1585
|
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1524
1586
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1525
1587
|
const headers = {};
|
|
@@ -1932,7 +1994,9 @@ var se_UpdatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1932
1994
|
body = JSON.stringify(
|
|
1933
1995
|
(0, import_smithy_client.take)(input, {
|
|
1934
1996
|
CommitMessage: [],
|
|
1997
|
+
PackageConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1935
1998
|
PackageDescription: [],
|
|
1999
|
+
PackageEncryptionOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1936
2000
|
PackageID: [],
|
|
1937
2001
|
PackageSource: (_) => (0, import_smithy_client._json)(_)
|
|
1938
2002
|
})
|
|
@@ -1940,6 +2004,23 @@ var se_UpdatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1940
2004
|
b.m("POST").h(headers).b(body);
|
|
1941
2005
|
return b.build();
|
|
1942
2006
|
}, "se_UpdatePackageCommand");
|
|
2007
|
+
var se_UpdatePackageScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2008
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2009
|
+
const headers = {
|
|
2010
|
+
"content-type": "application/json"
|
|
2011
|
+
};
|
|
2012
|
+
b.bp("/2021-01-01/packages/updateScope");
|
|
2013
|
+
let body;
|
|
2014
|
+
body = JSON.stringify(
|
|
2015
|
+
(0, import_smithy_client.take)(input, {
|
|
2016
|
+
Operation: [],
|
|
2017
|
+
PackageID: [],
|
|
2018
|
+
PackageUserList: (_) => (0, import_smithy_client._json)(_)
|
|
2019
|
+
})
|
|
2020
|
+
);
|
|
2021
|
+
b.m("POST").h(headers).b(body);
|
|
2022
|
+
return b.build();
|
|
2023
|
+
}, "se_UpdatePackageScopeCommand");
|
|
1943
2024
|
var se_UpdateScheduledActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1944
2025
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1945
2026
|
const headers = {
|
|
@@ -2045,6 +2126,20 @@ var de_AssociatePackageCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2045
2126
|
Object.assign(contents, doc);
|
|
2046
2127
|
return contents;
|
|
2047
2128
|
}, "de_AssociatePackageCommand");
|
|
2129
|
+
var de_AssociatePackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2130
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2131
|
+
return de_CommandError(output, context);
|
|
2132
|
+
}
|
|
2133
|
+
const contents = (0, import_smithy_client.map)({
|
|
2134
|
+
$metadata: deserializeMetadata(output)
|
|
2135
|
+
});
|
|
2136
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2137
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2138
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context)
|
|
2139
|
+
});
|
|
2140
|
+
Object.assign(contents, doc);
|
|
2141
|
+
return contents;
|
|
2142
|
+
}, "de_AssociatePackagesCommand");
|
|
2048
2143
|
var de_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2049
2144
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2050
2145
|
return de_CommandError(output, context);
|
|
@@ -2511,6 +2606,20 @@ var de_DissociatePackageCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2511
2606
|
Object.assign(contents, doc);
|
|
2512
2607
|
return contents;
|
|
2513
2608
|
}, "de_DissociatePackageCommand");
|
|
2609
|
+
var de_DissociatePackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2610
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2611
|
+
return de_CommandError(output, context);
|
|
2612
|
+
}
|
|
2613
|
+
const contents = (0, import_smithy_client.map)({
|
|
2614
|
+
$metadata: deserializeMetadata(output)
|
|
2615
|
+
});
|
|
2616
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2617
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2618
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context)
|
|
2619
|
+
});
|
|
2620
|
+
Object.assign(contents, doc);
|
|
2621
|
+
return contents;
|
|
2622
|
+
}, "de_DissociatePackagesCommand");
|
|
2514
2623
|
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2515
2624
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2516
2625
|
return de_CommandError(output, context);
|
|
@@ -2965,6 +3074,22 @@ var de_UpdatePackageCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2965
3074
|
Object.assign(contents, doc);
|
|
2966
3075
|
return contents;
|
|
2967
3076
|
}, "de_UpdatePackageCommand");
|
|
3077
|
+
var de_UpdatePackageScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3078
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3079
|
+
return de_CommandError(output, context);
|
|
3080
|
+
}
|
|
3081
|
+
const contents = (0, import_smithy_client.map)({
|
|
3082
|
+
$metadata: deserializeMetadata(output)
|
|
3083
|
+
});
|
|
3084
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3085
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3086
|
+
Operation: import_smithy_client.expectString,
|
|
3087
|
+
PackageID: import_smithy_client.expectString,
|
|
3088
|
+
PackageUserList: import_smithy_client._json
|
|
3089
|
+
});
|
|
3090
|
+
Object.assign(contents, doc);
|
|
3091
|
+
return contents;
|
|
3092
|
+
}, "de_UpdatePackageScopeCommand");
|
|
2968
3093
|
var de_UpdateScheduledActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2969
3094
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2970
3095
|
return de_CommandError(output, context);
|
|
@@ -3471,6 +3596,7 @@ var de_DomainMaintenanceList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3471
3596
|
}, "de_DomainMaintenanceList");
|
|
3472
3597
|
var de_DomainPackageDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3473
3598
|
return (0, import_smithy_client.take)(output, {
|
|
3599
|
+
AssociationConfiguration: import_smithy_client._json,
|
|
3474
3600
|
DomainName: import_smithy_client.expectString,
|
|
3475
3601
|
DomainPackageStatus: import_smithy_client.expectString,
|
|
3476
3602
|
ErrorDetails: import_smithy_client._json,
|
|
@@ -3479,6 +3605,7 @@ var de_DomainPackageDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
3479
3605
|
PackageName: import_smithy_client.expectString,
|
|
3480
3606
|
PackageType: import_smithy_client.expectString,
|
|
3481
3607
|
PackageVersion: import_smithy_client.expectString,
|
|
3608
|
+
PrerequisitePackageIDList: import_smithy_client._json,
|
|
3482
3609
|
ReferencePath: import_smithy_client.expectString
|
|
3483
3610
|
});
|
|
3484
3611
|
}, "de_DomainPackageDetails");
|
|
@@ -3585,6 +3712,8 @@ var de_OptionStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
3585
3712
|
}, "de_OptionStatus");
|
|
3586
3713
|
var de_PackageDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3587
3714
|
return (0, import_smithy_client.take)(output, {
|
|
3715
|
+
AllowListedUserList: import_smithy_client._json,
|
|
3716
|
+
AvailablePackageConfiguration: import_smithy_client._json,
|
|
3588
3717
|
AvailablePackageVersion: import_smithy_client.expectString,
|
|
3589
3718
|
AvailablePluginProperties: import_smithy_client._json,
|
|
3590
3719
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -3592,10 +3721,13 @@ var de_PackageDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
3592
3721
|
ErrorDetails: import_smithy_client._json,
|
|
3593
3722
|
LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3594
3723
|
PackageDescription: import_smithy_client.expectString,
|
|
3724
|
+
PackageEncryptionOptions: import_smithy_client._json,
|
|
3595
3725
|
PackageID: import_smithy_client.expectString,
|
|
3596
3726
|
PackageName: import_smithy_client.expectString,
|
|
3727
|
+
PackageOwner: import_smithy_client.expectString,
|
|
3597
3728
|
PackageStatus: import_smithy_client.expectString,
|
|
3598
|
-
PackageType: import_smithy_client.expectString
|
|
3729
|
+
PackageType: import_smithy_client.expectString,
|
|
3730
|
+
PackageVendingOptions: import_smithy_client._json
|
|
3599
3731
|
});
|
|
3600
3732
|
}, "de_PackageDetails");
|
|
3601
3733
|
var de_PackageDetailsList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3608,6 +3740,7 @@ var de_PackageVersionHistory = /* @__PURE__ */ __name((output, context) => {
|
|
|
3608
3740
|
return (0, import_smithy_client.take)(output, {
|
|
3609
3741
|
CommitMessage: import_smithy_client.expectString,
|
|
3610
3742
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3743
|
+
PackageConfiguration: import_smithy_client._json,
|
|
3611
3744
|
PackageVersion: import_smithy_client.expectString,
|
|
3612
3745
|
PluginProperties: import_smithy_client._json
|
|
3613
3746
|
});
|
|
@@ -3835,6 +3968,20 @@ var _AssociatePackageCommand = class _AssociatePackageCommand extends import_smi
|
|
|
3835
3968
|
__name(_AssociatePackageCommand, "AssociatePackageCommand");
|
|
3836
3969
|
var AssociatePackageCommand = _AssociatePackageCommand;
|
|
3837
3970
|
|
|
3971
|
+
// src/commands/AssociatePackagesCommand.ts
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
var _AssociatePackagesCommand = class _AssociatePackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3976
|
+
return [
|
|
3977
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3978
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3979
|
+
];
|
|
3980
|
+
}).s("AmazonOpenSearchService", "AssociatePackages", {}).n("OpenSearchClient", "AssociatePackagesCommand").f(void 0, void 0).ser(se_AssociatePackagesCommand).de(de_AssociatePackagesCommand).build() {
|
|
3981
|
+
};
|
|
3982
|
+
__name(_AssociatePackagesCommand, "AssociatePackagesCommand");
|
|
3983
|
+
var AssociatePackagesCommand = _AssociatePackagesCommand;
|
|
3984
|
+
|
|
3838
3985
|
// src/commands/AuthorizeVpcEndpointAccessCommand.ts
|
|
3839
3986
|
|
|
3840
3987
|
|
|
@@ -4269,6 +4416,20 @@ var _DissociatePackageCommand = class _DissociatePackageCommand extends import_s
|
|
|
4269
4416
|
__name(_DissociatePackageCommand, "DissociatePackageCommand");
|
|
4270
4417
|
var DissociatePackageCommand = _DissociatePackageCommand;
|
|
4271
4418
|
|
|
4419
|
+
// src/commands/DissociatePackagesCommand.ts
|
|
4420
|
+
|
|
4421
|
+
|
|
4422
|
+
|
|
4423
|
+
var _DissociatePackagesCommand = class _DissociatePackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4424
|
+
return [
|
|
4425
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4426
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4427
|
+
];
|
|
4428
|
+
}).s("AmazonOpenSearchService", "DissociatePackages", {}).n("OpenSearchClient", "DissociatePackagesCommand").f(void 0, void 0).ser(se_DissociatePackagesCommand).de(de_DissociatePackagesCommand).build() {
|
|
4429
|
+
};
|
|
4430
|
+
__name(_DissociatePackagesCommand, "DissociatePackagesCommand");
|
|
4431
|
+
var DissociatePackagesCommand = _DissociatePackagesCommand;
|
|
4432
|
+
|
|
4272
4433
|
// src/commands/GetApplicationCommand.ts
|
|
4273
4434
|
|
|
4274
4435
|
|
|
@@ -4689,6 +4850,20 @@ var _UpdatePackageCommand = class _UpdatePackageCommand extends import_smithy_cl
|
|
|
4689
4850
|
__name(_UpdatePackageCommand, "UpdatePackageCommand");
|
|
4690
4851
|
var UpdatePackageCommand = _UpdatePackageCommand;
|
|
4691
4852
|
|
|
4853
|
+
// src/commands/UpdatePackageScopeCommand.ts
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
|
|
4857
|
+
var _UpdatePackageScopeCommand = class _UpdatePackageScopeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4858
|
+
return [
|
|
4859
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4860
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4861
|
+
];
|
|
4862
|
+
}).s("AmazonOpenSearchService", "UpdatePackageScope", {}).n("OpenSearchClient", "UpdatePackageScopeCommand").f(void 0, void 0).ser(se_UpdatePackageScopeCommand).de(de_UpdatePackageScopeCommand).build() {
|
|
4863
|
+
};
|
|
4864
|
+
__name(_UpdatePackageScopeCommand, "UpdatePackageScopeCommand");
|
|
4865
|
+
var UpdatePackageScopeCommand = _UpdatePackageScopeCommand;
|
|
4866
|
+
|
|
4692
4867
|
// src/commands/UpdateScheduledActionCommand.ts
|
|
4693
4868
|
|
|
4694
4869
|
|
|
@@ -4737,6 +4912,7 @@ var commands = {
|
|
|
4737
4912
|
AddDataSourceCommand,
|
|
4738
4913
|
AddTagsCommand,
|
|
4739
4914
|
AssociatePackageCommand,
|
|
4915
|
+
AssociatePackagesCommand,
|
|
4740
4916
|
AuthorizeVpcEndpointAccessCommand,
|
|
4741
4917
|
CancelDomainConfigChangeCommand,
|
|
4742
4918
|
CancelServiceSoftwareUpdateCommand,
|
|
@@ -4768,6 +4944,7 @@ var commands = {
|
|
|
4768
4944
|
DescribeReservedInstancesCommand,
|
|
4769
4945
|
DescribeVpcEndpointsCommand,
|
|
4770
4946
|
DissociatePackageCommand,
|
|
4947
|
+
DissociatePackagesCommand,
|
|
4771
4948
|
GetApplicationCommand,
|
|
4772
4949
|
GetCompatibleVersionsCommand,
|
|
4773
4950
|
GetDataSourceCommand,
|
|
@@ -4798,6 +4975,7 @@ var commands = {
|
|
|
4798
4975
|
UpdateDataSourceCommand,
|
|
4799
4976
|
UpdateDomainConfigCommand,
|
|
4800
4977
|
UpdatePackageCommand,
|
|
4978
|
+
UpdatePackageScopeCommand,
|
|
4801
4979
|
UpdateScheduledActionCommand,
|
|
4802
4980
|
UpdateVpcEndpointCommand,
|
|
4803
4981
|
UpgradeDomainCommand
|
|
@@ -4879,6 +5057,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
4879
5057
|
AddDataSourceCommand,
|
|
4880
5058
|
AddTagsCommand,
|
|
4881
5059
|
AssociatePackageCommand,
|
|
5060
|
+
AssociatePackagesCommand,
|
|
4882
5061
|
AuthorizeVpcEndpointAccessCommand,
|
|
4883
5062
|
CancelDomainConfigChangeCommand,
|
|
4884
5063
|
CancelServiceSoftwareUpdateCommand,
|
|
@@ -4910,6 +5089,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
4910
5089
|
DescribeReservedInstancesCommand,
|
|
4911
5090
|
DescribeVpcEndpointsCommand,
|
|
4912
5091
|
DissociatePackageCommand,
|
|
5092
|
+
DissociatePackagesCommand,
|
|
4913
5093
|
GetApplicationCommand,
|
|
4914
5094
|
GetCompatibleVersionsCommand,
|
|
4915
5095
|
GetDataSourceCommand,
|
|
@@ -4940,6 +5120,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
4940
5120
|
UpdateDataSourceCommand,
|
|
4941
5121
|
UpdateDomainConfigCommand,
|
|
4942
5122
|
UpdatePackageCommand,
|
|
5123
|
+
UpdatePackageScopeCommand,
|
|
4943
5124
|
UpdateScheduledActionCommand,
|
|
4944
5125
|
UpdateVpcEndpointCommand,
|
|
4945
5126
|
UpgradeDomainCommand,
|
|
@@ -5002,6 +5183,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5002
5183
|
ResourceAlreadyExistsException,
|
|
5003
5184
|
SkipUnavailableStatus,
|
|
5004
5185
|
OutboundConnectionStatusCode,
|
|
5186
|
+
RequirementLevel,
|
|
5005
5187
|
PackageStatus,
|
|
5006
5188
|
VpcEndpointStatus,
|
|
5007
5189
|
ScheduledAutoTuneActionType,
|
|
@@ -5033,6 +5215,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5033
5215
|
CreateDomainRequestFilterSensitiveLog,
|
|
5034
5216
|
ScheduleAt,
|
|
5035
5217
|
DryRunMode,
|
|
5218
|
+
PackageScopeOperationEnum,
|
|
5036
5219
|
SlotNotAvailableException,
|
|
5037
5220
|
UpdateDomainConfigRequestFilterSensitiveLog
|
|
5038
5221
|
});
|
package/dist-es/OpenSearch.js
CHANGED
|
@@ -3,6 +3,7 @@ import { AcceptInboundConnectionCommand, } from "./commands/AcceptInboundConnect
|
|
|
3
3
|
import { AddDataSourceCommand, } from "./commands/AddDataSourceCommand";
|
|
4
4
|
import { AddTagsCommand } from "./commands/AddTagsCommand";
|
|
5
5
|
import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
|
|
6
|
+
import { AssociatePackagesCommand, } from "./commands/AssociatePackagesCommand";
|
|
6
7
|
import { AuthorizeVpcEndpointAccessCommand, } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
8
|
import { CancelDomainConfigChangeCommand, } from "./commands/CancelDomainConfigChangeCommand";
|
|
8
9
|
import { CancelServiceSoftwareUpdateCommand, } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -34,6 +35,7 @@ import { DescribeReservedInstanceOfferingsCommand, } from "./commands/DescribeRe
|
|
|
34
35
|
import { DescribeReservedInstancesCommand, } from "./commands/DescribeReservedInstancesCommand";
|
|
35
36
|
import { DescribeVpcEndpointsCommand, } from "./commands/DescribeVpcEndpointsCommand";
|
|
36
37
|
import { DissociatePackageCommand, } from "./commands/DissociatePackageCommand";
|
|
38
|
+
import { DissociatePackagesCommand, } from "./commands/DissociatePackagesCommand";
|
|
37
39
|
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
38
40
|
import { GetCompatibleVersionsCommand, } from "./commands/GetCompatibleVersionsCommand";
|
|
39
41
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
@@ -64,6 +66,7 @@ import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
|
64
66
|
import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
|
|
65
67
|
import { UpdateDomainConfigCommand, } from "./commands/UpdateDomainConfigCommand";
|
|
66
68
|
import { UpdatePackageCommand, } from "./commands/UpdatePackageCommand";
|
|
69
|
+
import { UpdatePackageScopeCommand, } from "./commands/UpdatePackageScopeCommand";
|
|
67
70
|
import { UpdateScheduledActionCommand, } from "./commands/UpdateScheduledActionCommand";
|
|
68
71
|
import { UpdateVpcEndpointCommand, } from "./commands/UpdateVpcEndpointCommand";
|
|
69
72
|
import { UpgradeDomainCommand, } from "./commands/UpgradeDomainCommand";
|
|
@@ -73,6 +76,7 @@ const commands = {
|
|
|
73
76
|
AddDataSourceCommand,
|
|
74
77
|
AddTagsCommand,
|
|
75
78
|
AssociatePackageCommand,
|
|
79
|
+
AssociatePackagesCommand,
|
|
76
80
|
AuthorizeVpcEndpointAccessCommand,
|
|
77
81
|
CancelDomainConfigChangeCommand,
|
|
78
82
|
CancelServiceSoftwareUpdateCommand,
|
|
@@ -104,6 +108,7 @@ const commands = {
|
|
|
104
108
|
DescribeReservedInstancesCommand,
|
|
105
109
|
DescribeVpcEndpointsCommand,
|
|
106
110
|
DissociatePackageCommand,
|
|
111
|
+
DissociatePackagesCommand,
|
|
107
112
|
GetApplicationCommand,
|
|
108
113
|
GetCompatibleVersionsCommand,
|
|
109
114
|
GetDataSourceCommand,
|
|
@@ -134,6 +139,7 @@ const commands = {
|
|
|
134
139
|
UpdateDataSourceCommand,
|
|
135
140
|
UpdateDomainConfigCommand,
|
|
136
141
|
UpdatePackageCommand,
|
|
142
|
+
UpdatePackageScopeCommand,
|
|
137
143
|
UpdateScheduledActionCommand,
|
|
138
144
|
UpdateVpcEndpointCommand,
|
|
139
145
|
UpgradeDomainCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
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_AssociatePackagesCommand, se_AssociatePackagesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociatePackagesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonOpenSearchService", "AssociatePackages", {})
|
|
17
|
+
.n("OpenSearchClient", "AssociatePackagesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociatePackagesCommand)
|
|
20
|
+
.de(de_AssociatePackagesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_DissociatePackagesCommand, se_DissociatePackagesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DissociatePackagesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonOpenSearchService", "DissociatePackages", {})
|
|
17
|
+
.n("OpenSearchClient", "DissociatePackagesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DissociatePackagesCommand)
|
|
20
|
+
.de(de_DissociatePackagesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_UpdatePackageScopeCommand, se_UpdatePackageScopeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdatePackageScopeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonOpenSearchService", "UpdatePackageScope", {})
|
|
17
|
+
.n("OpenSearchClient", "UpdatePackageScopeCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdatePackageScopeCommand)
|
|
20
|
+
.de(de_UpdatePackageScopeCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./AcceptInboundConnectionCommand";
|
|
|
2
2
|
export * from "./AddDataSourceCommand";
|
|
3
3
|
export * from "./AddTagsCommand";
|
|
4
4
|
export * from "./AssociatePackageCommand";
|
|
5
|
+
export * from "./AssociatePackagesCommand";
|
|
5
6
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
6
7
|
export * from "./CancelDomainConfigChangeCommand";
|
|
7
8
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
@@ -33,6 +34,7 @@ export * from "./DescribeReservedInstanceOfferingsCommand";
|
|
|
33
34
|
export * from "./DescribeReservedInstancesCommand";
|
|
34
35
|
export * from "./DescribeVpcEndpointsCommand";
|
|
35
36
|
export * from "./DissociatePackageCommand";
|
|
37
|
+
export * from "./DissociatePackagesCommand";
|
|
36
38
|
export * from "./GetApplicationCommand";
|
|
37
39
|
export * from "./GetCompatibleVersionsCommand";
|
|
38
40
|
export * from "./GetDataSourceCommand";
|
|
@@ -63,6 +65,7 @@ export * from "./UpdateApplicationCommand";
|
|
|
63
65
|
export * from "./UpdateDataSourceCommand";
|
|
64
66
|
export * from "./UpdateDomainConfigCommand";
|
|
65
67
|
export * from "./UpdatePackageCommand";
|
|
68
|
+
export * from "./UpdatePackageScopeCommand";
|
|
66
69
|
export * from "./UpdateScheduledActionCommand";
|
|
67
70
|
export * from "./UpdateVpcEndpointCommand";
|
|
68
71
|
export * from "./UpgradeDomainCommand";
|
|
@@ -162,6 +162,8 @@ export const DomainPackageStatus = {
|
|
|
162
162
|
DISSOCIATION_FAILED: "DISSOCIATION_FAILED",
|
|
163
163
|
};
|
|
164
164
|
export const PackageType = {
|
|
165
|
+
PACKAGE_CONFIG: "PACKAGE-CONFIG",
|
|
166
|
+
PACKAGE_LICENSE: "PACKAGE-LICENSE",
|
|
165
167
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
166
168
|
ZIP_PLUGIN: "ZIP-PLUGIN",
|
|
167
169
|
};
|
|
@@ -423,6 +425,11 @@ export const OutboundConnectionStatusCode = {
|
|
|
423
425
|
VALIDATING: "VALIDATING",
|
|
424
426
|
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
425
427
|
};
|
|
428
|
+
export const RequirementLevel = {
|
|
429
|
+
NONE: "NONE",
|
|
430
|
+
OPTIONAL: "OPTIONAL",
|
|
431
|
+
REQUIRED: "REQUIRED",
|
|
432
|
+
};
|
|
426
433
|
export const PackageStatus = {
|
|
427
434
|
AVAILABLE: "AVAILABLE",
|
|
428
435
|
COPYING: "COPYING",
|
|
@@ -510,6 +517,7 @@ export const DescribePackagesFilterName = {
|
|
|
510
517
|
EngineVersion: "EngineVersion",
|
|
511
518
|
PackageID: "PackageID",
|
|
512
519
|
PackageName: "PackageName",
|
|
520
|
+
PackageOwner: "PackageOwner",
|
|
513
521
|
PackageStatus: "PackageStatus",
|
|
514
522
|
PackageType: "PackageType",
|
|
515
523
|
};
|
|
@@ -9,6 +9,11 @@ export const DryRunMode = {
|
|
|
9
9
|
Basic: "Basic",
|
|
10
10
|
Verbose: "Verbose",
|
|
11
11
|
};
|
|
12
|
+
export const PackageScopeOperationEnum = {
|
|
13
|
+
ADD: "ADD",
|
|
14
|
+
OVERRIDE: "OVERRIDE",
|
|
15
|
+
REMOVE: "REMOVE",
|
|
16
|
+
};
|
|
12
17
|
export class SlotNotAvailableException extends __BaseException {
|
|
13
18
|
constructor(opts) {
|
|
14
19
|
super({
|