@aws-sdk/client-opensearch 3.1020.0 → 3.1021.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.
Files changed (47) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +56 -0
  3. package/dist-cjs/models/errors.js +14 -1
  4. package/dist-cjs/schemas/schemas_0.js +107 -11
  5. package/dist-es/OpenSearch.js +6 -0
  6. package/dist-es/commands/DeregisterCapabilityCommand.js +16 -0
  7. package/dist-es/commands/GetCapabilityCommand.js +16 -0
  8. package/dist-es/commands/RegisterCapabilityCommand.js +16 -0
  9. package/dist-es/commands/index.js +3 -0
  10. package/dist-es/models/enums.js +12 -0
  11. package/dist-es/models/errors.js +12 -0
  12. package/dist-es/schemas/schemas_0.js +99 -3
  13. package/dist-types/OpenSearch.d.ts +21 -0
  14. package/dist-types/OpenSearchClient.d.ts +5 -2
  15. package/dist-types/commands/DeregisterCapabilityCommand.d.ts +93 -0
  16. package/dist-types/commands/GetCapabilityCommand.d.ts +101 -0
  17. package/dist-types/commands/RegisterCapabilityCommand.d.ts +104 -0
  18. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdatePackageScopeCommand.d.ts +1 -1
  24. package/dist-types/commands/index.d.ts +3 -0
  25. package/dist-types/models/enums.d.ts +28 -0
  26. package/dist-types/models/errors.d.ts +12 -0
  27. package/dist-types/models/models_0.d.ts +244 -366
  28. package/dist-types/models/models_1.d.ts +368 -2
  29. package/dist-types/schemas/schemas_0.d.ts +15 -0
  30. package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
  31. package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
  32. package/dist-types/ts3.4/commands/DeregisterCapabilityCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +50 -0
  34. package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  42. package/dist-types/ts3.4/models/enums.d.ts +16 -0
  43. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +87 -75
  45. package/dist-types/ts3.4/models/models_1.d.ts +106 -1
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  47. package/package.json +6 -6
@@ -22,6 +22,7 @@ export * from "./DeleteIndexCommand";
22
22
  export * from "./DeleteOutboundConnectionCommand";
23
23
  export * from "./DeletePackageCommand";
24
24
  export * from "./DeleteVpcEndpointCommand";
25
+ export * from "./DeregisterCapabilityCommand";
25
26
  export * from "./DescribeDomainAutoTunesCommand";
26
27
  export * from "./DescribeDomainChangeProgressCommand";
27
28
  export * from "./DescribeDomainCommand";
@@ -41,6 +42,7 @@ export * from "./DescribeVpcEndpointsCommand";
41
42
  export * from "./DissociatePackageCommand";
42
43
  export * from "./DissociatePackagesCommand";
43
44
  export * from "./GetApplicationCommand";
45
+ export * from "./GetCapabilityCommand";
44
46
  export * from "./GetCompatibleVersionsCommand";
45
47
  export * from "./GetDataSourceCommand";
46
48
  export * from "./GetDefaultApplicationSettingCommand";
@@ -67,6 +69,7 @@ export * from "./ListVpcEndpointsCommand";
67
69
  export * from "./ListVpcEndpointsForDomainCommand";
68
70
  export * from "./PurchaseReservedInstanceOfferingCommand";
69
71
  export * from "./PutDefaultApplicationSettingCommand";
72
+ export * from "./RegisterCapabilityCommand";
70
73
  export * from "./RejectInboundConnectionCommand";
71
74
  export * from "./RemoveTagsCommand";
72
75
  export * from "./RevokeVpcEndpointAccessCommand";
@@ -316,6 +316,15 @@ export const VpcEndpointStatus = {
316
316
  UPDATE_FAILED: "UPDATE_FAILED",
317
317
  UPDATING: "UPDATING",
318
318
  };
319
+ export const CapabilityStatus = {
320
+ ACTIVE: "active",
321
+ CREATE_FAILED: "create_failed",
322
+ CREATING: "creating",
323
+ DELETE_FAILED: "delete_failed",
324
+ DELETING: "deleting",
325
+ UPDATE_FAILED: "update_failed",
326
+ UPDATING: "updating",
327
+ };
319
328
  export const ScheduledAutoTuneActionType = {
320
329
  JVM_HEAP_SIZE_TUNING: "JVM_HEAP_SIZE_TUNING",
321
330
  JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
@@ -401,6 +410,9 @@ export const ApplicationStatus = {
401
410
  FAILED: "FAILED",
402
411
  UPDATING: "UPDATING",
403
412
  };
413
+ export const CapabilityFailureReason = {
414
+ KMS_KEY_INSUFFICIENT_PERMISSION: "KMS_KEY_INSUFFICIENT_PERMISSION",
415
+ };
404
416
  export const DataSourceStatus = {
405
417
  ACTIVE: "ACTIVE",
406
418
  DISABLED: "DISABLED",
@@ -155,6 +155,18 @@ export class InvalidPaginationTokenException extends __BaseException {
155
155
  Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
156
156
  }
157
157
  }
158
+ export class ServiceQuotaExceededException extends __BaseException {
159
+ name = "ServiceQuotaExceededException";
160
+ $fault = "client";
161
+ constructor(opts) {
162
+ super({
163
+ name: "ServiceQuotaExceededException",
164
+ $fault: "client",
165
+ ...opts,
166
+ });
167
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
168
+ }
169
+ }
158
170
  export class SlotNotAvailableException extends __BaseException {
159
171
  name = "SlotNotAvailableException";
160
172
  $fault = "client";
@@ -13,9 +13,10 @@ const _ADQDSRd = "AddDirectQueryDataSourceResponse";
13
13
  const _ADS = "AddDataSource";
14
14
  const _ADSR = "AddDataSourceRequest";
15
15
  const _ADSRd = "AddDataSourceResponse";
16
- const _AIC = "AcceptInboundConnection";
16
+ const _AIC = "AIConfig";
17
17
  const _AICR = "AcceptInboundConnectionRequest";
18
18
  const _AICRc = "AcceptInboundConnectionResponse";
19
+ const _AICc = "AcceptInboundConnection";
19
20
  const _AID = "ActionID";
20
21
  const _AIMLO = "AIMLOptions";
21
22
  const _AIMLOI = "AIMLOptionsInput";
@@ -87,6 +88,8 @@ const _CAR = "CreateApplicationRequest";
87
88
  const _CARr = "CreateApplicationResponse";
88
89
  const _CAr = "CreatedAt";
89
90
  const _CAre = "CreateApplication";
91
+ const _CBRC = "CapabilityBaseRequestConfig";
92
+ const _CBRCa = "CapabilityBaseResponseConfig";
90
93
  const _CC = "ClusterConfig";
91
94
  const _CCI = "CancelledChangeIds";
92
95
  const _CCP = "CancelledChangeProperties";
@@ -109,8 +112,11 @@ const _CE = "ConflictException";
109
112
  const _CECA = "CustomEndpointCertificateArn";
110
113
  const _CEE = "CustomEndpointEnabled";
111
114
  const _CEFR = "CronExpressionForRecurrence";
115
+ const _CERC = "CapabilityExtendedResponseConfig";
112
116
  const _CEo = "CognitoEnabled";
113
117
  const _CEu = "CustomEndpoint";
118
+ const _CF = "CapabilityFailure";
119
+ const _CFa = "CapabilityFailures";
114
120
  const _CH = "ClusterHealth";
115
121
  const _CI = "ConnectionId";
116
122
  const _CIR = "CreateIndexRequest";
@@ -167,6 +173,9 @@ const _DAR = "DeleteApplicationRequest";
167
173
  const _DARe = "DeleteApplicationResponse";
168
174
  const _DAe = "DeleteApplication";
169
175
  const _DC = "DomainConfig";
176
+ const _DCR = "DeregisterCapabilityRequest";
177
+ const _DCRe = "DeregisterCapabilityResponse";
178
+ const _DCe = "DeregisterCapability";
170
179
  const _DD = "DeleteDomain";
171
180
  const _DDAT = "DescribeDomainAutoTunes";
172
181
  const _DDATR = "DescribeDomainAutoTunesRequest";
@@ -335,6 +344,9 @@ const _Fr = "From";
335
344
  const _GA = "GetApplication";
336
345
  const _GAR = "GetApplicationRequest";
337
346
  const _GARe = "GetApplicationResponse";
347
+ const _GC = "GetCapability";
348
+ const _GCR = "GetCapabilityRequest";
349
+ const _GCRe = "GetCapabilityResponse";
338
350
  const _GCV = "GetCompatibleVersions";
339
351
  const _GCVR = "GetCompatibleVersionsRequest";
340
352
  const _GCVRe = "GetCompatibleVersionsResponse";
@@ -573,7 +585,10 @@ const _RC = "RecurringCharge";
573
585
  const _RCA = "RecurringChargeAmount";
574
586
  const _RCF = "RecurringChargeFrequency";
575
587
  const _RCL = "RecurringChargeList";
588
+ const _RCR = "RegisterCapabilityRequest";
589
+ const _RCRe = "RegisterCapabilityResponse";
576
590
  const _RCe = "RecurringCharges";
591
+ const _RCeg = "RegisterCapability";
577
592
  const _RDI = "RemoteDomainInfo";
578
593
  const _RI = "ReservedInstances";
579
594
  const _RIC = "RejectInboundConnection";
@@ -629,6 +644,7 @@ const _SNAE = "SlotNotAvailableException";
629
644
  const _SO = "SnapshotOptions";
630
645
  const _SOS = "SnapshotOptionsStatus";
631
646
  const _SOo = "SortOrder";
647
+ const _SQEE = "ServiceQuotaExceededException";
632
648
  const _SS = "SlotSuggestions";
633
649
  const _SSO = "ServiceSoftwareOptions";
634
650
  const _SSSU = "StartServiceSoftwareUpdate";
@@ -764,11 +780,16 @@ const _ZS = "ZoneStatus";
764
780
  const _a = "arn";
765
781
  const _aA = "applicationArn";
766
782
  const _aC = "appConfigs";
783
+ const _aCi = "aiConfig";
784
+ const _aI = "applicationId";
767
785
  const _ac = "action";
768
786
  const _c = "client";
769
787
  const _cA = "createdAt";
788
+ const _cC = "capabilityConfig";
789
+ const _cN = "capabilityName";
770
790
  const _cT = "clientToken";
771
791
  const _ch = "changeid";
792
+ const _d = "details";
772
793
  const _dN = "domainName";
773
794
  const _dRI = "dryRunId";
774
795
  const _dS = "dataSources";
@@ -778,6 +799,7 @@ const _e = "error";
778
799
  const _eT = "engineType";
779
800
  const _en = "endpoint";
780
801
  const _ena = "enabled";
802
+ const _f = "failures";
781
803
  const _h = "http";
782
804
  const _hE = "httpError";
783
805
  const _hQ = "httpQuery";
@@ -799,6 +821,7 @@ const _n = "name";
799
821
  const _nT = "nextToken";
800
822
  const _ne = "nexttoken";
801
823
  const _oI = "offeringId";
824
+ const _r = "reason";
802
825
  const _rAZ = "retrieveAZs";
803
826
  const _rI = "reservationId";
804
827
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.opensearch";
@@ -811,7 +834,7 @@ const _v = "value";
811
834
  const _xN = "xmlName";
812
835
  const n0 = "com.amazonaws.opensearch";
813
836
  import { TypeRegistry } from "@smithy/core/schema";
814
- import { AccessDeniedException, BaseException, ConflictException, DependencyFailureException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, SlotNotAvailableException, ThrottlingException, ValidationException, } from "../models/errors";
837
+ import { AccessDeniedException, BaseException, ConflictException, DependencyFailureException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceQuotaExceededException, SlotNotAvailableException, ThrottlingException, ValidationException, } from "../models/errors";
815
838
  import { OpenSearchServiceException } from "../models/OpenSearchServiceException";
816
839
  const _s_registry = TypeRegistry.for(_s);
817
840
  export var OpenSearchServiceException$ = [-3, _s, "OpenSearchServiceException", 0, [], []];
@@ -883,6 +906,12 @@ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
883
906
  [0]
884
907
  ];
885
908
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
909
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
910
+ { [_e]: _c, [_hE]: 402 },
911
+ [_m],
912
+ [0]
913
+ ];
914
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
886
915
  export var SlotNotAvailableException$ = [-3, n0, _SNAE,
887
916
  { [_e]: _c, [_hE]: 409 },
888
917
  [_SS, _m],
@@ -972,6 +1001,11 @@ export var AdvancedSecurityOptionsStatus$ = [3, n0, _ASOS,
972
1001
  [_O, _S],
973
1002
  [() => AdvancedSecurityOptions$, () => OptionStatus$], 2
974
1003
  ];
1004
+ export var AIConfig$ = [3, n0, _AIC,
1005
+ 0,
1006
+ [],
1007
+ []
1008
+ ];
975
1009
  export var AIMLOptionsInput$ = [3, n0, _AIMLOI,
976
1010
  0,
977
1011
  [_NLQGO, _SVE, _SVA],
@@ -1107,6 +1141,11 @@ export var CancelServiceSoftwareUpdateResponse$ = [3, n0, _CSSURa,
1107
1141
  [_SSO],
1108
1142
  [() => ServiceSoftwareOptions$]
1109
1143
  ];
1144
+ export var CapabilityFailure$ = [3, n0, _CF,
1145
+ 0,
1146
+ [_r, _d],
1147
+ [0, 0]
1148
+ ];
1110
1149
  export var ChangeProgressDetails$ = [3, n0, _CPD,
1111
1150
  0,
1112
1151
  [_CIh, _M, _CCS, _IB, _ST, _LUT],
@@ -1332,6 +1371,16 @@ export var DeploymentStrategyOptionsStatus$ = [3, n0, _DSOS,
1332
1371
  [_O, _S],
1333
1372
  [() => DeploymentStrategyOptions$, () => OptionStatus$], 2
1334
1373
  ];
1374
+ export var DeregisterCapabilityRequest$ = [3, n0, _DCR,
1375
+ 0,
1376
+ [_aI, _cN],
1377
+ [[0, 1], [0, 1]], 2
1378
+ ];
1379
+ export var DeregisterCapabilityResponse$ = [3, n0, _DCRe,
1380
+ 0,
1381
+ [_st],
1382
+ [0]
1383
+ ];
1335
1384
  export var DescribeDomainAutoTunesRequest$ = [3, n0, _DDATR,
1336
1385
  0,
1337
1386
  [_DN, _MR, _NT],
@@ -1627,6 +1676,16 @@ export var GetApplicationResponse$ = [3, n0, _GARe,
1627
1676
  [_i, _a, _n, _en, _st, _iICO, _dS, _aC, _cA, _lUA, _kKA],
1628
1677
  [0, 0, 0, 0, 0, () => IamIdentityCenterOptions$, () => DataSources, () => AppConfigs, 4, 4, 0]
1629
1678
  ];
1679
+ export var GetCapabilityRequest$ = [3, n0, _GCR,
1680
+ 0,
1681
+ [_aI, _cN],
1682
+ [[0, 1], [0, 1]], 2
1683
+ ];
1684
+ export var GetCapabilityResponse$ = [3, n0, _GCRe,
1685
+ 0,
1686
+ [_cN, _aI, _st, _cC, _f],
1687
+ [0, 0, 0, () => CapabilityExtendedResponseConfig$, () => CapabilityFailures]
1688
+ ];
1630
1689
  export var GetCompatibleVersionsRequest$ = [3, n0, _GCVR,
1631
1690
  0,
1632
1691
  [_DN],
@@ -2127,6 +2186,16 @@ export var RecurringCharge$ = [3, n0, _RC,
2127
2186
  [_RCA, _RCF],
2128
2187
  [1, 0]
2129
2188
  ];
2189
+ export var RegisterCapabilityRequest$ = [3, n0, _RCR,
2190
+ 0,
2191
+ [_aI, _cN, _cC],
2192
+ [[0, 1], 0, () => CapabilityBaseRequestConfig$], 3
2193
+ ];
2194
+ export var RegisterCapabilityResponse$ = [3, n0, _RCRe,
2195
+ 0,
2196
+ [_cN, _aI, _st, _cC],
2197
+ [0, 0, 0, () => CapabilityBaseResponseConfig$]
2198
+ ];
2130
2199
  export var RejectInboundConnectionRequest$ = [3, n0, _RICR,
2131
2200
  0,
2132
2201
  [_CI],
@@ -2454,6 +2523,9 @@ var AvailabilityZoneList = 64 | 0;
2454
2523
  var CancelledChangePropertyList = [1, n0, _CCPL,
2455
2524
  0, () => CancelledChangeProperty$
2456
2525
  ];
2526
+ var CapabilityFailures = [1, n0, _CFa,
2527
+ 0, () => CapabilityFailure$
2528
+ ];
2457
2529
  var ChangeProgressStageList = [1, n0, _CPSL,
2458
2530
  0, () => ChangeProgressStage$
2459
2531
  ];
@@ -2587,6 +2659,21 @@ var LimitsByRole = [2, n0, _LBR,
2587
2659
  var LogPublishingOptions = [2, n0, _LPO,
2588
2660
  0, 0, () => LogPublishingOption$
2589
2661
  ];
2662
+ export var CapabilityBaseRequestConfig$ = [4, n0, _CBRC,
2663
+ 0,
2664
+ [_aCi],
2665
+ [() => AIConfig$]
2666
+ ];
2667
+ export var CapabilityBaseResponseConfig$ = [4, n0, _CBRCa,
2668
+ 0,
2669
+ [_aCi],
2670
+ [() => AIConfig$]
2671
+ ];
2672
+ export var CapabilityExtendedResponseConfig$ = [4, n0, _CERC,
2673
+ 0,
2674
+ [_aCi],
2675
+ [() => AIConfig$]
2676
+ ];
2590
2677
  export var DataSourceType$ = [4, n0, _DST,
2591
2678
  0,
2592
2679
  [_SGDC],
@@ -2597,7 +2684,7 @@ export var DirectQueryDataSourceType$ = [4, n0, _DQDST,
2597
2684
  [_CWL, _SLe, _Prom],
2598
2685
  [() => CloudWatchDirectQueryDataSource$, () => SecurityLakeDirectQueryDataSource$, () => PrometheusDirectQueryDataSource$]
2599
2686
  ];
2600
- export var AcceptInboundConnection$ = [9, n0, _AIC,
2687
+ export var AcceptInboundConnection$ = [9, n0, _AICc,
2601
2688
  { [_h]: ["PUT", "/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept", 200] }, () => AcceptInboundConnectionRequest$, () => AcceptInboundConnectionResponse$
2602
2689
  ];
2603
2690
  export var AddDataSource$ = [9, n0, _ADS,
@@ -2669,6 +2756,9 @@ export var DeletePackage$ = [9, n0, _DP,
2669
2756
  export var DeleteVpcEndpoint$ = [9, n0, _DVE,
2670
2757
  { [_h]: ["DELETE", "/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}", 200] }, () => DeleteVpcEndpointRequest$, () => DeleteVpcEndpointResponse$
2671
2758
  ];
2759
+ export var DeregisterCapability$ = [9, n0, _DCe,
2760
+ { [_h]: ["DELETE", "/2021-01-01/opensearch/application/{applicationId}/capability/deregister/{capabilityName}", 200] }, () => DeregisterCapabilityRequest$, () => DeregisterCapabilityResponse$
2761
+ ];
2672
2762
  export var DescribeDomain$ = [9, n0, _DDe,
2673
2763
  { [_h]: ["GET", "/2021-01-01/opensearch/domain/{DomainName}", 200] }, () => DescribeDomainRequest$, () => DescribeDomainResponse$
2674
2764
  ];
@@ -2726,6 +2816,9 @@ export var DissociatePackages$ = [9, n0, _DPis,
2726
2816
  export var GetApplication$ = [9, n0, _GA,
2727
2817
  { [_h]: ["GET", "/2021-01-01/opensearch/application/{id}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
2728
2818
  ];
2819
+ export var GetCapability$ = [9, n0, _GC,
2820
+ { [_h]: ["GET", "/2021-01-01/opensearch/application/{applicationId}/capability/{capabilityName}", 200] }, () => GetCapabilityRequest$, () => GetCapabilityResponse$
2821
+ ];
2729
2822
  export var GetCompatibleVersions$ = [9, n0, _GCV,
2730
2823
  { [_h]: ["GET", "/2021-01-01/opensearch/compatibleVersions", 200] }, () => GetCompatibleVersionsRequest$, () => GetCompatibleVersionsResponse$
2731
2824
  ];
@@ -2804,6 +2897,9 @@ export var PurchaseReservedInstanceOffering$ = [9, n0, _PRIO,
2804
2897
  export var PutDefaultApplicationSetting$ = [9, n0, _PDAS,
2805
2898
  { [_h]: ["PUT", "/2021-01-01/opensearch/defaultApplicationSetting", 200] }, () => PutDefaultApplicationSettingRequest$, () => PutDefaultApplicationSettingResponse$
2806
2899
  ];
2900
+ export var RegisterCapability$ = [9, n0, _RCeg,
2901
+ { [_h]: ["POST", "/2021-01-01/opensearch/application/{applicationId}/capability/register", 200] }, () => RegisterCapabilityRequest$, () => RegisterCapabilityResponse$
2902
+ ];
2807
2903
  export var RejectInboundConnection$ = [9, n0, _RIC,
2808
2904
  { [_h]: ["PUT", "/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject", 200] }, () => RejectInboundConnectionRequest$, () => RejectInboundConnectionResponse$
2809
2905
  ];
@@ -23,6 +23,7 @@ import { type DeleteIndexCommandInput, type DeleteIndexCommandOutput } from "./c
23
23
  import { type DeleteOutboundConnectionCommandInput, type DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
24
24
  import { type DeletePackageCommandInput, type DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
25
25
  import { type DeleteVpcEndpointCommandInput, type DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
26
+ import { type DeregisterCapabilityCommandInput, type DeregisterCapabilityCommandOutput } from "./commands/DeregisterCapabilityCommand";
26
27
  import { type DescribeDomainAutoTunesCommandInput, type DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
27
28
  import { type DescribeDomainChangeProgressCommandInput, type DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
28
29
  import { type DescribeDomainCommandInput, type DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
@@ -42,6 +43,7 @@ import { type DescribeVpcEndpointsCommandInput, type DescribeVpcEndpointsCommand
42
43
  import { type DissociatePackageCommandInput, type DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
43
44
  import { type DissociatePackagesCommandInput, type DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
44
45
  import { type GetApplicationCommandInput, type GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
46
+ import { type GetCapabilityCommandInput, type GetCapabilityCommandOutput } from "./commands/GetCapabilityCommand";
45
47
  import { type GetCompatibleVersionsCommandInput, type GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
46
48
  import { type GetDataSourceCommandInput, type GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
47
49
  import { type GetDefaultApplicationSettingCommandInput, type GetDefaultApplicationSettingCommandOutput } from "./commands/GetDefaultApplicationSettingCommand";
@@ -68,6 +70,7 @@ import { type ListVpcEndpointsCommandInput, type ListVpcEndpointsCommandOutput }
68
70
  import { type ListVpcEndpointsForDomainCommandInput, type ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
69
71
  import { type PurchaseReservedInstanceOfferingCommandInput, type PurchaseReservedInstanceOfferingCommandOutput } from "./commands/PurchaseReservedInstanceOfferingCommand";
70
72
  import { type PutDefaultApplicationSettingCommandInput, type PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
73
+ import { type RegisterCapabilityCommandInput, type RegisterCapabilityCommandOutput } from "./commands/RegisterCapabilityCommand";
71
74
  import { type RejectInboundConnectionCommandInput, type RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
72
75
  import { type RemoveTagsCommandInput, type RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
73
76
  import { type RevokeVpcEndpointAccessCommandInput, type RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
@@ -229,6 +232,12 @@ export interface OpenSearch {
229
232
  deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointCommandOutput>;
230
233
  deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
231
234
  deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
235
+ /**
236
+ * @see {@link DeregisterCapabilityCommand}
237
+ */
238
+ deregisterCapability(args: DeregisterCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterCapabilityCommandOutput>;
239
+ deregisterCapability(args: DeregisterCapabilityCommandInput, cb: (err: any, data?: DeregisterCapabilityCommandOutput) => void): void;
240
+ deregisterCapability(args: DeregisterCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterCapabilityCommandOutput) => void): void;
232
241
  /**
233
242
  * @see {@link DescribeDomainCommand}
234
243
  */
@@ -348,6 +357,12 @@ export interface OpenSearch {
348
357
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
349
358
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
350
359
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
360
+ /**
361
+ * @see {@link GetCapabilityCommand}
362
+ */
363
+ getCapability(args: GetCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<GetCapabilityCommandOutput>;
364
+ getCapability(args: GetCapabilityCommandInput, cb: (err: any, data?: GetCapabilityCommandOutput) => void): void;
365
+ getCapability(args: GetCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCapabilityCommandOutput) => void): void;
351
366
  /**
352
367
  * @see {@link GetCompatibleVersionsCommand}
353
368
  */
@@ -511,6 +526,12 @@ export interface OpenSearch {
511
526
  putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, options?: __HttpHandlerOptions): Promise<PutDefaultApplicationSettingCommandOutput>;
512
527
  putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, cb: (err: any, data?: PutDefaultApplicationSettingCommandOutput) => void): void;
513
528
  putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDefaultApplicationSettingCommandOutput) => void): void;
529
+ /**
530
+ * @see {@link RegisterCapabilityCommand}
531
+ */
532
+ registerCapability(args: RegisterCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<RegisterCapabilityCommandOutput>;
533
+ registerCapability(args: RegisterCapabilityCommandInput, cb: (err: any, data?: RegisterCapabilityCommandOutput) => void): void;
534
+ registerCapability(args: RegisterCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCapabilityCommandOutput) => void): void;
514
535
  /**
515
536
  * @see {@link RejectInboundConnectionCommand}
516
537
  */
@@ -31,6 +31,7 @@ import type { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./comman
31
31
  import type { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
32
32
  import type { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
33
33
  import type { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
34
+ import type { DeregisterCapabilityCommandInput, DeregisterCapabilityCommandOutput } from "./commands/DeregisterCapabilityCommand";
34
35
  import type { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
35
36
  import type { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
36
37
  import type { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
@@ -50,6 +51,7 @@ import type { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutpu
50
51
  import type { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
51
52
  import type { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
52
53
  import type { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
54
+ import type { GetCapabilityCommandInput, GetCapabilityCommandOutput } from "./commands/GetCapabilityCommand";
53
55
  import type { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
54
56
  import type { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
55
57
  import type { GetDefaultApplicationSettingCommandInput, GetDefaultApplicationSettingCommandOutput } from "./commands/GetDefaultApplicationSettingCommand";
@@ -76,6 +78,7 @@ import type { ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput } from
76
78
  import type { ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
77
79
  import type { PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput } from "./commands/PurchaseReservedInstanceOfferingCommand";
78
80
  import type { PutDefaultApplicationSettingCommandInput, PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
81
+ import type { RegisterCapabilityCommandInput, RegisterCapabilityCommandOutput } from "./commands/RegisterCapabilityCommand";
79
82
  import type { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
80
83
  import type { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
81
84
  import type { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
@@ -97,11 +100,11 @@ export { __Client };
97
100
  /**
98
101
  * @public
99
102
  */
100
- export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
103
+ export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
101
104
  /**
102
105
  * @public
103
106
  */
104
- export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
107
+ export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
105
108
  /**
106
109
  * @public
107
110
  */
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeregisterCapabilityRequest, DeregisterCapabilityResponse } from "../models/models_0";
4
+ import type { 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 DeregisterCapabilityCommand}.
14
+ */
15
+ export interface DeregisterCapabilityCommandInput extends DeregisterCapabilityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeregisterCapabilityCommand}.
21
+ */
22
+ export interface DeregisterCapabilityCommandOutput extends DeregisterCapabilityResponse, __MetadataBearer {
23
+ }
24
+ declare const DeregisterCapabilityCommand_base: {
25
+ new (input: DeregisterCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterCapabilityCommandInput, DeregisterCapabilityCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeregisterCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterCapabilityCommandInput, DeregisterCapabilityCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deregisters a capability from an OpenSearch UI application. This operation removes the capability and its associated configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, DeregisterCapabilityCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, DeregisterCapabilityCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
37
+ * const config = {}; // type is OpenSearchClientConfig
38
+ * const client = new OpenSearchClient(config);
39
+ * const input = { // DeregisterCapabilityRequest
40
+ * applicationId: "STRING_VALUE", // required
41
+ * capabilityName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeregisterCapabilityCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DeregisterCapabilityResponse
46
+ * // status: "creating" || "create_failed" || "active" || "updating" || "update_failed" || "deleting" || "delete_failed",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeregisterCapabilityCommandInput - {@link DeregisterCapabilityCommandInput}
52
+ * @returns {@link DeregisterCapabilityCommandOutput}
53
+ * @see {@link DeregisterCapabilityCommandInput} for command's `input` shape.
54
+ * @see {@link DeregisterCapabilityCommandOutput} for command's `response` shape.
55
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
62
+ *
63
+ * @throws {@link DisabledOperationException} (client fault)
64
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
65
+ *
66
+ * @throws {@link InternalException} (server fault)
67
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
74
+ *
75
+ * @throws {@link OpenSearchServiceException}
76
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeregisterCapabilityCommand extends DeregisterCapabilityCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeregisterCapabilityRequest;
86
+ output: DeregisterCapabilityResponse;
87
+ };
88
+ sdk: {
89
+ input: DeregisterCapabilityCommandInput;
90
+ output: DeregisterCapabilityCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetCapabilityRequest, GetCapabilityResponse } from "../models/models_0";
4
+ import type { 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 GetCapabilityCommand}.
14
+ */
15
+ export interface GetCapabilityCommandInput extends GetCapabilityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCapabilityCommand}.
21
+ */
22
+ export interface GetCapabilityCommandOutput extends GetCapabilityResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCapabilityCommand_base: {
25
+ new (input: GetCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapabilityCommandInput, GetCapabilityCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapabilityCommandInput, GetCapabilityCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a registered capability for an OpenSearch UI application, including its configuration and current status.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, GetCapabilityCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, GetCapabilityCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
37
+ * const config = {}; // type is OpenSearchClientConfig
38
+ * const client = new OpenSearchClient(config);
39
+ * const input = { // GetCapabilityRequest
40
+ * applicationId: "STRING_VALUE", // required
41
+ * capabilityName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetCapabilityCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetCapabilityResponse
46
+ * // capabilityName: "STRING_VALUE",
47
+ * // applicationId: "STRING_VALUE",
48
+ * // status: "creating" || "create_failed" || "active" || "updating" || "update_failed" || "deleting" || "delete_failed",
49
+ * // capabilityConfig: { // CapabilityExtendedResponseConfig Union: only one key present
50
+ * // aiConfig: {},
51
+ * // },
52
+ * // failures: [ // CapabilityFailures
53
+ * // { // CapabilityFailure
54
+ * // reason: "KMS_KEY_INSUFFICIENT_PERMISSION",
55
+ * // details: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param GetCapabilityCommandInput - {@link GetCapabilityCommandInput}
63
+ * @returns {@link GetCapabilityCommandOutput}
64
+ * @see {@link GetCapabilityCommandInput} for command's `input` shape.
65
+ * @see {@link GetCapabilityCommandOutput} for command's `response` shape.
66
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
70
+ *
71
+ * @throws {@link DisabledOperationException} (client fault)
72
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
73
+ *
74
+ * @throws {@link InternalException} (server fault)
75
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
82
+ *
83
+ * @throws {@link OpenSearchServiceException}
84
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetCapabilityCommand extends GetCapabilityCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetCapabilityRequest;
94
+ output: GetCapabilityResponse;
95
+ };
96
+ sdk: {
97
+ input: GetCapabilityCommandInput;
98
+ output: GetCapabilityCommandOutput;
99
+ };
100
+ };
101
+ }