@aws-sdk/client-opensearch 3.460.0 → 3.462.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 (40) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/OpenSearch.js +10 -0
  3. package/dist-cjs/commands/AddDataSourceCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteDataSourceCommand.js +51 -0
  5. package/dist-cjs/commands/GetDataSourceCommand.js +51 -0
  6. package/dist-cjs/commands/ListDataSourcesCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateDataSourceCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +23 -15
  10. package/dist-cjs/protocols/Aws_restJson1.js +360 -3
  11. package/dist-es/OpenSearch.js +10 -0
  12. package/dist-es/commands/AddDataSourceCommand.js +47 -0
  13. package/dist-es/commands/DeleteDataSourceCommand.js +47 -0
  14. package/dist-es/commands/GetDataSourceCommand.js +47 -0
  15. package/dist-es/commands/ListDataSourcesCommand.js +47 -0
  16. package/dist-es/commands/UpdateDataSourceCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +20 -12
  19. package/dist-es/protocols/Aws_restJson1.js +347 -0
  20. package/dist-types/OpenSearch.d.ts +35 -0
  21. package/dist-types/OpenSearchClient.d.ts +7 -2
  22. package/dist-types/commands/AddDataSourceCommand.d.ts +101 -0
  23. package/dist-types/commands/DeleteDataSourceCommand.d.ts +92 -0
  24. package/dist-types/commands/GetDataSourceCommand.d.ts +98 -0
  25. package/dist-types/commands/ListDataSourcesCommand.d.ts +101 -0
  26. package/dist-types/commands/UpdateDataSourceCommand.d.ts +98 -0
  27. package/dist-types/commands/index.d.ts +5 -0
  28. package/dist-types/models/models_0.d.ts +291 -54
  29. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  30. package/dist-types/ts3.4/OpenSearch.d.ts +85 -0
  31. package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/AddDataSourceCommand.d.ts +38 -0
  33. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
  36. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +82 -16
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  40. package/package.json +3 -3
@@ -7,6 +7,10 @@ import {
7
7
  AcceptInboundConnectionCommandInput,
8
8
  AcceptInboundConnectionCommandOutput,
9
9
  } from "../commands/AcceptInboundConnectionCommand";
10
+ import {
11
+ AddDataSourceCommandInput,
12
+ AddDataSourceCommandOutput,
13
+ } from "../commands/AddDataSourceCommand";
10
14
  import {
11
15
  AddTagsCommandInput,
12
16
  AddTagsCommandOutput,
@@ -39,6 +43,10 @@ import {
39
43
  CreateVpcEndpointCommandInput,
40
44
  CreateVpcEndpointCommandOutput,
41
45
  } from "../commands/CreateVpcEndpointCommand";
46
+ import {
47
+ DeleteDataSourceCommandInput,
48
+ DeleteDataSourceCommandOutput,
49
+ } from "../commands/DeleteDataSourceCommand";
42
50
  import {
43
51
  DeleteDomainCommandInput,
44
52
  DeleteDomainCommandOutput,
@@ -127,6 +135,10 @@ import {
127
135
  GetCompatibleVersionsCommandInput,
128
136
  GetCompatibleVersionsCommandOutput,
129
137
  } from "../commands/GetCompatibleVersionsCommand";
138
+ import {
139
+ GetDataSourceCommandInput,
140
+ GetDataSourceCommandOutput,
141
+ } from "../commands/GetDataSourceCommand";
130
142
  import {
131
143
  GetDomainMaintenanceStatusCommandInput,
132
144
  GetDomainMaintenanceStatusCommandOutput,
@@ -143,6 +155,10 @@ import {
143
155
  GetUpgradeStatusCommandInput,
144
156
  GetUpgradeStatusCommandOutput,
145
157
  } from "../commands/GetUpgradeStatusCommand";
158
+ import {
159
+ ListDataSourcesCommandInput,
160
+ ListDataSourcesCommandOutput,
161
+ } from "../commands/ListDataSourcesCommand";
146
162
  import {
147
163
  ListDomainMaintenancesCommandInput,
148
164
  ListDomainMaintenancesCommandOutput,
@@ -211,6 +227,10 @@ import {
211
227
  StartServiceSoftwareUpdateCommandInput,
212
228
  StartServiceSoftwareUpdateCommandOutput,
213
229
  } from "../commands/StartServiceSoftwareUpdateCommand";
230
+ import {
231
+ UpdateDataSourceCommandInput,
232
+ UpdateDataSourceCommandOutput,
233
+ } from "../commands/UpdateDataSourceCommand";
214
234
  import {
215
235
  UpdateDomainConfigCommandInput,
216
236
  UpdateDomainConfigCommandOutput,
@@ -235,6 +255,10 @@ export declare const se_AcceptInboundConnectionCommand: (
235
255
  input: AcceptInboundConnectionCommandInput,
236
256
  context: __SerdeContext
237
257
  ) => Promise<__HttpRequest>;
258
+ export declare const se_AddDataSourceCommand: (
259
+ input: AddDataSourceCommandInput,
260
+ context: __SerdeContext
261
+ ) => Promise<__HttpRequest>;
238
262
  export declare const se_AddTagsCommand: (
239
263
  input: AddTagsCommandInput,
240
264
  context: __SerdeContext
@@ -267,6 +291,10 @@ export declare const se_CreateVpcEndpointCommand: (
267
291
  input: CreateVpcEndpointCommandInput,
268
292
  context: __SerdeContext
269
293
  ) => Promise<__HttpRequest>;
294
+ export declare const se_DeleteDataSourceCommand: (
295
+ input: DeleteDataSourceCommandInput,
296
+ context: __SerdeContext
297
+ ) => Promise<__HttpRequest>;
270
298
  export declare const se_DeleteDomainCommand: (
271
299
  input: DeleteDomainCommandInput,
272
300
  context: __SerdeContext
@@ -355,6 +383,10 @@ export declare const se_GetCompatibleVersionsCommand: (
355
383
  input: GetCompatibleVersionsCommandInput,
356
384
  context: __SerdeContext
357
385
  ) => Promise<__HttpRequest>;
386
+ export declare const se_GetDataSourceCommand: (
387
+ input: GetDataSourceCommandInput,
388
+ context: __SerdeContext
389
+ ) => Promise<__HttpRequest>;
358
390
  export declare const se_GetDomainMaintenanceStatusCommand: (
359
391
  input: GetDomainMaintenanceStatusCommandInput,
360
392
  context: __SerdeContext
@@ -371,6 +403,10 @@ export declare const se_GetUpgradeStatusCommand: (
371
403
  input: GetUpgradeStatusCommandInput,
372
404
  context: __SerdeContext
373
405
  ) => Promise<__HttpRequest>;
406
+ export declare const se_ListDataSourcesCommand: (
407
+ input: ListDataSourcesCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
374
410
  export declare const se_ListDomainMaintenancesCommand: (
375
411
  input: ListDomainMaintenancesCommandInput,
376
412
  context: __SerdeContext
@@ -439,6 +475,10 @@ export declare const se_StartServiceSoftwareUpdateCommand: (
439
475
  input: StartServiceSoftwareUpdateCommandInput,
440
476
  context: __SerdeContext
441
477
  ) => Promise<__HttpRequest>;
478
+ export declare const se_UpdateDataSourceCommand: (
479
+ input: UpdateDataSourceCommandInput,
480
+ context: __SerdeContext
481
+ ) => Promise<__HttpRequest>;
442
482
  export declare const se_UpdateDomainConfigCommand: (
443
483
  input: UpdateDomainConfigCommandInput,
444
484
  context: __SerdeContext
@@ -463,6 +503,10 @@ export declare const de_AcceptInboundConnectionCommand: (
463
503
  output: __HttpResponse,
464
504
  context: __SerdeContext
465
505
  ) => Promise<AcceptInboundConnectionCommandOutput>;
506
+ export declare const de_AddDataSourceCommand: (
507
+ output: __HttpResponse,
508
+ context: __SerdeContext
509
+ ) => Promise<AddDataSourceCommandOutput>;
466
510
  export declare const de_AddTagsCommand: (
467
511
  output: __HttpResponse,
468
512
  context: __SerdeContext
@@ -495,6 +539,10 @@ export declare const de_CreateVpcEndpointCommand: (
495
539
  output: __HttpResponse,
496
540
  context: __SerdeContext
497
541
  ) => Promise<CreateVpcEndpointCommandOutput>;
542
+ export declare const de_DeleteDataSourceCommand: (
543
+ output: __HttpResponse,
544
+ context: __SerdeContext
545
+ ) => Promise<DeleteDataSourceCommandOutput>;
498
546
  export declare const de_DeleteDomainCommand: (
499
547
  output: __HttpResponse,
500
548
  context: __SerdeContext
@@ -583,6 +631,10 @@ export declare const de_GetCompatibleVersionsCommand: (
583
631
  output: __HttpResponse,
584
632
  context: __SerdeContext
585
633
  ) => Promise<GetCompatibleVersionsCommandOutput>;
634
+ export declare const de_GetDataSourceCommand: (
635
+ output: __HttpResponse,
636
+ context: __SerdeContext
637
+ ) => Promise<GetDataSourceCommandOutput>;
586
638
  export declare const de_GetDomainMaintenanceStatusCommand: (
587
639
  output: __HttpResponse,
588
640
  context: __SerdeContext
@@ -599,6 +651,10 @@ export declare const de_GetUpgradeStatusCommand: (
599
651
  output: __HttpResponse,
600
652
  context: __SerdeContext
601
653
  ) => Promise<GetUpgradeStatusCommandOutput>;
654
+ export declare const de_ListDataSourcesCommand: (
655
+ output: __HttpResponse,
656
+ context: __SerdeContext
657
+ ) => Promise<ListDataSourcesCommandOutput>;
602
658
  export declare const de_ListDomainMaintenancesCommand: (
603
659
  output: __HttpResponse,
604
660
  context: __SerdeContext
@@ -667,6 +723,10 @@ export declare const de_StartServiceSoftwareUpdateCommand: (
667
723
  output: __HttpResponse,
668
724
  context: __SerdeContext
669
725
  ) => Promise<StartServiceSoftwareUpdateCommandOutput>;
726
+ export declare const de_UpdateDataSourceCommand: (
727
+ output: __HttpResponse,
728
+ context: __SerdeContext
729
+ ) => Promise<UpdateDataSourceCommandOutput>;
670
730
  export declare const de_UpdateDomainConfigCommand: (
671
731
  output: __HttpResponse,
672
732
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.460.0",
4
+ "version": "3.462.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.460.0",
24
+ "@aws-sdk/client-sts": "3.462.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
26
  "@aws-sdk/credential-provider-node": "3.460.0",
27
27
  "@aws-sdk/middleware-host-header": "3.460.0",
28
28
  "@aws-sdk/middleware-logger": "3.460.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.460.0",
30
- "@aws-sdk/middleware-signing": "3.460.0",
30
+ "@aws-sdk/middleware-signing": "3.461.0",
31
31
  "@aws-sdk/middleware-user-agent": "3.460.0",
32
32
  "@aws-sdk/region-config-resolver": "3.451.0",
33
33
  "@aws-sdk/types": "3.460.0",