@aws-sdk/client-opensearch 3.682.0 → 3.683.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +47 -7
  2. package/dist-cjs/index.js +344 -29
  3. package/dist-es/OpenSearch.js +10 -0
  4. package/dist-es/commands/CreateApplicationCommand.js +22 -0
  5. package/dist-es/commands/DeleteApplicationCommand.js +22 -0
  6. package/dist-es/commands/GetApplicationCommand.js +22 -0
  7. package/dist-es/commands/ListApplicationsCommand.js +22 -0
  8. package/dist-es/commands/UpdateApplicationCommand.js +22 -0
  9. package/dist-es/commands/UpdateDomainConfigCommand.js +1 -1
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +23 -28
  12. package/dist-es/models/models_1.js +30 -1
  13. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +191 -3
  16. package/dist-types/OpenSearch.d.ts +36 -0
  17. package/dist-types/OpenSearchClient.d.ts +7 -2
  18. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateApplicationCommand.d.ts +140 -0
  20. package/dist-types/commands/CreateDomainCommand.d.ts +14 -0
  21. package/dist-types/commands/DeleteApplicationCommand.d.ts +90 -0
  22. package/dist-types/commands/DeleteDomainCommand.d.ts +8 -0
  23. package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
  24. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +11 -0
  25. package/dist-types/commands/DescribeDomainsCommand.d.ts +8 -0
  26. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +8 -0
  27. package/dist-types/commands/GetApplicationCommand.d.ts +113 -0
  28. package/dist-types/commands/ListApplicationsCommand.d.ts +104 -0
  29. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +2 -1
  30. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  31. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +3 -2
  32. package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +1 -1
  33. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateApplicationCommand.d.ts +126 -0
  35. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +18 -1
  37. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/index.d.ts +5 -0
  41. package/dist-types/models/models_0.d.ts +538 -565
  42. package/dist-types/models/models_1.d.ts +603 -1
  43. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  46. package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
  47. package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
  48. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
  51. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
  52. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +129 -114
  65. package/dist-types/ts3.4/models/models_1.d.ts +169 -1
  66. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  69. package/package.json +4 -2
@@ -31,6 +31,10 @@ import {
31
31
  CancelServiceSoftwareUpdateCommandInput,
32
32
  CancelServiceSoftwareUpdateCommandOutput,
33
33
  } from "../commands/CancelServiceSoftwareUpdateCommand";
34
+ import {
35
+ CreateApplicationCommandInput,
36
+ CreateApplicationCommandOutput,
37
+ } from "../commands/CreateApplicationCommand";
34
38
  import {
35
39
  CreateDomainCommandInput,
36
40
  CreateDomainCommandOutput,
@@ -47,6 +51,10 @@ import {
47
51
  CreateVpcEndpointCommandInput,
48
52
  CreateVpcEndpointCommandOutput,
49
53
  } from "../commands/CreateVpcEndpointCommand";
54
+ import {
55
+ DeleteApplicationCommandInput,
56
+ DeleteApplicationCommandOutput,
57
+ } from "../commands/DeleteApplicationCommand";
50
58
  import {
51
59
  DeleteDataSourceCommandInput,
52
60
  DeleteDataSourceCommandOutput,
@@ -135,6 +143,10 @@ import {
135
143
  DissociatePackageCommandInput,
136
144
  DissociatePackageCommandOutput,
137
145
  } from "../commands/DissociatePackageCommand";
146
+ import {
147
+ GetApplicationCommandInput,
148
+ GetApplicationCommandOutput,
149
+ } from "../commands/GetApplicationCommand";
138
150
  import {
139
151
  GetCompatibleVersionsCommandInput,
140
152
  GetCompatibleVersionsCommandOutput,
@@ -159,6 +171,10 @@ import {
159
171
  GetUpgradeStatusCommandInput,
160
172
  GetUpgradeStatusCommandOutput,
161
173
  } from "../commands/GetUpgradeStatusCommand";
174
+ import {
175
+ ListApplicationsCommandInput,
176
+ ListApplicationsCommandOutput,
177
+ } from "../commands/ListApplicationsCommand";
162
178
  import {
163
179
  ListDataSourcesCommandInput,
164
180
  ListDataSourcesCommandOutput,
@@ -231,6 +247,10 @@ import {
231
247
  StartServiceSoftwareUpdateCommandInput,
232
248
  StartServiceSoftwareUpdateCommandOutput,
233
249
  } from "../commands/StartServiceSoftwareUpdateCommand";
250
+ import {
251
+ UpdateApplicationCommandInput,
252
+ UpdateApplicationCommandOutput,
253
+ } from "../commands/UpdateApplicationCommand";
234
254
  import {
235
255
  UpdateDataSourceCommandInput,
236
256
  UpdateDataSourceCommandOutput,
@@ -283,6 +303,10 @@ export declare const se_CancelServiceSoftwareUpdateCommand: (
283
303
  input: CancelServiceSoftwareUpdateCommandInput,
284
304
  context: __SerdeContext
285
305
  ) => Promise<__HttpRequest>;
306
+ export declare const se_CreateApplicationCommand: (
307
+ input: CreateApplicationCommandInput,
308
+ context: __SerdeContext
309
+ ) => Promise<__HttpRequest>;
286
310
  export declare const se_CreateDomainCommand: (
287
311
  input: CreateDomainCommandInput,
288
312
  context: __SerdeContext
@@ -299,6 +323,10 @@ export declare const se_CreateVpcEndpointCommand: (
299
323
  input: CreateVpcEndpointCommandInput,
300
324
  context: __SerdeContext
301
325
  ) => Promise<__HttpRequest>;
326
+ export declare const se_DeleteApplicationCommand: (
327
+ input: DeleteApplicationCommandInput,
328
+ context: __SerdeContext
329
+ ) => Promise<__HttpRequest>;
302
330
  export declare const se_DeleteDataSourceCommand: (
303
331
  input: DeleteDataSourceCommandInput,
304
332
  context: __SerdeContext
@@ -387,6 +415,10 @@ export declare const se_DissociatePackageCommand: (
387
415
  input: DissociatePackageCommandInput,
388
416
  context: __SerdeContext
389
417
  ) => Promise<__HttpRequest>;
418
+ export declare const se_GetApplicationCommand: (
419
+ input: GetApplicationCommandInput,
420
+ context: __SerdeContext
421
+ ) => Promise<__HttpRequest>;
390
422
  export declare const se_GetCompatibleVersionsCommand: (
391
423
  input: GetCompatibleVersionsCommandInput,
392
424
  context: __SerdeContext
@@ -411,6 +443,10 @@ export declare const se_GetUpgradeStatusCommand: (
411
443
  input: GetUpgradeStatusCommandInput,
412
444
  context: __SerdeContext
413
445
  ) => Promise<__HttpRequest>;
446
+ export declare const se_ListApplicationsCommand: (
447
+ input: ListApplicationsCommandInput,
448
+ context: __SerdeContext
449
+ ) => Promise<__HttpRequest>;
414
450
  export declare const se_ListDataSourcesCommand: (
415
451
  input: ListDataSourcesCommandInput,
416
452
  context: __SerdeContext
@@ -483,6 +519,10 @@ export declare const se_StartServiceSoftwareUpdateCommand: (
483
519
  input: StartServiceSoftwareUpdateCommandInput,
484
520
  context: __SerdeContext
485
521
  ) => Promise<__HttpRequest>;
522
+ export declare const se_UpdateApplicationCommand: (
523
+ input: UpdateApplicationCommandInput,
524
+ context: __SerdeContext
525
+ ) => Promise<__HttpRequest>;
486
526
  export declare const se_UpdateDataSourceCommand: (
487
527
  input: UpdateDataSourceCommandInput,
488
528
  context: __SerdeContext
@@ -535,6 +575,10 @@ export declare const de_CancelServiceSoftwareUpdateCommand: (
535
575
  output: __HttpResponse,
536
576
  context: __SerdeContext
537
577
  ) => Promise<CancelServiceSoftwareUpdateCommandOutput>;
578
+ export declare const de_CreateApplicationCommand: (
579
+ output: __HttpResponse,
580
+ context: __SerdeContext
581
+ ) => Promise<CreateApplicationCommandOutput>;
538
582
  export declare const de_CreateDomainCommand: (
539
583
  output: __HttpResponse,
540
584
  context: __SerdeContext
@@ -551,6 +595,10 @@ export declare const de_CreateVpcEndpointCommand: (
551
595
  output: __HttpResponse,
552
596
  context: __SerdeContext
553
597
  ) => Promise<CreateVpcEndpointCommandOutput>;
598
+ export declare const de_DeleteApplicationCommand: (
599
+ output: __HttpResponse,
600
+ context: __SerdeContext
601
+ ) => Promise<DeleteApplicationCommandOutput>;
554
602
  export declare const de_DeleteDataSourceCommand: (
555
603
  output: __HttpResponse,
556
604
  context: __SerdeContext
@@ -639,6 +687,10 @@ export declare const de_DissociatePackageCommand: (
639
687
  output: __HttpResponse,
640
688
  context: __SerdeContext
641
689
  ) => Promise<DissociatePackageCommandOutput>;
690
+ export declare const de_GetApplicationCommand: (
691
+ output: __HttpResponse,
692
+ context: __SerdeContext
693
+ ) => Promise<GetApplicationCommandOutput>;
642
694
  export declare const de_GetCompatibleVersionsCommand: (
643
695
  output: __HttpResponse,
644
696
  context: __SerdeContext
@@ -663,6 +715,10 @@ export declare const de_GetUpgradeStatusCommand: (
663
715
  output: __HttpResponse,
664
716
  context: __SerdeContext
665
717
  ) => Promise<GetUpgradeStatusCommandOutput>;
718
+ export declare const de_ListApplicationsCommand: (
719
+ output: __HttpResponse,
720
+ context: __SerdeContext
721
+ ) => Promise<ListApplicationsCommandOutput>;
666
722
  export declare const de_ListDataSourcesCommand: (
667
723
  output: __HttpResponse,
668
724
  context: __SerdeContext
@@ -735,6 +791,10 @@ export declare const de_StartServiceSoftwareUpdateCommand: (
735
791
  output: __HttpResponse,
736
792
  context: __SerdeContext
737
793
  ) => Promise<StartServiceSoftwareUpdateCommandOutput>;
794
+ export declare const de_UpdateApplicationCommand: (
795
+ output: __HttpResponse,
796
+ context: __SerdeContext
797
+ ) => Promise<UpdateApplicationCommandOutput>;
738
798
  export declare const de_UpdateDataSourceCommand: (
739
799
  output: __HttpResponse,
740
800
  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.682.0",
4
+ "version": "3.683.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-opensearch",
@@ -58,7 +58,9 @@
58
58
  "@smithy/util-middleware": "^3.0.7",
59
59
  "@smithy/util-retry": "^3.0.7",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "tslib": "^2.6.2"
61
+ "@types/uuid": "^9.0.1",
62
+ "tslib": "^2.6.2",
63
+ "uuid": "^9.0.1"
62
64
  },
63
65
  "devDependencies": {
64
66
  "@tsconfig/node16": "16.1.3",