@aws-sdk/client-opensearch 3.1019.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 (80) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +117 -0
  3. package/dist-cjs/models/errors.js +14 -1
  4. package/dist-cjs/schemas/schemas_0.js +187 -12
  5. package/dist-es/OpenSearch.js +14 -4
  6. package/dist-es/commands/DeregisterCapabilityCommand.js +16 -0
  7. package/dist-es/commands/DescribeInsightDetailsCommand.js +16 -0
  8. package/dist-es/commands/GetCapabilityCommand.js +16 -0
  9. package/dist-es/commands/ListInsightsCommand.js +16 -0
  10. package/dist-es/commands/RegisterCapabilityCommand.js +16 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/enums.js +39 -0
  14. package/dist-es/models/errors.js +12 -0
  15. package/dist-es/models/models_1.js +1 -0
  16. package/dist-es/schemas/schemas_0.js +179 -5
  17. package/dist-types/OpenSearch.d.ts +117 -82
  18. package/dist-types/OpenSearchClient.d.ts +92 -87
  19. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  20. package/dist-types/commands/DeregisterCapabilityCommand.d.ts +93 -0
  21. package/dist-types/commands/DescribeInsightDetailsCommand.d.ts +105 -0
  22. package/dist-types/commands/GetCapabilityCommand.d.ts +101 -0
  23. package/dist-types/commands/ListInsightsCommand.d.ts +116 -0
  24. package/dist-types/commands/RegisterCapabilityCommand.d.ts +104 -0
  25. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -1
  26. package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdatePackageScopeCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  33. package/dist-types/commands/UpgradeDomainCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/index.d.ts +2 -1
  36. package/dist-types/models/enums.d.ts +103 -0
  37. package/dist-types/models/errors.d.ts +12 -0
  38. package/dist-types/models/models_0.d.ts +484 -562
  39. package/dist-types/models/models_1.d.ts +524 -0
  40. package/dist-types/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
  41. package/dist-types/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
  42. package/dist-types/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
  43. package/dist-types/pagination/DescribePackagesPaginator.d.ts +1 -1
  44. package/dist-types/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
  45. package/dist-types/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
  46. package/dist-types/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
  47. package/dist-types/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
  48. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  49. package/dist-types/pagination/ListDomainMaintenancesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
  52. package/dist-types/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
  53. package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +1 -1
  54. package/dist-types/pagination/ListVersionsPaginator.d.ts +1 -1
  55. package/dist-types/schemas/schemas_0.d.ts +25 -0
  56. package/dist-types/ts3.4/OpenSearch.d.ts +85 -0
  57. package/dist-types/ts3.4/OpenSearchClient.d.ts +32 -3
  58. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DeregisterCapabilityCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/DescribeInsightDetailsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +50 -0
  62. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +47 -0
  63. package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  74. package/dist-types/ts3.4/index.d.ts +1 -0
  75. package/dist-types/ts3.4/models/enums.d.ts +53 -0
  76. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +135 -106
  78. package/dist-types/ts3.4/models/models_1.d.ts +143 -0
  79. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  80. package/package.json +14 -14
@@ -9,7 +9,7 @@
9
9
  */
10
10
  export * from "./OpenSearchClient";
11
11
  export * from "./OpenSearch";
12
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
12
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
13
  export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { OpenSearchExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
@@ -18,4 +18,5 @@ export * from "./pagination";
18
18
  export * from "./models/enums";
19
19
  export * from "./models/errors";
20
20
  export * from "./models/models_0";
21
+ export * from "./models/models_1";
21
22
  export { OpenSearchServiceException } from "./models/OpenSearchServiceException";
@@ -612,6 +612,23 @@ export declare const VpcEndpointStatus: {
612
612
  * @public
613
613
  */
614
614
  export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
615
+ /**
616
+ * @public
617
+ * @enum
618
+ */
619
+ export declare const CapabilityStatus: {
620
+ readonly ACTIVE: "active";
621
+ readonly CREATE_FAILED: "create_failed";
622
+ readonly CREATING: "creating";
623
+ readonly DELETE_FAILED: "delete_failed";
624
+ readonly DELETING: "deleting";
625
+ readonly UPDATE_FAILED: "update_failed";
626
+ readonly UPDATING: "updating";
627
+ };
628
+ /**
629
+ * @public
630
+ */
631
+ export type CapabilityStatus = (typeof CapabilityStatus)[keyof typeof CapabilityStatus];
615
632
  /**
616
633
  * @public
617
634
  * @enum
@@ -753,6 +770,30 @@ export declare const NodeType: {
753
770
  * @public
754
771
  */
755
772
  export type NodeType = (typeof NodeType)[keyof typeof NodeType];
773
+ /**
774
+ * @public
775
+ * @enum
776
+ */
777
+ export declare const InsightEntityType: {
778
+ readonly ACCOUNT: "Account";
779
+ readonly DOMAIN: "DomainName";
780
+ };
781
+ /**
782
+ * @public
783
+ */
784
+ export type InsightEntityType = (typeof InsightEntityType)[keyof typeof InsightEntityType];
785
+ /**
786
+ * @public
787
+ * @enum
788
+ */
789
+ export declare const InsightFieldType: {
790
+ readonly METRIC: "metric";
791
+ readonly TEXT: "text";
792
+ };
793
+ /**
794
+ * @public
795
+ */
796
+ export type InsightFieldType = (typeof InsightFieldType)[keyof typeof InsightFieldType];
756
797
  /**
757
798
  * @public
758
799
  * @enum
@@ -809,6 +850,17 @@ export declare const ApplicationStatus: {
809
850
  * @public
810
851
  */
811
852
  export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
853
+ /**
854
+ * @public
855
+ * @enum
856
+ */
857
+ export declare const CapabilityFailureReason: {
858
+ readonly KMS_KEY_INSUFFICIENT_PERMISSION: "KMS_KEY_INSUFFICIENT_PERMISSION";
859
+ };
860
+ /**
861
+ * @public
862
+ */
863
+ export type CapabilityFailureReason = (typeof CapabilityFailureReason)[keyof typeof CapabilityFailureReason];
812
864
  /**
813
865
  * @public
814
866
  * @enum
@@ -888,6 +940,57 @@ export declare const EngineType: {
888
940
  * @public
889
941
  */
890
942
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
943
+ /**
944
+ * @public
945
+ * @enum
946
+ */
947
+ export declare const InsightSortOrder: {
948
+ readonly ASC: "ASC";
949
+ readonly DESC: "DESC";
950
+ };
951
+ /**
952
+ * @public
953
+ */
954
+ export type InsightSortOrder = (typeof InsightSortOrder)[keyof typeof InsightSortOrder];
955
+ /**
956
+ * @public
957
+ * @enum
958
+ */
959
+ export declare const InsightPriorityLevel: {
960
+ readonly CRITICAL: "CRITICAL";
961
+ readonly HIGH: "HIGH";
962
+ readonly LOW: "LOW";
963
+ readonly MEDIUM: "MEDIUM";
964
+ };
965
+ /**
966
+ * @public
967
+ */
968
+ export type InsightPriorityLevel = (typeof InsightPriorityLevel)[keyof typeof InsightPriorityLevel];
969
+ /**
970
+ * @public
971
+ * @enum
972
+ */
973
+ export declare const InsightStatus: {
974
+ readonly ACTIVE: "ACTIVE";
975
+ readonly DISMISSED: "DISMISSED";
976
+ readonly RESOLVED: "RESOLVED";
977
+ };
978
+ /**
979
+ * @public
980
+ */
981
+ export type InsightStatus = (typeof InsightStatus)[keyof typeof InsightStatus];
982
+ /**
983
+ * @public
984
+ * @enum
985
+ */
986
+ export declare const InsightType: {
987
+ readonly EVENT: "EVENT";
988
+ readonly RECOMMENDATION: "RECOMMENDATION";
989
+ };
990
+ /**
991
+ * @public
992
+ */
993
+ export type InsightType = (typeof InsightType)[keyof typeof InsightType];
891
994
  /**
892
995
  * @public
893
996
  * @enum
@@ -156,6 +156,18 @@ export declare class InvalidPaginationTokenException extends __BaseException {
156
156
  */
157
157
  constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
158
158
  }
159
+ /**
160
+ * <p>An exception for when a request would cause a service quota to be exceeded.</p>
161
+ * @public
162
+ */
163
+ export declare class ServiceQuotaExceededException extends __BaseException {
164
+ readonly name: "ServiceQuotaExceededException";
165
+ readonly $fault: "client";
166
+ /**
167
+ * @internal
168
+ */
169
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
170
+ }
159
171
  /**
160
172
  * <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
161
173
  * @public