@aws-sdk/client-opensearch 3.682.0 → 3.683.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 +47 -7
- package/dist-cjs/index.js +344 -29
- package/dist-es/OpenSearch.js +10 -0
- package/dist-es/commands/CreateApplicationCommand.js +22 -0
- package/dist-es/commands/DeleteApplicationCommand.js +22 -0
- package/dist-es/commands/GetApplicationCommand.js +22 -0
- package/dist-es/commands/ListApplicationsCommand.js +22 -0
- package/dist-es/commands/UpdateApplicationCommand.js +22 -0
- package/dist-es/commands/UpdateDomainConfigCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +23 -28
- package/dist-es/models/models_1.js +30 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +191 -3
- package/dist-types/OpenSearch.d.ts +36 -0
- package/dist-types/OpenSearchClient.d.ts +7 -2
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +2 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +140 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +14 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +90 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +11 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +8 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +113 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +104 -0
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +2 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +3 -2
- package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +126 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +18 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +538 -565
- package/dist-types/models/models_1.d.ts +603 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -114
- package/dist-types/ts3.4/models/models_1.d.ts +169 -1
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +4 -2
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
+
import { AccessDeniedException, BaseException, ConflictException, DependencyFailureException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { SlotNotAvailableException } from "../models/models_1";
|
|
5
7
|
import { OpenSearchServiceException as __BaseException } from "../models/OpenSearchServiceException";
|
|
6
8
|
export const se_AcceptInboundConnectionCommand = async (input, context) => {
|
|
7
9
|
const b = rb(input, context);
|
|
@@ -62,6 +64,7 @@ export const se_AuthorizeVpcEndpointAccessCommand = async (input, context) => {
|
|
|
62
64
|
let body;
|
|
63
65
|
body = JSON.stringify(take(input, {
|
|
64
66
|
Account: [],
|
|
67
|
+
Service: [],
|
|
65
68
|
}));
|
|
66
69
|
b.m("POST").h(headers).b(body);
|
|
67
70
|
return b.build();
|
|
@@ -93,6 +96,24 @@ export const se_CancelServiceSoftwareUpdateCommand = async (input, context) => {
|
|
|
93
96
|
b.m("POST").h(headers).b(body);
|
|
94
97
|
return b.build();
|
|
95
98
|
};
|
|
99
|
+
export const se_CreateApplicationCommand = async (input, context) => {
|
|
100
|
+
const b = rb(input, context);
|
|
101
|
+
const headers = {
|
|
102
|
+
"content-type": "application/json",
|
|
103
|
+
};
|
|
104
|
+
b.bp("/2021-01-01/opensearch/application");
|
|
105
|
+
let body;
|
|
106
|
+
body = JSON.stringify(take(input, {
|
|
107
|
+
appConfigs: (_) => _json(_),
|
|
108
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
109
|
+
dataSources: (_) => _json(_),
|
|
110
|
+
iamIdentityCenterOptions: (_) => _json(_),
|
|
111
|
+
name: [],
|
|
112
|
+
tagList: (_) => _json(_),
|
|
113
|
+
}));
|
|
114
|
+
b.m("POST").h(headers).b(body);
|
|
115
|
+
return b.build();
|
|
116
|
+
};
|
|
96
117
|
export const se_CreateDomainCommand = async (input, context) => {
|
|
97
118
|
const b = rb(input, context);
|
|
98
119
|
const headers = {
|
|
@@ -114,6 +135,7 @@ export const se_CreateDomainCommand = async (input, context) => {
|
|
|
114
135
|
EncryptionAtRestOptions: (_) => _json(_),
|
|
115
136
|
EngineVersion: [],
|
|
116
137
|
IPAddressType: [],
|
|
138
|
+
IdentityCenterOptions: (_) => _json(_),
|
|
117
139
|
LogPublishingOptions: (_) => _json(_),
|
|
118
140
|
NodeToNodeEncryptionOptions: (_) => _json(_),
|
|
119
141
|
OffPeakWindowOptions: (_) => _json(_),
|
|
@@ -173,6 +195,15 @@ export const se_CreateVpcEndpointCommand = async (input, context) => {
|
|
|
173
195
|
b.m("POST").h(headers).b(body);
|
|
174
196
|
return b.build();
|
|
175
197
|
};
|
|
198
|
+
export const se_DeleteApplicationCommand = async (input, context) => {
|
|
199
|
+
const b = rb(input, context);
|
|
200
|
+
const headers = {};
|
|
201
|
+
b.bp("/2021-01-01/opensearch/application/{id}");
|
|
202
|
+
b.p("id", () => input.id, "{id}", false);
|
|
203
|
+
let body;
|
|
204
|
+
b.m("DELETE").h(headers).b(body);
|
|
205
|
+
return b.build();
|
|
206
|
+
};
|
|
176
207
|
export const se_DeleteDataSourceCommand = async (input, context) => {
|
|
177
208
|
const b = rb(input, context);
|
|
178
209
|
const headers = {};
|
|
@@ -424,6 +455,15 @@ export const se_DissociatePackageCommand = async (input, context) => {
|
|
|
424
455
|
b.m("POST").h(headers).b(body);
|
|
425
456
|
return b.build();
|
|
426
457
|
};
|
|
458
|
+
export const se_GetApplicationCommand = async (input, context) => {
|
|
459
|
+
const b = rb(input, context);
|
|
460
|
+
const headers = {};
|
|
461
|
+
b.bp("/2021-01-01/opensearch/application/{id}");
|
|
462
|
+
b.p("id", () => input.id, "{id}", false);
|
|
463
|
+
let body;
|
|
464
|
+
b.m("GET").h(headers).b(body);
|
|
465
|
+
return b.build();
|
|
466
|
+
};
|
|
427
467
|
export const se_GetCompatibleVersionsCommand = async (input, context) => {
|
|
428
468
|
const b = rb(input, context);
|
|
429
469
|
const headers = {};
|
|
@@ -492,6 +532,19 @@ export const se_GetUpgradeStatusCommand = async (input, context) => {
|
|
|
492
532
|
b.m("GET").h(headers).b(body);
|
|
493
533
|
return b.build();
|
|
494
534
|
};
|
|
535
|
+
export const se_ListApplicationsCommand = async (input, context) => {
|
|
536
|
+
const b = rb(input, context);
|
|
537
|
+
const headers = {};
|
|
538
|
+
b.bp("/2021-01-01/opensearch/list-applications");
|
|
539
|
+
const query = map({
|
|
540
|
+
[_nT]: [, input[_nT]],
|
|
541
|
+
[_s]: [() => input.statuses !== void 0, () => input[_s] || []],
|
|
542
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
543
|
+
});
|
|
544
|
+
let body;
|
|
545
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
546
|
+
return b.build();
|
|
547
|
+
};
|
|
495
548
|
export const se_ListDataSourcesCommand = async (input, context) => {
|
|
496
549
|
const b = rb(input, context);
|
|
497
550
|
const headers = {};
|
|
@@ -508,7 +561,7 @@ export const se_ListDomainMaintenancesCommand = async (input, context) => {
|
|
|
508
561
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
509
562
|
const query = map({
|
|
510
563
|
[_a]: [, input[_A]],
|
|
511
|
-
[
|
|
564
|
+
[_st]: [, input[_S]],
|
|
512
565
|
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
513
566
|
[_nT]: [, input[_NT]],
|
|
514
567
|
});
|
|
@@ -688,6 +741,7 @@ export const se_RevokeVpcEndpointAccessCommand = async (input, context) => {
|
|
|
688
741
|
let body;
|
|
689
742
|
body = JSON.stringify(take(input, {
|
|
690
743
|
Account: [],
|
|
744
|
+
Service: [],
|
|
691
745
|
}));
|
|
692
746
|
b.m("POST").h(headers).b(body);
|
|
693
747
|
return b.build();
|
|
@@ -722,6 +776,21 @@ export const se_StartServiceSoftwareUpdateCommand = async (input, context) => {
|
|
|
722
776
|
b.m("POST").h(headers).b(body);
|
|
723
777
|
return b.build();
|
|
724
778
|
};
|
|
779
|
+
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
780
|
+
const b = rb(input, context);
|
|
781
|
+
const headers = {
|
|
782
|
+
"content-type": "application/json",
|
|
783
|
+
};
|
|
784
|
+
b.bp("/2021-01-01/opensearch/application/{id}");
|
|
785
|
+
b.p("id", () => input.id, "{id}", false);
|
|
786
|
+
let body;
|
|
787
|
+
body = JSON.stringify(take(input, {
|
|
788
|
+
appConfigs: (_) => _json(_),
|
|
789
|
+
dataSources: (_) => _json(_),
|
|
790
|
+
}));
|
|
791
|
+
b.m("PUT").h(headers).b(body);
|
|
792
|
+
return b.build();
|
|
793
|
+
};
|
|
725
794
|
export const se_UpdateDataSourceCommand = async (input, context) => {
|
|
726
795
|
const b = rb(input, context);
|
|
727
796
|
const headers = {
|
|
@@ -761,6 +830,7 @@ export const se_UpdateDomainConfigCommand = async (input, context) => {
|
|
|
761
830
|
EBSOptions: (_) => _json(_),
|
|
762
831
|
EncryptionAtRestOptions: (_) => _json(_),
|
|
763
832
|
IPAddressType: [],
|
|
833
|
+
IdentityCenterOptions: (_) => _json(_),
|
|
764
834
|
LogPublishingOptions: (_) => _json(_),
|
|
765
835
|
NodeToNodeEncryptionOptions: (_) => _json(_),
|
|
766
836
|
OffPeakWindowOptions: (_) => _json(_),
|
|
@@ -930,6 +1000,27 @@ export const de_CancelServiceSoftwareUpdateCommand = async (output, context) =>
|
|
|
930
1000
|
Object.assign(contents, doc);
|
|
931
1001
|
return contents;
|
|
932
1002
|
};
|
|
1003
|
+
export const de_CreateApplicationCommand = async (output, context) => {
|
|
1004
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1006
|
+
}
|
|
1007
|
+
const contents = map({
|
|
1008
|
+
$metadata: deserializeMetadata(output),
|
|
1009
|
+
});
|
|
1010
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1011
|
+
const doc = take(data, {
|
|
1012
|
+
appConfigs: _json,
|
|
1013
|
+
arn: __expectString,
|
|
1014
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1015
|
+
dataSources: _json,
|
|
1016
|
+
iamIdentityCenterOptions: _json,
|
|
1017
|
+
id: __expectString,
|
|
1018
|
+
name: __expectString,
|
|
1019
|
+
tagList: _json,
|
|
1020
|
+
});
|
|
1021
|
+
Object.assign(contents, doc);
|
|
1022
|
+
return contents;
|
|
1023
|
+
};
|
|
933
1024
|
export const de_CreateDomainCommand = async (output, context) => {
|
|
934
1025
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
935
1026
|
return de_CommandError(output, context);
|
|
@@ -992,6 +1083,16 @@ export const de_CreateVpcEndpointCommand = async (output, context) => {
|
|
|
992
1083
|
Object.assign(contents, doc);
|
|
993
1084
|
return contents;
|
|
994
1085
|
};
|
|
1086
|
+
export const de_DeleteApplicationCommand = async (output, context) => {
|
|
1087
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
|
+
return de_CommandError(output, context);
|
|
1089
|
+
}
|
|
1090
|
+
const contents = map({
|
|
1091
|
+
$metadata: deserializeMetadata(output),
|
|
1092
|
+
});
|
|
1093
|
+
await collectBody(output.body, context);
|
|
1094
|
+
return contents;
|
|
1095
|
+
};
|
|
995
1096
|
export const de_DeleteDataSourceCommand = async (output, context) => {
|
|
996
1097
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
1098
|
return de_CommandError(output, context);
|
|
@@ -1321,6 +1422,29 @@ export const de_DissociatePackageCommand = async (output, context) => {
|
|
|
1321
1422
|
Object.assign(contents, doc);
|
|
1322
1423
|
return contents;
|
|
1323
1424
|
};
|
|
1425
|
+
export const de_GetApplicationCommand = async (output, context) => {
|
|
1426
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1427
|
+
return de_CommandError(output, context);
|
|
1428
|
+
}
|
|
1429
|
+
const contents = map({
|
|
1430
|
+
$metadata: deserializeMetadata(output),
|
|
1431
|
+
});
|
|
1432
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1433
|
+
const doc = take(data, {
|
|
1434
|
+
appConfigs: _json,
|
|
1435
|
+
arn: __expectString,
|
|
1436
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1437
|
+
dataSources: _json,
|
|
1438
|
+
endpoint: __expectString,
|
|
1439
|
+
iamIdentityCenterOptions: _json,
|
|
1440
|
+
id: __expectString,
|
|
1441
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1442
|
+
name: __expectString,
|
|
1443
|
+
status: __expectString,
|
|
1444
|
+
});
|
|
1445
|
+
Object.assign(contents, doc);
|
|
1446
|
+
return contents;
|
|
1447
|
+
};
|
|
1324
1448
|
export const de_GetCompatibleVersionsCommand = async (output, context) => {
|
|
1325
1449
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1326
1450
|
return de_CommandError(output, context);
|
|
@@ -1418,6 +1542,21 @@ export const de_GetUpgradeStatusCommand = async (output, context) => {
|
|
|
1418
1542
|
Object.assign(contents, doc);
|
|
1419
1543
|
return contents;
|
|
1420
1544
|
};
|
|
1545
|
+
export const de_ListApplicationsCommand = async (output, context) => {
|
|
1546
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1547
|
+
return de_CommandError(output, context);
|
|
1548
|
+
}
|
|
1549
|
+
const contents = map({
|
|
1550
|
+
$metadata: deserializeMetadata(output),
|
|
1551
|
+
});
|
|
1552
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1553
|
+
const doc = take(data, {
|
|
1554
|
+
ApplicationSummaries: (_) => de_ApplicationSummaries(_, context),
|
|
1555
|
+
nextToken: __expectString,
|
|
1556
|
+
});
|
|
1557
|
+
Object.assign(contents, doc);
|
|
1558
|
+
return contents;
|
|
1559
|
+
};
|
|
1421
1560
|
export const de_ListDataSourcesCommand = async (output, context) => {
|
|
1422
1561
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1423
1562
|
return de_CommandError(output, context);
|
|
@@ -1672,6 +1811,27 @@ export const de_StartServiceSoftwareUpdateCommand = async (output, context) => {
|
|
|
1672
1811
|
Object.assign(contents, doc);
|
|
1673
1812
|
return contents;
|
|
1674
1813
|
};
|
|
1814
|
+
export const de_UpdateApplicationCommand = async (output, context) => {
|
|
1815
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1816
|
+
return de_CommandError(output, context);
|
|
1817
|
+
}
|
|
1818
|
+
const contents = map({
|
|
1819
|
+
$metadata: deserializeMetadata(output),
|
|
1820
|
+
});
|
|
1821
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1822
|
+
const doc = take(data, {
|
|
1823
|
+
appConfigs: _json,
|
|
1824
|
+
arn: __expectString,
|
|
1825
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1826
|
+
dataSources: _json,
|
|
1827
|
+
iamIdentityCenterOptions: _json,
|
|
1828
|
+
id: __expectString,
|
|
1829
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1830
|
+
name: __expectString,
|
|
1831
|
+
});
|
|
1832
|
+
Object.assign(contents, doc);
|
|
1833
|
+
return contents;
|
|
1834
|
+
};
|
|
1675
1835
|
export const de_UpdateDataSourceCommand = async (output, context) => {
|
|
1676
1836
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1677
1837
|
return de_CommandError(output, context);
|
|
@@ -2052,6 +2212,25 @@ const de_AIMLOptionsStatus = (output, context) => {
|
|
|
2052
2212
|
Status: (_) => de_OptionStatus(_, context),
|
|
2053
2213
|
});
|
|
2054
2214
|
};
|
|
2215
|
+
const de_ApplicationSummaries = (output, context) => {
|
|
2216
|
+
const retVal = (output || [])
|
|
2217
|
+
.filter((e) => e != null)
|
|
2218
|
+
.map((entry) => {
|
|
2219
|
+
return de_ApplicationSummary(entry, context);
|
|
2220
|
+
});
|
|
2221
|
+
return retVal;
|
|
2222
|
+
};
|
|
2223
|
+
const de_ApplicationSummary = (output, context) => {
|
|
2224
|
+
return take(output, {
|
|
2225
|
+
arn: __expectString,
|
|
2226
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2227
|
+
endpoint: __expectString,
|
|
2228
|
+
id: __expectString,
|
|
2229
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2230
|
+
name: __expectString,
|
|
2231
|
+
status: __expectString,
|
|
2232
|
+
});
|
|
2233
|
+
};
|
|
2055
2234
|
const de_AutoTune = (output, context) => {
|
|
2056
2235
|
return take(output, {
|
|
2057
2236
|
AutoTuneDetails: (_) => de_AutoTuneDetails(_, context),
|
|
@@ -2177,6 +2356,7 @@ const de_DomainConfig = (output, context) => {
|
|
|
2177
2356
|
EncryptionAtRestOptions: (_) => de_EncryptionAtRestOptionsStatus(_, context),
|
|
2178
2357
|
EngineVersion: (_) => de_VersionStatus(_, context),
|
|
2179
2358
|
IPAddressType: (_) => de_IPAddressTypeStatus(_, context),
|
|
2359
|
+
IdentityCenterOptions: (_) => de_IdentityCenterOptionsStatus(_, context),
|
|
2180
2360
|
LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
|
|
2181
2361
|
ModifyingProperties: _json,
|
|
2182
2362
|
NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
|
|
@@ -2258,6 +2438,7 @@ const de_DomainStatus = (output, context) => {
|
|
|
2258
2438
|
Endpoints: _json,
|
|
2259
2439
|
EngineVersion: __expectString,
|
|
2260
2440
|
IPAddressType: __expectString,
|
|
2441
|
+
IdentityCenterOptions: _json,
|
|
2261
2442
|
LogPublishingOptions: _json,
|
|
2262
2443
|
ModifyingProperties: _json,
|
|
2263
2444
|
NodeToNodeEncryptionOptions: _json,
|
|
@@ -2290,6 +2471,12 @@ const de_EncryptionAtRestOptionsStatus = (output, context) => {
|
|
|
2290
2471
|
Status: (_) => de_OptionStatus(_, context),
|
|
2291
2472
|
});
|
|
2292
2473
|
};
|
|
2474
|
+
const de_IdentityCenterOptionsStatus = (output, context) => {
|
|
2475
|
+
return take(output, {
|
|
2476
|
+
Options: _json,
|
|
2477
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
2478
|
+
});
|
|
2479
|
+
};
|
|
2293
2480
|
const de_IPAddressTypeStatus = (output, context) => {
|
|
2294
2481
|
return take(output, {
|
|
2295
2482
|
Options: __expectString,
|
|
@@ -2534,4 +2721,5 @@ const _nT = "nextToken";
|
|
|
2534
2721
|
const _oI = "offeringId";
|
|
2535
2722
|
const _rAZ = "retrieveAZs";
|
|
2536
2723
|
const _rI = "reservationId";
|
|
2537
|
-
const _s = "
|
|
2724
|
+
const _s = "statuses";
|
|
2725
|
+
const _st = "status";
|
|
@@ -6,10 +6,12 @@ import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./c
|
|
|
6
6
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
7
|
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
8
8
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
9
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
9
10
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
10
11
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
11
12
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
12
13
|
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
14
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
13
15
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
14
16
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
15
17
|
import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "./commands/DeleteInboundConnectionCommand";
|
|
@@ -32,12 +34,14 @@ import { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstance
|
|
|
32
34
|
import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
33
35
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
34
36
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
37
|
+
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
35
38
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
36
39
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
37
40
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
38
41
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
39
42
|
import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
40
43
|
import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
44
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
41
45
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
42
46
|
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
43
47
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
@@ -56,6 +60,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
|
|
|
56
60
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
57
61
|
import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
58
62
|
import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
63
|
+
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
59
64
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
60
65
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
61
66
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
@@ -106,6 +111,12 @@ export interface OpenSearch {
|
|
|
106
111
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, options?: __HttpHandlerOptions): Promise<CancelServiceSoftwareUpdateCommandOutput>;
|
|
107
112
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, cb: (err: any, data?: CancelServiceSoftwareUpdateCommandOutput) => void): void;
|
|
108
113
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelServiceSoftwareUpdateCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link CreateApplicationCommand}
|
|
116
|
+
*/
|
|
117
|
+
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
118
|
+
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
119
|
+
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
109
120
|
/**
|
|
110
121
|
* @see {@link CreateDomainCommand}
|
|
111
122
|
*/
|
|
@@ -130,6 +141,12 @@ export interface OpenSearch {
|
|
|
130
141
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointCommandOutput>;
|
|
131
142
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
132
143
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
144
|
+
/**
|
|
145
|
+
* @see {@link DeleteApplicationCommand}
|
|
146
|
+
*/
|
|
147
|
+
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
148
|
+
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
149
|
+
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
133
150
|
/**
|
|
134
151
|
* @see {@link DeleteDataSourceCommand}
|
|
135
152
|
*/
|
|
@@ -267,6 +284,12 @@ export interface OpenSearch {
|
|
|
267
284
|
dissociatePackage(args: DissociatePackageCommandInput, options?: __HttpHandlerOptions): Promise<DissociatePackageCommandOutput>;
|
|
268
285
|
dissociatePackage(args: DissociatePackageCommandInput, cb: (err: any, data?: DissociatePackageCommandOutput) => void): void;
|
|
269
286
|
dissociatePackage(args: DissociatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DissociatePackageCommandOutput) => void): void;
|
|
287
|
+
/**
|
|
288
|
+
* @see {@link GetApplicationCommand}
|
|
289
|
+
*/
|
|
290
|
+
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
291
|
+
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
292
|
+
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
270
293
|
/**
|
|
271
294
|
* @see {@link GetCompatibleVersionsCommand}
|
|
272
295
|
*/
|
|
@@ -304,6 +327,13 @@ export interface OpenSearch {
|
|
|
304
327
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetUpgradeStatusCommandOutput>;
|
|
305
328
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, cb: (err: any, data?: GetUpgradeStatusCommandOutput) => void): void;
|
|
306
329
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUpgradeStatusCommandOutput) => void): void;
|
|
330
|
+
/**
|
|
331
|
+
* @see {@link ListApplicationsCommand}
|
|
332
|
+
*/
|
|
333
|
+
listApplications(): Promise<ListApplicationsCommandOutput>;
|
|
334
|
+
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
335
|
+
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
336
|
+
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
307
337
|
/**
|
|
308
338
|
* @see {@link ListDataSourcesCommand}
|
|
309
339
|
*/
|
|
@@ -415,6 +445,12 @@ export interface OpenSearch {
|
|
|
415
445
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartServiceSoftwareUpdateCommandOutput>;
|
|
416
446
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
417
447
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
448
|
+
/**
|
|
449
|
+
* @see {@link UpdateApplicationCommand}
|
|
450
|
+
*/
|
|
451
|
+
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
452
|
+
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
453
|
+
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
418
454
|
/**
|
|
419
455
|
* @see {@link UpdateDataSourceCommand}
|
|
420
456
|
*/
|
|
@@ -14,10 +14,12 @@ import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./c
|
|
|
14
14
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
15
15
|
import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
16
16
|
import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
17
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
17
18
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
18
19
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
19
20
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
20
21
|
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
22
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
21
23
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
22
24
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
23
25
|
import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "./commands/DeleteInboundConnectionCommand";
|
|
@@ -40,12 +42,14 @@ import { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstance
|
|
|
40
42
|
import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
41
43
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
42
44
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
45
|
+
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
43
46
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
44
47
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
45
48
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
46
49
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
47
50
|
import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
48
51
|
import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
52
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
49
53
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
50
54
|
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
51
55
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
@@ -64,6 +68,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
|
|
|
64
68
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
65
69
|
import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
66
70
|
import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
71
|
+
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
67
72
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
68
73
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
69
74
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
@@ -76,11 +81,11 @@ export { __Client };
|
|
|
76
81
|
/**
|
|
77
82
|
* @public
|
|
78
83
|
*/
|
|
79
|
-
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;
|
|
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;
|
|
80
85
|
/**
|
|
81
86
|
* @public
|
|
82
87
|
*/
|
|
83
|
-
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;
|
|
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;
|
|
84
89
|
/**
|
|
85
90
|
* @public
|
|
86
91
|
*/
|
|
@@ -37,7 +37,8 @@ declare const AuthorizeVpcEndpointAccessCommand_base: {
|
|
|
37
37
|
* const client = new OpenSearchClient(config);
|
|
38
38
|
* const input = { // AuthorizeVpcEndpointAccessRequest
|
|
39
39
|
* DomainName: "STRING_VALUE", // required
|
|
40
|
-
* Account: "STRING_VALUE",
|
|
40
|
+
* Account: "STRING_VALUE",
|
|
41
|
+
* Service: "application.opensearchservice.amazonaws.com",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new AuthorizeVpcEndpointAccessCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateApplicationRequest, CreateApplicationResponse } 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 CreateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApplicationCommandInput extends CreateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateApplicationCommand_base: {
|
|
25
|
+
new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an OpenSearch Application.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OpenSearchClient, CreateApplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
35
|
+
* // const { OpenSearchClient, CreateApplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
36
|
+
* const client = new OpenSearchClient(config);
|
|
37
|
+
* const input = { // CreateApplicationRequest
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* dataSources: [ // DataSources
|
|
41
|
+
* { // DataSource
|
|
42
|
+
* dataSourceArn: "STRING_VALUE",
|
|
43
|
+
* dataSourceDescription: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* iamIdentityCenterOptions: { // IamIdentityCenterOptionsInput
|
|
47
|
+
* enabled: true || false,
|
|
48
|
+
* iamIdentityCenterInstanceArn: "STRING_VALUE",
|
|
49
|
+
* iamRoleForIdentityCenterApplicationArn: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* appConfigs: [ // AppConfigs
|
|
52
|
+
* { // AppConfig
|
|
53
|
+
* key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups",
|
|
54
|
+
* value: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* tagList: [ // TagList
|
|
58
|
+
* { // Tag
|
|
59
|
+
* Key: "STRING_VALUE", // required
|
|
60
|
+
* Value: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* };
|
|
64
|
+
* const command = new CreateApplicationCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // CreateApplicationResponse
|
|
67
|
+
* // id: "STRING_VALUE",
|
|
68
|
+
* // name: "STRING_VALUE",
|
|
69
|
+
* // arn: "STRING_VALUE",
|
|
70
|
+
* // dataSources: [ // DataSources
|
|
71
|
+
* // { // DataSource
|
|
72
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
73
|
+
* // dataSourceDescription: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // iamIdentityCenterOptions: { // IamIdentityCenterOptions
|
|
77
|
+
* // enabled: true || false,
|
|
78
|
+
* // iamIdentityCenterInstanceArn: "STRING_VALUE",
|
|
79
|
+
* // iamRoleForIdentityCenterApplicationArn: "STRING_VALUE",
|
|
80
|
+
* // iamIdentityCenterApplicationArn: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // appConfigs: [ // AppConfigs
|
|
83
|
+
* // { // AppConfig
|
|
84
|
+
* // key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups",
|
|
85
|
+
* // value: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // tagList: [ // TagList
|
|
89
|
+
* // { // Tag
|
|
90
|
+
* // Key: "STRING_VALUE", // required
|
|
91
|
+
* // Value: "STRING_VALUE", // required
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
|
|
100
|
+
* @returns {@link CreateApplicationCommandOutput}
|
|
101
|
+
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
106
|
+
* <p>An error occurred because you don't have permissions to access the resource.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link BaseException} (client fault)
|
|
109
|
+
* <p>An error occurred while processing the request.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ConflictException} (client fault)
|
|
112
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
115
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InternalException} (server fault)
|
|
118
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ValidationException} (client fault)
|
|
121
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link OpenSearchServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: CreateApplicationRequest;
|
|
133
|
+
output: CreateApplicationResponse;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: CreateApplicationCommandInput;
|
|
137
|
+
output: CreateApplicationCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|