@aws-sdk/client-opensearch 3.686.0 → 3.689.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 +242 -186
- package/dist-types/models/models_1.d.ts +250 -1
- 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 +63 -43
- package/dist-types/ts3.4/models/models_1.d.ts +66 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +6 -6
|
@@ -46,11 +46,31 @@ export const se_AddTagsCommand = async (input, context) => {
|
|
|
46
46
|
};
|
|
47
47
|
export const se_AssociatePackageCommand = async (input, context) => {
|
|
48
48
|
const b = rb(input, context);
|
|
49
|
-
const headers = {
|
|
49
|
+
const headers = {
|
|
50
|
+
"content-type": "application/json",
|
|
51
|
+
};
|
|
50
52
|
b.bp("/2021-01-01/packages/associate/{PackageID}/{DomainName}");
|
|
51
53
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
52
54
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
53
55
|
let body;
|
|
56
|
+
body = JSON.stringify(take(input, {
|
|
57
|
+
AssociationConfiguration: (_) => _json(_),
|
|
58
|
+
PrerequisitePackageIDList: (_) => _json(_),
|
|
59
|
+
}));
|
|
60
|
+
b.m("POST").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
62
|
+
};
|
|
63
|
+
export const se_AssociatePackagesCommand = async (input, context) => {
|
|
64
|
+
const b = rb(input, context);
|
|
65
|
+
const headers = {
|
|
66
|
+
"content-type": "application/json",
|
|
67
|
+
};
|
|
68
|
+
b.bp("/2021-01-01/packages/associateMultiple");
|
|
69
|
+
let body;
|
|
70
|
+
body = JSON.stringify(take(input, {
|
|
71
|
+
DomainName: [],
|
|
72
|
+
PackageList: (_) => _json(_),
|
|
73
|
+
}));
|
|
54
74
|
b.m("POST").h(headers).b(body);
|
|
55
75
|
return b.build();
|
|
56
76
|
};
|
|
@@ -172,10 +192,14 @@ export const se_CreatePackageCommand = async (input, context) => {
|
|
|
172
192
|
b.bp("/2021-01-01/packages");
|
|
173
193
|
let body;
|
|
174
194
|
body = JSON.stringify(take(input, {
|
|
195
|
+
EngineVersion: [],
|
|
196
|
+
PackageConfiguration: (_) => _json(_),
|
|
175
197
|
PackageDescription: [],
|
|
198
|
+
PackageEncryptionOptions: (_) => _json(_),
|
|
176
199
|
PackageName: [],
|
|
177
200
|
PackageSource: (_) => _json(_),
|
|
178
201
|
PackageType: [],
|
|
202
|
+
PackageVendingOptions: (_) => _json(_),
|
|
179
203
|
}));
|
|
180
204
|
b.m("POST").h(headers).b(body);
|
|
181
205
|
return b.build();
|
|
@@ -455,6 +479,20 @@ export const se_DissociatePackageCommand = async (input, context) => {
|
|
|
455
479
|
b.m("POST").h(headers).b(body);
|
|
456
480
|
return b.build();
|
|
457
481
|
};
|
|
482
|
+
export const se_DissociatePackagesCommand = async (input, context) => {
|
|
483
|
+
const b = rb(input, context);
|
|
484
|
+
const headers = {
|
|
485
|
+
"content-type": "application/json",
|
|
486
|
+
};
|
|
487
|
+
b.bp("/2021-01-01/packages/dissociateMultiple");
|
|
488
|
+
let body;
|
|
489
|
+
body = JSON.stringify(take(input, {
|
|
490
|
+
DomainName: [],
|
|
491
|
+
PackageList: (_) => _json(_),
|
|
492
|
+
}));
|
|
493
|
+
b.m("POST").h(headers).b(body);
|
|
494
|
+
return b.build();
|
|
495
|
+
};
|
|
458
496
|
export const se_GetApplicationCommand = async (input, context) => {
|
|
459
497
|
const b = rb(input, context);
|
|
460
498
|
const headers = {};
|
|
@@ -850,13 +888,30 @@ export const se_UpdatePackageCommand = async (input, context) => {
|
|
|
850
888
|
let body;
|
|
851
889
|
body = JSON.stringify(take(input, {
|
|
852
890
|
CommitMessage: [],
|
|
891
|
+
PackageConfiguration: (_) => _json(_),
|
|
853
892
|
PackageDescription: [],
|
|
893
|
+
PackageEncryptionOptions: (_) => _json(_),
|
|
854
894
|
PackageID: [],
|
|
855
895
|
PackageSource: (_) => _json(_),
|
|
856
896
|
}));
|
|
857
897
|
b.m("POST").h(headers).b(body);
|
|
858
898
|
return b.build();
|
|
859
899
|
};
|
|
900
|
+
export const se_UpdatePackageScopeCommand = async (input, context) => {
|
|
901
|
+
const b = rb(input, context);
|
|
902
|
+
const headers = {
|
|
903
|
+
"content-type": "application/json",
|
|
904
|
+
};
|
|
905
|
+
b.bp("/2021-01-01/packages/updateScope");
|
|
906
|
+
let body;
|
|
907
|
+
body = JSON.stringify(take(input, {
|
|
908
|
+
Operation: [],
|
|
909
|
+
PackageID: [],
|
|
910
|
+
PackageUserList: (_) => _json(_),
|
|
911
|
+
}));
|
|
912
|
+
b.m("POST").h(headers).b(body);
|
|
913
|
+
return b.build();
|
|
914
|
+
};
|
|
860
915
|
export const se_UpdateScheduledActionCommand = async (input, context) => {
|
|
861
916
|
const b = rb(input, context);
|
|
862
917
|
const headers = {
|
|
@@ -956,6 +1011,20 @@ export const de_AssociatePackageCommand = async (output, context) => {
|
|
|
956
1011
|
Object.assign(contents, doc);
|
|
957
1012
|
return contents;
|
|
958
1013
|
};
|
|
1014
|
+
export const de_AssociatePackagesCommand = async (output, context) => {
|
|
1015
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1016
|
+
return de_CommandError(output, context);
|
|
1017
|
+
}
|
|
1018
|
+
const contents = map({
|
|
1019
|
+
$metadata: deserializeMetadata(output),
|
|
1020
|
+
});
|
|
1021
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1022
|
+
const doc = take(data, {
|
|
1023
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context),
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1026
|
+
return contents;
|
|
1027
|
+
};
|
|
959
1028
|
export const de_AuthorizeVpcEndpointAccessCommand = async (output, context) => {
|
|
960
1029
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
961
1030
|
return de_CommandError(output, context);
|
|
@@ -1422,6 +1491,20 @@ export const de_DissociatePackageCommand = async (output, context) => {
|
|
|
1422
1491
|
Object.assign(contents, doc);
|
|
1423
1492
|
return contents;
|
|
1424
1493
|
};
|
|
1494
|
+
export const de_DissociatePackagesCommand = async (output, context) => {
|
|
1495
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1496
|
+
return de_CommandError(output, context);
|
|
1497
|
+
}
|
|
1498
|
+
const contents = map({
|
|
1499
|
+
$metadata: deserializeMetadata(output),
|
|
1500
|
+
});
|
|
1501
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1502
|
+
const doc = take(data, {
|
|
1503
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context),
|
|
1504
|
+
});
|
|
1505
|
+
Object.assign(contents, doc);
|
|
1506
|
+
return contents;
|
|
1507
|
+
};
|
|
1425
1508
|
export const de_GetApplicationCommand = async (output, context) => {
|
|
1426
1509
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1427
1510
|
return de_CommandError(output, context);
|
|
@@ -1876,6 +1959,22 @@ export const de_UpdatePackageCommand = async (output, context) => {
|
|
|
1876
1959
|
Object.assign(contents, doc);
|
|
1877
1960
|
return contents;
|
|
1878
1961
|
};
|
|
1962
|
+
export const de_UpdatePackageScopeCommand = async (output, context) => {
|
|
1963
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1964
|
+
return de_CommandError(output, context);
|
|
1965
|
+
}
|
|
1966
|
+
const contents = map({
|
|
1967
|
+
$metadata: deserializeMetadata(output),
|
|
1968
|
+
});
|
|
1969
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1970
|
+
const doc = take(data, {
|
|
1971
|
+
Operation: __expectString,
|
|
1972
|
+
PackageID: __expectString,
|
|
1973
|
+
PackageUserList: _json,
|
|
1974
|
+
});
|
|
1975
|
+
Object.assign(contents, doc);
|
|
1976
|
+
return contents;
|
|
1977
|
+
};
|
|
1879
1978
|
export const de_UpdateScheduledActionCommand = async (output, context) => {
|
|
1880
1979
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1881
1980
|
return de_CommandError(output, context);
|
|
@@ -2394,6 +2493,7 @@ const de_DomainMaintenanceList = (output, context) => {
|
|
|
2394
2493
|
};
|
|
2395
2494
|
const de_DomainPackageDetails = (output, context) => {
|
|
2396
2495
|
return take(output, {
|
|
2496
|
+
AssociationConfiguration: _json,
|
|
2397
2497
|
DomainName: __expectString,
|
|
2398
2498
|
DomainPackageStatus: __expectString,
|
|
2399
2499
|
ErrorDetails: _json,
|
|
@@ -2402,6 +2502,7 @@ const de_DomainPackageDetails = (output, context) => {
|
|
|
2402
2502
|
PackageName: __expectString,
|
|
2403
2503
|
PackageType: __expectString,
|
|
2404
2504
|
PackageVersion: __expectString,
|
|
2505
|
+
PrerequisitePackageIDList: _json,
|
|
2405
2506
|
ReferencePath: __expectString,
|
|
2406
2507
|
});
|
|
2407
2508
|
};
|
|
@@ -2512,6 +2613,8 @@ const de_OptionStatus = (output, context) => {
|
|
|
2512
2613
|
};
|
|
2513
2614
|
const de_PackageDetails = (output, context) => {
|
|
2514
2615
|
return take(output, {
|
|
2616
|
+
AllowListedUserList: _json,
|
|
2617
|
+
AvailablePackageConfiguration: _json,
|
|
2515
2618
|
AvailablePackageVersion: __expectString,
|
|
2516
2619
|
AvailablePluginProperties: _json,
|
|
2517
2620
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2519,10 +2622,13 @@ const de_PackageDetails = (output, context) => {
|
|
|
2519
2622
|
ErrorDetails: _json,
|
|
2520
2623
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2521
2624
|
PackageDescription: __expectString,
|
|
2625
|
+
PackageEncryptionOptions: _json,
|
|
2522
2626
|
PackageID: __expectString,
|
|
2523
2627
|
PackageName: __expectString,
|
|
2628
|
+
PackageOwner: __expectString,
|
|
2524
2629
|
PackageStatus: __expectString,
|
|
2525
2630
|
PackageType: __expectString,
|
|
2631
|
+
PackageVendingOptions: _json,
|
|
2526
2632
|
});
|
|
2527
2633
|
};
|
|
2528
2634
|
const de_PackageDetailsList = (output, context) => {
|
|
@@ -2537,6 +2643,7 @@ const de_PackageVersionHistory = (output, context) => {
|
|
|
2537
2643
|
return take(output, {
|
|
2538
2644
|
CommitMessage: __expectString,
|
|
2539
2645
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2646
|
+
PackageConfiguration: _json,
|
|
2540
2647
|
PackageVersion: __expectString,
|
|
2541
2648
|
PluginProperties: _json,
|
|
2542
2649
|
});
|
|
@@ -3,6 +3,7 @@ import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutp
|
|
|
3
3
|
import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
4
4
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
5
5
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
6
|
+
import { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
6
7
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
8
|
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
8
9
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -34,6 +35,7 @@ import { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstance
|
|
|
34
35
|
import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
35
36
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
36
37
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
38
|
+
import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
37
39
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
38
40
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
39
41
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
@@ -64,6 +66,7 @@ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from ".
|
|
|
64
66
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
65
67
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
66
68
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
69
|
+
import { UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput } from "./commands/UpdatePackageScopeCommand";
|
|
67
70
|
import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
68
71
|
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
69
72
|
import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "./commands/UpgradeDomainCommand";
|
|
@@ -93,6 +96,12 @@ export interface OpenSearch {
|
|
|
93
96
|
associatePackage(args: AssociatePackageCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePackageCommandOutput>;
|
|
94
97
|
associatePackage(args: AssociatePackageCommandInput, cb: (err: any, data?: AssociatePackageCommandOutput) => void): void;
|
|
95
98
|
associatePackage(args: AssociatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePackageCommandOutput) => void): void;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link AssociatePackagesCommand}
|
|
101
|
+
*/
|
|
102
|
+
associatePackages(args: AssociatePackagesCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePackagesCommandOutput>;
|
|
103
|
+
associatePackages(args: AssociatePackagesCommandInput, cb: (err: any, data?: AssociatePackagesCommandOutput) => void): void;
|
|
104
|
+
associatePackages(args: AssociatePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePackagesCommandOutput) => void): void;
|
|
96
105
|
/**
|
|
97
106
|
* @see {@link AuthorizeVpcEndpointAccessCommand}
|
|
98
107
|
*/
|
|
@@ -284,6 +293,12 @@ export interface OpenSearch {
|
|
|
284
293
|
dissociatePackage(args: DissociatePackageCommandInput, options?: __HttpHandlerOptions): Promise<DissociatePackageCommandOutput>;
|
|
285
294
|
dissociatePackage(args: DissociatePackageCommandInput, cb: (err: any, data?: DissociatePackageCommandOutput) => void): void;
|
|
286
295
|
dissociatePackage(args: DissociatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DissociatePackageCommandOutput) => void): void;
|
|
296
|
+
/**
|
|
297
|
+
* @see {@link DissociatePackagesCommand}
|
|
298
|
+
*/
|
|
299
|
+
dissociatePackages(args: DissociatePackagesCommandInput, options?: __HttpHandlerOptions): Promise<DissociatePackagesCommandOutput>;
|
|
300
|
+
dissociatePackages(args: DissociatePackagesCommandInput, cb: (err: any, data?: DissociatePackagesCommandOutput) => void): void;
|
|
301
|
+
dissociatePackages(args: DissociatePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DissociatePackagesCommandOutput) => void): void;
|
|
287
302
|
/**
|
|
288
303
|
* @see {@link GetApplicationCommand}
|
|
289
304
|
*/
|
|
@@ -469,6 +484,12 @@ export interface OpenSearch {
|
|
|
469
484
|
updatePackage(args: UpdatePackageCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageCommandOutput>;
|
|
470
485
|
updatePackage(args: UpdatePackageCommandInput, cb: (err: any, data?: UpdatePackageCommandOutput) => void): void;
|
|
471
486
|
updatePackage(args: UpdatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageCommandOutput) => void): void;
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link UpdatePackageScopeCommand}
|
|
489
|
+
*/
|
|
490
|
+
updatePackageScope(args: UpdatePackageScopeCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageScopeCommandOutput>;
|
|
491
|
+
updatePackageScope(args: UpdatePackageScopeCommandInput, cb: (err: any, data?: UpdatePackageScopeCommandOutput) => void): void;
|
|
492
|
+
updatePackageScope(args: UpdatePackageScopeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageScopeCommandOutput) => void): void;
|
|
472
493
|
/**
|
|
473
494
|
* @see {@link UpdateScheduledActionCommand}
|
|
474
495
|
*/
|
|
@@ -11,6 +11,7 @@ import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutp
|
|
|
11
11
|
import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
12
12
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
13
13
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
14
|
+
import { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
14
15
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
15
16
|
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
16
17
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -42,6 +43,7 @@ import { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstance
|
|
|
42
43
|
import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
43
44
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
44
45
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
46
|
+
import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
45
47
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
46
48
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
47
49
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
@@ -72,6 +74,7 @@ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from ".
|
|
|
72
74
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
73
75
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
74
76
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
77
|
+
import { UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput } from "./commands/UpdatePackageScopeCommand";
|
|
75
78
|
import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
76
79
|
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
77
80
|
import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "./commands/UpgradeDomainCommand";
|
|
@@ -81,11 +84,11 @@ export { __Client };
|
|
|
81
84
|
/**
|
|
82
85
|
* @public
|
|
83
86
|
*/
|
|
84
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetApplicationCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
87
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
85
88
|
/**
|
|
86
89
|
* @public
|
|
87
90
|
*/
|
|
88
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetApplicationCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
91
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
89
92
|
/**
|
|
90
93
|
* @public
|
|
91
94
|
*/
|
|
@@ -39,6 +39,15 @@ declare const AssociatePackageCommand_base: {
|
|
|
39
39
|
* const input = { // AssociatePackageRequest
|
|
40
40
|
* PackageID: "STRING_VALUE", // required
|
|
41
41
|
* DomainName: "STRING_VALUE", // required
|
|
42
|
+
* PrerequisitePackageIDList: [ // PackageIDList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* AssociationConfiguration: { // PackageAssociationConfiguration
|
|
46
|
+
* KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
47
|
+
* KeyAccessRoleArn: "STRING_VALUE",
|
|
48
|
+
* KeyStoreAccessEnabled: true || false, // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
42
51
|
* };
|
|
43
52
|
* const command = new AssociatePackageCommand(input);
|
|
44
53
|
* const response = await client.send(command);
|
|
@@ -46,16 +55,25 @@ declare const AssociatePackageCommand_base: {
|
|
|
46
55
|
* // DomainPackageDetails: { // DomainPackageDetails
|
|
47
56
|
* // PackageID: "STRING_VALUE",
|
|
48
57
|
* // PackageName: "STRING_VALUE",
|
|
49
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
58
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
50
59
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
51
60
|
* // DomainName: "STRING_VALUE",
|
|
52
61
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
53
62
|
* // PackageVersion: "STRING_VALUE",
|
|
63
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
54
66
|
* // ReferencePath: "STRING_VALUE",
|
|
55
67
|
* // ErrorDetails: { // ErrorDetails
|
|
56
68
|
* // ErrorType: "STRING_VALUE",
|
|
57
69
|
* // ErrorMessage: "STRING_VALUE",
|
|
58
70
|
* // },
|
|
71
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
72
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
73
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
74
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
59
77
|
* // },
|
|
60
78
|
* // };
|
|
61
79
|
*
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociatePackagesRequest, AssociatePackagesResponse } from "../models/models_0";
|
|
4
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociatePackagesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociatePackagesCommandInput extends AssociatePackagesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociatePackagesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociatePackagesCommandOutput extends AssociatePackagesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociatePackagesCommand_base: {
|
|
25
|
+
new (input: AssociatePackagesCommandInput): import("@smithy/smithy-client").CommandImpl<AssociatePackagesCommandInput, AssociatePackagesCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AssociatePackagesCommandInput): import("@smithy/smithy-client").CommandImpl<AssociatePackagesCommandInput, AssociatePackagesCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Operation in the Amazon OpenSearch Service API for associating multiple packages with a domain simultaneously.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OpenSearchClient, AssociatePackagesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
35
|
+
* // const { OpenSearchClient, AssociatePackagesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
36
|
+
* const client = new OpenSearchClient(config);
|
|
37
|
+
* const input = { // AssociatePackagesRequest
|
|
38
|
+
* PackageList: [ // PackageDetailsForAssociationList // required
|
|
39
|
+
* { // PackageDetailsForAssociation
|
|
40
|
+
* PackageID: "STRING_VALUE", // required
|
|
41
|
+
* PrerequisitePackageIDList: [ // PackageIDList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* AssociationConfiguration: { // PackageAssociationConfiguration
|
|
45
|
+
* KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
46
|
+
* KeyAccessRoleArn: "STRING_VALUE",
|
|
47
|
+
* KeyStoreAccessEnabled: true || false, // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* DomainName: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
54
|
+
* const command = new AssociatePackagesCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // AssociatePackagesResponse
|
|
57
|
+
* // DomainPackageDetailsList: [ // DomainPackageDetailsList
|
|
58
|
+
* // { // DomainPackageDetails
|
|
59
|
+
* // PackageID: "STRING_VALUE",
|
|
60
|
+
* // PackageName: "STRING_VALUE",
|
|
61
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
62
|
+
* // LastUpdated: new Date("TIMESTAMP"),
|
|
63
|
+
* // DomainName: "STRING_VALUE",
|
|
64
|
+
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
65
|
+
* // PackageVersion: "STRING_VALUE",
|
|
66
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // ReferencePath: "STRING_VALUE",
|
|
70
|
+
* // ErrorDetails: { // ErrorDetails
|
|
71
|
+
* // ErrorType: "STRING_VALUE",
|
|
72
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
75
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
76
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
77
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param AssociatePackagesCommandInput - {@link AssociatePackagesCommandInput}
|
|
87
|
+
* @returns {@link AssociatePackagesCommandOutput}
|
|
88
|
+
* @see {@link AssociatePackagesCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link AssociatePackagesCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link BaseException} (client fault)
|
|
93
|
+
* <p>An error occurred while processing the request.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConflictException} (client fault)
|
|
96
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
99
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InternalException} (server fault)
|
|
102
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ValidationException} (client fault)
|
|
108
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link OpenSearchServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class AssociatePackagesCommand extends AssociatePackagesCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: AssociatePackagesRequest;
|
|
120
|
+
output: AssociatePackagesResponse;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: AssociatePackagesCommandInput;
|
|
124
|
+
output: AssociatePackagesCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -37,12 +37,26 @@ declare const CreatePackageCommand_base: {
|
|
|
37
37
|
* const client = new OpenSearchClient(config);
|
|
38
38
|
* const input = { // CreatePackageRequest
|
|
39
39
|
* PackageName: "STRING_VALUE", // required
|
|
40
|
-
* PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN", // required
|
|
40
|
+
* PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG", // required
|
|
41
41
|
* PackageDescription: "STRING_VALUE",
|
|
42
42
|
* PackageSource: { // PackageSource
|
|
43
43
|
* S3BucketName: "STRING_VALUE",
|
|
44
44
|
* S3Key: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
+
* PackageConfiguration: { // PackageConfiguration
|
|
47
|
+
* LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
48
|
+
* LicenseFilepath: "STRING_VALUE",
|
|
49
|
+
* ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
50
|
+
* RequiresRestartForConfigurationUpdate: true || false,
|
|
51
|
+
* },
|
|
52
|
+
* EngineVersion: "STRING_VALUE",
|
|
53
|
+
* PackageVendingOptions: { // PackageVendingOptions
|
|
54
|
+
* VendingEnabled: true || false, // required
|
|
55
|
+
* },
|
|
56
|
+
* PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
57
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
58
|
+
* EncryptionEnabled: true || false, // required
|
|
59
|
+
* },
|
|
46
60
|
* };
|
|
47
61
|
* const command = new CreatePackageCommand(input);
|
|
48
62
|
* const response = await client.send(command);
|
|
@@ -50,7 +64,7 @@ declare const CreatePackageCommand_base: {
|
|
|
50
64
|
* // PackageDetails: { // PackageDetails
|
|
51
65
|
* // PackageID: "STRING_VALUE",
|
|
52
66
|
* // PackageName: "STRING_VALUE",
|
|
53
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
67
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
54
68
|
* // PackageDescription: "STRING_VALUE",
|
|
55
69
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
56
70
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -68,6 +82,23 @@ declare const CreatePackageCommand_base: {
|
|
|
68
82
|
* // ClassName: "STRING_VALUE",
|
|
69
83
|
* // UncompressedSizeInBytes: Number("long"),
|
|
70
84
|
* // },
|
|
85
|
+
* // AvailablePackageConfiguration: { // PackageConfiguration
|
|
86
|
+
* // LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
87
|
+
* // LicenseFilepath: "STRING_VALUE",
|
|
88
|
+
* // ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
89
|
+
* // RequiresRestartForConfigurationUpdate: true || false,
|
|
90
|
+
* // },
|
|
91
|
+
* // AllowListedUserList: [ // PackageUserList
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // PackageOwner: "STRING_VALUE",
|
|
95
|
+
* // PackageVendingOptions: { // PackageVendingOptions
|
|
96
|
+
* // VendingEnabled: true || false, // required
|
|
97
|
+
* // },
|
|
98
|
+
* // PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
99
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
100
|
+
* // EncryptionEnabled: true || false, // required
|
|
101
|
+
* // },
|
|
71
102
|
* // },
|
|
72
103
|
* // };
|
|
73
104
|
*
|
|
@@ -44,7 +44,7 @@ declare const DeletePackageCommand_base: {
|
|
|
44
44
|
* // PackageDetails: { // PackageDetails
|
|
45
45
|
* // PackageID: "STRING_VALUE",
|
|
46
46
|
* // PackageName: "STRING_VALUE",
|
|
47
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
47
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
48
48
|
* // PackageDescription: "STRING_VALUE",
|
|
49
49
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
50
50
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -62,6 +62,23 @@ declare const DeletePackageCommand_base: {
|
|
|
62
62
|
* // ClassName: "STRING_VALUE",
|
|
63
63
|
* // UncompressedSizeInBytes: Number("long"),
|
|
64
64
|
* // },
|
|
65
|
+
* // AvailablePackageConfiguration: { // PackageConfiguration
|
|
66
|
+
* // LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
67
|
+
* // LicenseFilepath: "STRING_VALUE",
|
|
68
|
+
* // ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
69
|
+
* // RequiresRestartForConfigurationUpdate: true || false,
|
|
70
|
+
* // },
|
|
71
|
+
* // AllowListedUserList: [ // PackageUserList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // PackageOwner: "STRING_VALUE",
|
|
75
|
+
* // PackageVendingOptions: { // PackageVendingOptions
|
|
76
|
+
* // VendingEnabled: true || false, // required
|
|
77
|
+
* // },
|
|
78
|
+
* // PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
79
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
80
|
+
* // EncryptionEnabled: true || false, // required
|
|
81
|
+
* // },
|
|
65
82
|
* // },
|
|
66
83
|
* // };
|
|
67
84
|
*
|
|
@@ -38,7 +38,7 @@ declare const DescribePackagesCommand_base: {
|
|
|
38
38
|
* const input = { // DescribePackagesRequest
|
|
39
39
|
* Filters: [ // DescribePackagesFilterList
|
|
40
40
|
* { // DescribePackagesFilter
|
|
41
|
-
* Name: "PackageID" || "PackageName" || "PackageStatus" || "PackageType" || "EngineVersion",
|
|
41
|
+
* Name: "PackageID" || "PackageName" || "PackageStatus" || "PackageType" || "EngineVersion" || "PackageOwner",
|
|
42
42
|
* Value: [ // DescribePackagesFilterValues
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
@@ -54,7 +54,7 @@ declare const DescribePackagesCommand_base: {
|
|
|
54
54
|
* // { // PackageDetails
|
|
55
55
|
* // PackageID: "STRING_VALUE",
|
|
56
56
|
* // PackageName: "STRING_VALUE",
|
|
57
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
57
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
58
58
|
* // PackageDescription: "STRING_VALUE",
|
|
59
59
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
60
60
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -72,6 +72,23 @@ declare const DescribePackagesCommand_base: {
|
|
|
72
72
|
* // ClassName: "STRING_VALUE",
|
|
73
73
|
* // UncompressedSizeInBytes: Number("long"),
|
|
74
74
|
* // },
|
|
75
|
+
* // AvailablePackageConfiguration: { // PackageConfiguration
|
|
76
|
+
* // LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
77
|
+
* // LicenseFilepath: "STRING_VALUE",
|
|
78
|
+
* // ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
79
|
+
* // RequiresRestartForConfigurationUpdate: true || false,
|
|
80
|
+
* // },
|
|
81
|
+
* // AllowListedUserList: [ // PackageUserList
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // PackageOwner: "STRING_VALUE",
|
|
85
|
+
* // PackageVendingOptions: { // PackageVendingOptions
|
|
86
|
+
* // VendingEnabled: true || false, // required
|
|
87
|
+
* // },
|
|
88
|
+
* // PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
89
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
90
|
+
* // EncryptionEnabled: true || false, // required
|
|
91
|
+
* // },
|
|
75
92
|
* // },
|
|
76
93
|
* // ],
|
|
77
94
|
* // NextToken: "STRING_VALUE",
|