@aws-sdk/client-opensearch 3.1018.0 → 3.1020.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 (69) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
  3. package/dist-cjs/index.js +61 -0
  4. package/dist-cjs/runtimeConfig.js +4 -3
  5. package/dist-cjs/runtimeConfig.shared.js +2 -2
  6. package/dist-cjs/schemas/schemas_0.js +87 -8
  7. package/dist-es/OpenSearch.js +8 -4
  8. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  9. package/dist-es/commands/DescribeInsightDetailsCommand.js +16 -0
  10. package/dist-es/commands/ListInsightsCommand.js +16 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/enums.js +27 -0
  14. package/dist-es/models/models_1.js +1 -0
  15. package/dist-es/runtimeConfig.js +2 -1
  16. package/dist-es/runtimeConfig.shared.js +1 -1
  17. package/dist-es/schemas/schemas_0.js +80 -2
  18. package/dist-types/OpenSearch.d.ts +96 -82
  19. package/dist-types/OpenSearchClient.d.ts +89 -87
  20. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  21. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  22. package/dist-types/commands/DescribeInsightDetailsCommand.d.ts +105 -0
  23. package/dist-types/commands/ListInsightsCommand.d.ts +116 -0
  24. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  26. package/dist-types/commands/UpgradeDomainCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/index.d.ts +2 -1
  29. package/dist-types/models/enums.d.ts +75 -0
  30. package/dist-types/models/models_0.d.ts +202 -158
  31. package/dist-types/models/models_1.d.ts +158 -0
  32. package/dist-types/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/DescribePackagesPaginator.d.ts +1 -1
  36. package/dist-types/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
  37. package/dist-types/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
  38. package/dist-types/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
  39. package/dist-types/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
  40. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  41. package/dist-types/pagination/ListDomainMaintenancesPaginator.d.ts +1 -1
  42. package/dist-types/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
  43. package/dist-types/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
  44. package/dist-types/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
  45. package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +1 -1
  46. package/dist-types/pagination/ListVersionsPaginator.d.ts +1 -1
  47. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  48. package/dist-types/runtimeConfig.d.ts +1 -1
  49. package/dist-types/runtimeConfig.native.d.ts +1 -1
  50. package/dist-types/schemas/schemas_0.d.ts +10 -0
  51. package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
  52. package/dist-types/ts3.4/OpenSearchClient.d.ts +14 -3
  53. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  54. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DescribeInsightDetailsCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +47 -0
  57. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  61. package/dist-types/ts3.4/index.d.ts +1 -0
  62. package/dist-types/ts3.4/models/enums.d.ts +37 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +48 -31
  64. package/dist-types/ts3.4/models/models_1.d.ts +38 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  69. package/package.json +13 -13
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "../commands/GetPackageVersionHistoryCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "../commands/GetUpgradeHistoryCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "../commands/ListDomainMaintenancesCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "../commands/ListDomainsForPackageCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListInstanceTypeDetailsCommandInput, ListInstanceTypeDetailsCommandOutput } from "../commands/ListInstanceTypeDetailsCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput } from "../commands/ListPackagesForDomainCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "../commands/ListScheduledActionsCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListVersionsCommandInput, ListVersionsCommandOutput } from "../commands/ListVersionsCommand";
3
- import { OpenSearchPaginationConfiguration } from "./Interfaces";
3
+ import type { OpenSearchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -18,7 +18,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  cacheMiddleware?: boolean | undefined;
21
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
22
22
  protocolSettings: {
23
23
  defaultNamespace?: string;
24
24
  [setting: string]: unknown;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
22
  cacheMiddleware?: boolean | undefined;
23
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
24
24
  protocolSettings: {
25
25
  defaultNamespace?: string;
26
26
  [setting: string]: unknown;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
12
12
  defaultNamespace?: string;
13
13
  [setting: string]: unknown;
@@ -124,6 +124,8 @@ export declare var DescribeDryRunProgressRequest$: StaticStructureSchema;
124
124
  export declare var DescribeDryRunProgressResponse$: StaticStructureSchema;
125
125
  export declare var DescribeInboundConnectionsRequest$: StaticStructureSchema;
126
126
  export declare var DescribeInboundConnectionsResponse$: StaticStructureSchema;
127
+ export declare var DescribeInsightDetailsRequest$: StaticStructureSchema;
128
+ export declare var DescribeInsightDetailsResponse$: StaticStructureSchema;
127
129
  export declare var DescribeInstanceTypeLimitsRequest$: StaticStructureSchema;
128
130
  export declare var DescribeInstanceTypeLimitsResponse$: StaticStructureSchema;
129
131
  export declare var DescribeOutboundConnectionsRequest$: StaticStructureSchema;
@@ -190,6 +192,10 @@ export declare var IdentityCenterOptionsInput$: StaticStructureSchema;
190
192
  export declare var IdentityCenterOptionsStatus$: StaticStructureSchema;
191
193
  export declare var InboundConnection$: StaticStructureSchema;
192
194
  export declare var InboundConnectionStatus$: StaticStructureSchema;
195
+ export declare var Insight$: StaticStructureSchema;
196
+ export declare var InsightEntity$: StaticStructureSchema;
197
+ export declare var InsightField$: StaticStructureSchema;
198
+ export declare var InsightTimeRange$: StaticStructureSchema;
193
199
  export declare var InstanceCountLimits$: StaticStructureSchema;
194
200
  export declare var InstanceLimits$: StaticStructureSchema;
195
201
  export declare var InstanceTypeDetails$: StaticStructureSchema;
@@ -210,6 +216,8 @@ export declare var ListDomainNamesRequest$: StaticStructureSchema;
210
216
  export declare var ListDomainNamesResponse$: StaticStructureSchema;
211
217
  export declare var ListDomainsForPackageRequest$: StaticStructureSchema;
212
218
  export declare var ListDomainsForPackageResponse$: StaticStructureSchema;
219
+ export declare var ListInsightsRequest$: StaticStructureSchema;
220
+ export declare var ListInsightsResponse$: StaticStructureSchema;
213
221
  export declare var ListInstanceTypeDetailsRequest$: StaticStructureSchema;
214
222
  export declare var ListInstanceTypeDetailsResponse$: StaticStructureSchema;
215
223
  export declare var ListPackagesForDomainRequest$: StaticStructureSchema;
@@ -352,6 +360,7 @@ export declare var DescribeDomainNodes$: StaticOperationSchema;
352
360
  export declare var DescribeDomains$: StaticOperationSchema;
353
361
  export declare var DescribeDryRunProgress$: StaticOperationSchema;
354
362
  export declare var DescribeInboundConnections$: StaticOperationSchema;
363
+ export declare var DescribeInsightDetails$: StaticOperationSchema;
355
364
  export declare var DescribeInstanceTypeLimits$: StaticOperationSchema;
356
365
  export declare var DescribeOutboundConnections$: StaticOperationSchema;
357
366
  export declare var DescribePackages$: StaticOperationSchema;
@@ -376,6 +385,7 @@ export declare var ListDirectQueryDataSources$: StaticOperationSchema;
376
385
  export declare var ListDomainMaintenances$: StaticOperationSchema;
377
386
  export declare var ListDomainNames$: StaticOperationSchema;
378
387
  export declare var ListDomainsForPackage$: StaticOperationSchema;
388
+ export declare var ListInsights$: StaticOperationSchema;
379
389
  export declare var ListInstanceTypeDetails$: StaticOperationSchema;
380
390
  export declare var ListPackagesForDomain$: StaticOperationSchema;
381
391
  export declare var ListScheduledActions$: StaticOperationSchema;
@@ -135,6 +135,10 @@ import {
135
135
  DescribeInboundConnectionsCommandInput,
136
136
  DescribeInboundConnectionsCommandOutput,
137
137
  } from "./commands/DescribeInboundConnectionsCommand";
138
+ import {
139
+ DescribeInsightDetailsCommandInput,
140
+ DescribeInsightDetailsCommandOutput,
141
+ } from "./commands/DescribeInsightDetailsCommand";
138
142
  import {
139
143
  DescribeInstanceTypeLimitsCommandInput,
140
144
  DescribeInstanceTypeLimitsCommandOutput,
@@ -231,6 +235,10 @@ import {
231
235
  ListDomainsForPackageCommandInput,
232
236
  ListDomainsForPackageCommandOutput,
233
237
  } from "./commands/ListDomainsForPackageCommand";
238
+ import {
239
+ ListInsightsCommandInput,
240
+ ListInsightsCommandOutput,
241
+ } from "./commands/ListInsightsCommand";
234
242
  import {
235
243
  ListInstanceTypeDetailsCommandInput,
236
244
  ListInstanceTypeDetailsCommandOutput,
@@ -763,6 +771,19 @@ export interface OpenSearch {
763
771
  options: __HttpHandlerOptions,
764
772
  cb: (err: any, data?: DescribeInboundConnectionsCommandOutput) => void
765
773
  ): void;
774
+ describeInsightDetails(
775
+ args: DescribeInsightDetailsCommandInput,
776
+ options?: __HttpHandlerOptions
777
+ ): Promise<DescribeInsightDetailsCommandOutput>;
778
+ describeInsightDetails(
779
+ args: DescribeInsightDetailsCommandInput,
780
+ cb: (err: any, data?: DescribeInsightDetailsCommandOutput) => void
781
+ ): void;
782
+ describeInsightDetails(
783
+ args: DescribeInsightDetailsCommandInput,
784
+ options: __HttpHandlerOptions,
785
+ cb: (err: any, data?: DescribeInsightDetailsCommandOutput) => void
786
+ ): void;
766
787
  describeInstanceTypeLimits(
767
788
  args: DescribeInstanceTypeLimitsCommandInput,
768
789
  options?: __HttpHandlerOptions
@@ -1090,6 +1111,19 @@ export interface OpenSearch {
1090
1111
  options: __HttpHandlerOptions,
1091
1112
  cb: (err: any, data?: ListDomainsForPackageCommandOutput) => void
1092
1113
  ): void;
1114
+ listInsights(
1115
+ args: ListInsightsCommandInput,
1116
+ options?: __HttpHandlerOptions
1117
+ ): Promise<ListInsightsCommandOutput>;
1118
+ listInsights(
1119
+ args: ListInsightsCommandInput,
1120
+ cb: (err: any, data?: ListInsightsCommandOutput) => void
1121
+ ): void;
1122
+ listInsights(
1123
+ args: ListInsightsCommandInput,
1124
+ options: __HttpHandlerOptions,
1125
+ cb: (err: any, data?: ListInsightsCommandOutput) => void
1126
+ ): void;
1093
1127
  listInstanceTypeDetails(
1094
1128
  args: ListInstanceTypeDetailsCommandInput,
1095
1129
  options?: __HttpHandlerOptions
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -177,6 +176,10 @@ import {
177
176
  DescribeInboundConnectionsCommandInput,
178
177
  DescribeInboundConnectionsCommandOutput,
179
178
  } from "./commands/DescribeInboundConnectionsCommand";
179
+ import {
180
+ DescribeInsightDetailsCommandInput,
181
+ DescribeInsightDetailsCommandOutput,
182
+ } from "./commands/DescribeInsightDetailsCommand";
180
183
  import {
181
184
  DescribeInstanceTypeLimitsCommandInput,
182
185
  DescribeInstanceTypeLimitsCommandOutput,
@@ -273,6 +276,10 @@ import {
273
276
  ListDomainsForPackageCommandInput,
274
277
  ListDomainsForPackageCommandOutput,
275
278
  } from "./commands/ListDomainsForPackageCommand";
279
+ import {
280
+ ListInsightsCommandInput,
281
+ ListInsightsCommandOutput,
282
+ } from "./commands/ListInsightsCommand";
276
283
  import {
277
284
  ListInstanceTypeDetailsCommandInput,
278
285
  ListInstanceTypeDetailsCommandOutput,
@@ -414,6 +421,7 @@ export type ServiceInputTypes =
414
421
  | DescribeDomainsCommandInput
415
422
  | DescribeDryRunProgressCommandInput
416
423
  | DescribeInboundConnectionsCommandInput
424
+ | DescribeInsightDetailsCommandInput
417
425
  | DescribeInstanceTypeLimitsCommandInput
418
426
  | DescribeOutboundConnectionsCommandInput
419
427
  | DescribePackagesCommandInput
@@ -438,6 +446,7 @@ export type ServiceInputTypes =
438
446
  | ListDomainMaintenancesCommandInput
439
447
  | ListDomainNamesCommandInput
440
448
  | ListDomainsForPackageCommandInput
449
+ | ListInsightsCommandInput
441
450
  | ListInstanceTypeDetailsCommandInput
442
451
  | ListPackagesForDomainCommandInput
443
452
  | ListScheduledActionsCommandInput
@@ -497,6 +506,7 @@ export type ServiceOutputTypes =
497
506
  | DescribeDomainsCommandOutput
498
507
  | DescribeDryRunProgressCommandOutput
499
508
  | DescribeInboundConnectionsCommandOutput
509
+ | DescribeInsightDetailsCommandOutput
500
510
  | DescribeInstanceTypeLimitsCommandOutput
501
511
  | DescribeOutboundConnectionsCommandOutput
502
512
  | DescribePackagesCommandOutput
@@ -521,6 +531,7 @@ export type ServiceOutputTypes =
521
531
  | ListDomainMaintenancesCommandOutput
522
532
  | ListDomainNamesCommandOutput
523
533
  | ListDomainsForPackageCommandOutput
534
+ | ListInsightsCommandOutput
524
535
  | ListInstanceTypeDetailsCommandOutput
525
536
  | ListPackagesForDomainCommandOutput
526
537
  | ListScheduledActionsCommandOutput
@@ -564,7 +575,7 @@ export interface ClientDefaults
564
575
  useFipsEndpoint?: boolean | __Provider<boolean>;
565
576
  region?: string | __Provider<string>;
566
577
  profile?: string;
567
- defaultUserAgentProvider?: Provider<__UserAgent>;
578
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
568
579
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
569
580
  maxAttempts?: number | __Provider<number>;
570
581
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { OpenSearchHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -2,7 +2,7 @@ import {
2
2
  AwsSdkSigV4AuthInputConfig,
3
3
  AwsSdkSigV4AuthResolvedConfig,
4
4
  AwsSdkSigV4PreviouslyResolved,
5
- } from "@aws-sdk/core";
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
6
  import {
7
7
  HandlerExecutionContext,
8
8
  HttpAuthScheme,
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DescribeInsightDetailsRequest,
5
+ DescribeInsightDetailsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeInsightDetailsCommandInput
15
+ extends DescribeInsightDetailsRequest {}
16
+ export interface DescribeInsightDetailsCommandOutput
17
+ extends DescribeInsightDetailsResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeInsightDetailsCommand_base: {
20
+ new (
21
+ input: DescribeInsightDetailsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeInsightDetailsCommandInput,
24
+ DescribeInsightDetailsCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeInsightDetailsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeInsightDetailsCommandInput,
33
+ DescribeInsightDetailsCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeInsightDetailsCommand extends DescribeInsightDetailsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeInsightDetailsRequest;
44
+ output: DescribeInsightDetailsResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeInsightDetailsCommandInput;
48
+ output: DescribeInsightDetailsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListInsightsRequest, ListInsightsResponse } from "../models/models_0";
4
+ import {
5
+ OpenSearchClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../OpenSearchClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListInsightsCommandInput extends ListInsightsRequest {}
12
+ export interface ListInsightsCommandOutput
13
+ extends ListInsightsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListInsightsCommand_base: {
16
+ new (
17
+ input: ListInsightsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListInsightsCommandInput,
20
+ ListInsightsCommandOutput,
21
+ OpenSearchClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: ListInsightsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListInsightsCommandInput,
29
+ ListInsightsCommandOutput,
30
+ OpenSearchClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListInsightsCommand extends ListInsightsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListInsightsRequest;
40
+ output: ListInsightsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListInsightsCommandInput;
44
+ output: ListInsightsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  UpdateScheduledActionRequest,
5
5
  UpdateScheduledActionResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  UpdateVpcEndpointRequest,
5
5
  UpdateVpcEndpointResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  UpgradeDomainRequest,
5
5
  UpgradeDomainResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -31,6 +31,7 @@ export * from "./DescribeDomainNodesCommand";
31
31
  export * from "./DescribeDomainsCommand";
32
32
  export * from "./DescribeDryRunProgressCommand";
33
33
  export * from "./DescribeInboundConnectionsCommand";
34
+ export * from "./DescribeInsightDetailsCommand";
34
35
  export * from "./DescribeInstanceTypeLimitsCommand";
35
36
  export * from "./DescribeOutboundConnectionsCommand";
36
37
  export * from "./DescribePackagesCommand";
@@ -55,6 +56,7 @@ export * from "./ListDirectQueryDataSourcesCommand";
55
56
  export * from "./ListDomainMaintenancesCommand";
56
57
  export * from "./ListDomainNamesCommand";
57
58
  export * from "./ListDomainsForPackageCommand";
59
+ export * from "./ListInsightsCommand";
58
60
  export * from "./ListInstanceTypeDetailsCommand";
59
61
  export * from "./ListPackagesForDomainCommand";
60
62
  export * from "./ListScheduledActionsCommand";
@@ -9,4 +9,5 @@ export * from "./pagination";
9
9
  export * from "./models/enums";
10
10
  export * from "./models/errors";
11
11
  export * from "./models/models_0";
12
+ export * from "./models/models_1";
12
13
  export { OpenSearchServiceException } from "./models/OpenSearchServiceException";
@@ -445,6 +445,18 @@ export declare const NodeType: {
445
445
  readonly Warm: "Warm";
446
446
  };
447
447
  export type NodeType = (typeof NodeType)[keyof typeof NodeType];
448
+ export declare const InsightEntityType: {
449
+ readonly ACCOUNT: "Account";
450
+ readonly DOMAIN: "DomainName";
451
+ };
452
+ export type InsightEntityType =
453
+ (typeof InsightEntityType)[keyof typeof InsightEntityType];
454
+ export declare const InsightFieldType: {
455
+ readonly METRIC: "metric";
456
+ readonly TEXT: "text";
457
+ };
458
+ export type InsightFieldType =
459
+ (typeof InsightFieldType)[keyof typeof InsightFieldType];
448
460
  export declare const DescribePackagesFilterName: {
449
461
  readonly EngineVersion: "EngineVersion";
450
462
  readonly PackageID: "PackageID";
@@ -517,6 +529,31 @@ export declare const EngineType: {
517
529
  readonly OpenSearch: "OpenSearch";
518
530
  };
519
531
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
532
+ export declare const InsightSortOrder: {
533
+ readonly ASC: "ASC";
534
+ readonly DESC: "DESC";
535
+ };
536
+ export type InsightSortOrder =
537
+ (typeof InsightSortOrder)[keyof typeof InsightSortOrder];
538
+ export declare const InsightPriorityLevel: {
539
+ readonly CRITICAL: "CRITICAL";
540
+ readonly HIGH: "HIGH";
541
+ readonly LOW: "LOW";
542
+ readonly MEDIUM: "MEDIUM";
543
+ };
544
+ export type InsightPriorityLevel =
545
+ (typeof InsightPriorityLevel)[keyof typeof InsightPriorityLevel];
546
+ export declare const InsightStatus: {
547
+ readonly ACTIVE: "ACTIVE";
548
+ readonly DISMISSED: "DISMISSED";
549
+ readonly RESOLVED: "RESOLVED";
550
+ };
551
+ export type InsightStatus = (typeof InsightStatus)[keyof typeof InsightStatus];
552
+ export declare const InsightType: {
553
+ readonly EVENT: "EVENT";
554
+ readonly RECOMMENDATION: "RECOMMENDATION";
555
+ };
556
+ export type InsightType = (typeof InsightType)[keyof typeof InsightType];
520
557
  export declare const ScheduledBy: {
521
558
  readonly CUSTOMER: "CUSTOMER";
522
559
  readonly SYSTEM: "SYSTEM";
@@ -24,6 +24,12 @@ import {
24
24
  InboundConnectionStatusCode,
25
25
  IndexStatus,
26
26
  InitiatedBy,
27
+ InsightEntityType,
28
+ InsightFieldType,
29
+ InsightPriorityLevel,
30
+ InsightSortOrder,
31
+ InsightStatus,
32
+ InsightType,
27
33
  IPAddressType,
28
34
  LogType,
29
35
  MaintenanceStatus,
@@ -1057,6 +1063,23 @@ export interface DescribeInboundConnectionsResponse {
1057
1063
  Connections?: InboundConnection[] | undefined;
1058
1064
  NextToken?: string | undefined;
1059
1065
  }
1066
+ export interface InsightEntity {
1067
+ Type: InsightEntityType | undefined;
1068
+ Value?: string | undefined;
1069
+ }
1070
+ export interface DescribeInsightDetailsRequest {
1071
+ Entity: InsightEntity | undefined;
1072
+ InsightId: string | undefined;
1073
+ ShowHtmlContent?: boolean | undefined;
1074
+ }
1075
+ export interface InsightField {
1076
+ Name: string | undefined;
1077
+ Type: InsightFieldType | undefined;
1078
+ Value: string | undefined;
1079
+ }
1080
+ export interface DescribeInsightDetailsResponse {
1081
+ Fields: InsightField[] | undefined;
1082
+ }
1060
1083
  export interface DescribeInstanceTypeLimitsRequest {
1061
1084
  DomainName?: string | undefined;
1062
1085
  InstanceType: OpenSearchPartitionInstanceType | undefined;
@@ -1383,6 +1406,31 @@ export interface ListDomainsForPackageResponse {
1383
1406
  DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
1384
1407
  NextToken?: string | undefined;
1385
1408
  }
1409
+ export interface InsightTimeRange {
1410
+ From: number | undefined;
1411
+ To: number | undefined;
1412
+ }
1413
+ export interface ListInsightsRequest {
1414
+ Entity: InsightEntity | undefined;
1415
+ TimeRange?: InsightTimeRange | undefined;
1416
+ SortOrder?: InsightSortOrder | undefined;
1417
+ MaxResults?: number | undefined;
1418
+ NextToken?: string | undefined;
1419
+ }
1420
+ export interface Insight {
1421
+ InsightId?: string | undefined;
1422
+ DisplayName?: string | undefined;
1423
+ Type?: InsightType | undefined;
1424
+ Priority?: InsightPriorityLevel | undefined;
1425
+ Status?: InsightStatus | undefined;
1426
+ CreationTime?: Date | undefined;
1427
+ UpdateTime?: Date | undefined;
1428
+ IsExperimental?: boolean | undefined;
1429
+ }
1430
+ export interface ListInsightsResponse {
1431
+ Insights?: Insight[] | undefined;
1432
+ NextToken?: string | undefined;
1433
+ }
1386
1434
  export interface ListInstanceTypeDetailsRequest {
1387
1435
  EngineVersion: string | undefined;
1388
1436
  DomainName?: string | undefined;
@@ -1614,34 +1662,3 @@ export interface UpdatePackageScopeResponse {
1614
1662
  Operation?: PackageScopeOperationEnum | undefined;
1615
1663
  PackageUserList?: string[] | undefined;
1616
1664
  }
1617
- export interface UpdateScheduledActionRequest {
1618
- DomainName: string | undefined;
1619
- ActionID: string | undefined;
1620
- ActionType: ActionType | undefined;
1621
- ScheduleAt: ScheduleAt | undefined;
1622
- DesiredStartTime?: number | undefined;
1623
- }
1624
- export interface UpdateScheduledActionResponse {
1625
- ScheduledAction?: ScheduledAction | undefined;
1626
- }
1627
- export interface UpdateVpcEndpointRequest {
1628
- VpcEndpointId: string | undefined;
1629
- VpcOptions: VPCOptions | undefined;
1630
- }
1631
- export interface UpdateVpcEndpointResponse {
1632
- VpcEndpoint: VpcEndpoint | undefined;
1633
- }
1634
- export interface UpgradeDomainRequest {
1635
- DomainName: string | undefined;
1636
- TargetVersion: string | undefined;
1637
- PerformCheckOnly?: boolean | undefined;
1638
- AdvancedOptions?: Record<string, string> | undefined;
1639
- }
1640
- export interface UpgradeDomainResponse {
1641
- UpgradeId?: string | undefined;
1642
- DomainName?: string | undefined;
1643
- TargetVersion?: string | undefined;
1644
- PerformCheckOnly?: boolean | undefined;
1645
- AdvancedOptions?: Record<string, string> | undefined;
1646
- ChangeProgressDetails?: ChangeProgressDetails | undefined;
1647
- }
@@ -0,0 +1,38 @@
1
+ import { ActionType, ScheduleAt } from "./enums";
2
+ import {
3
+ ChangeProgressDetails,
4
+ ScheduledAction,
5
+ VpcEndpoint,
6
+ VPCOptions,
7
+ } from "./models_0";
8
+ export interface UpdateScheduledActionRequest {
9
+ DomainName: string | undefined;
10
+ ActionID: string | undefined;
11
+ ActionType: ActionType | undefined;
12
+ ScheduleAt: ScheduleAt | undefined;
13
+ DesiredStartTime?: number | undefined;
14
+ }
15
+ export interface UpdateScheduledActionResponse {
16
+ ScheduledAction?: ScheduledAction | undefined;
17
+ }
18
+ export interface UpdateVpcEndpointRequest {
19
+ VpcEndpointId: string | undefined;
20
+ VpcOptions: VPCOptions | undefined;
21
+ }
22
+ export interface UpdateVpcEndpointResponse {
23
+ VpcEndpoint: VpcEndpoint | undefined;
24
+ }
25
+ export interface UpgradeDomainRequest {
26
+ DomainName: string | undefined;
27
+ TargetVersion: string | undefined;
28
+ PerformCheckOnly?: boolean | undefined;
29
+ AdvancedOptions?: Record<string, string> | undefined;
30
+ }
31
+ export interface UpgradeDomainResponse {
32
+ UpgradeId?: string | undefined;
33
+ DomainName?: string | undefined;
34
+ TargetVersion?: string | undefined;
35
+ PerformCheckOnly?: boolean | undefined;
36
+ AdvancedOptions?: Record<string, string> | undefined;
37
+ ChangeProgressDetails?: ChangeProgressDetails | undefined;
38
+ }