@aws-sdk/client-cloudwatch-logs 3.696.0 → 3.698.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 (59) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +353 -2
  3. package/dist-es/CloudWatchLogs.js +18 -0
  4. package/dist-es/commands/DeleteIndexPolicyCommand.js +22 -0
  5. package/dist-es/commands/DeleteTransformerCommand.js +22 -0
  6. package/dist-es/commands/DescribeFieldIndexesCommand.js +22 -0
  7. package/dist-es/commands/DescribeIndexPoliciesCommand.js +22 -0
  8. package/dist-es/commands/GetTransformerCommand.js +22 -0
  9. package/dist-es/commands/ListLogGroupsForQueryCommand.js +22 -0
  10. package/dist-es/commands/PutIndexPolicyCommand.js +22 -0
  11. package/dist-es/commands/PutTransformerCommand.js +22 -0
  12. package/dist-es/commands/TestTransformerCommand.js +22 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +16 -0
  15. package/dist-es/pagination/ListLogGroupsForQueryPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +171 -1
  18. package/dist-types/CloudWatchLogs.d.ts +63 -0
  19. package/dist-types/CloudWatchLogsClient.d.ts +11 -2
  20. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +12 -3
  21. package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +89 -0
  22. package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
  23. package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +4 -2
  24. package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +100 -0
  25. package/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +104 -0
  26. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -0
  27. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -0
  28. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
  29. package/dist-types/commands/GetTransformerCommand.d.ts +231 -0
  30. package/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +92 -0
  31. package/dist-types/commands/PutAccountPolicyCommand.d.ts +64 -3
  32. package/dist-types/commands/PutIndexPolicyCommand.d.ts +125 -0
  33. package/dist-types/commands/PutMetricFilterCommand.d.ts +5 -1
  34. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +4 -0
  35. package/dist-types/commands/PutTransformerCommand.d.ts +250 -0
  36. package/dist-types/commands/StartQueryCommand.d.ts +19 -1
  37. package/dist-types/commands/TestTransformerCommand.d.ts +233 -0
  38. package/dist-types/commands/index.d.ts +9 -0
  39. package/dist-types/models/models_0.d.ts +1249 -35
  40. package/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  43. package/dist-types/ts3.4/CloudWatchLogs.d.ts +153 -0
  44. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +54 -0
  45. package/dist-types/ts3.4/commands/DeleteIndexPolicyCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +46 -0
  47. package/dist-types/ts3.4/commands/DescribeFieldIndexesCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/DescribeIndexPoliciesCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/ListLogGroupsForQueryCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/PutIndexPolicyCommand.d.ts +50 -0
  52. package/dist-types/ts3.4/commands/PutTransformerCommand.d.ts +45 -0
  53. package/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +252 -0
  56. package/dist-types/ts3.4/pagination/ListLogGroupsForQueryPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  59. package/package.json +1 -1
@@ -62,6 +62,10 @@ import {
62
62
  DeleteDestinationCommandInput,
63
63
  DeleteDestinationCommandOutput,
64
64
  } from "../commands/DeleteDestinationCommand";
65
+ import {
66
+ DeleteIndexPolicyCommandInput,
67
+ DeleteIndexPolicyCommandOutput,
68
+ } from "../commands/DeleteIndexPolicyCommand";
65
69
  import {
66
70
  DeleteLogAnomalyDetectorCommandInput,
67
71
  DeleteLogAnomalyDetectorCommandOutput,
@@ -94,6 +98,10 @@ import {
94
98
  DeleteSubscriptionFilterCommandInput,
95
99
  DeleteSubscriptionFilterCommandOutput,
96
100
  } from "../commands/DeleteSubscriptionFilterCommand";
101
+ import {
102
+ DeleteTransformerCommandInput,
103
+ DeleteTransformerCommandOutput,
104
+ } from "../commands/DeleteTransformerCommand";
97
105
  import {
98
106
  DescribeAccountPoliciesCommandInput,
99
107
  DescribeAccountPoliciesCommandOutput,
@@ -122,6 +130,14 @@ import {
122
130
  DescribeExportTasksCommandInput,
123
131
  DescribeExportTasksCommandOutput,
124
132
  } from "../commands/DescribeExportTasksCommand";
133
+ import {
134
+ DescribeFieldIndexesCommandInput,
135
+ DescribeFieldIndexesCommandOutput,
136
+ } from "../commands/DescribeFieldIndexesCommand";
137
+ import {
138
+ DescribeIndexPoliciesCommandInput,
139
+ DescribeIndexPoliciesCommandOutput,
140
+ } from "../commands/DescribeIndexPoliciesCommand";
125
141
  import {
126
142
  DescribeLogGroupsCommandInput,
127
143
  DescribeLogGroupsCommandOutput,
@@ -198,6 +214,10 @@ import {
198
214
  GetQueryResultsCommandInput,
199
215
  GetQueryResultsCommandOutput,
200
216
  } from "../commands/GetQueryResultsCommand";
217
+ import {
218
+ GetTransformerCommandInput,
219
+ GetTransformerCommandOutput,
220
+ } from "../commands/GetTransformerCommand";
201
221
  import {
202
222
  ListAnomaliesCommandInput,
203
223
  ListAnomaliesCommandOutput,
@@ -206,6 +226,10 @@ import {
206
226
  ListLogAnomalyDetectorsCommandInput,
207
227
  ListLogAnomalyDetectorsCommandOutput,
208
228
  } from "../commands/ListLogAnomalyDetectorsCommand";
229
+ import {
230
+ ListLogGroupsForQueryCommandInput,
231
+ ListLogGroupsForQueryCommandOutput,
232
+ } from "../commands/ListLogGroupsForQueryCommand";
209
233
  import {
210
234
  ListTagsForResourceCommandInput,
211
235
  ListTagsForResourceCommandOutput,
@@ -242,6 +266,10 @@ import {
242
266
  PutDestinationPolicyCommandInput,
243
267
  PutDestinationPolicyCommandOutput,
244
268
  } from "../commands/PutDestinationPolicyCommand";
269
+ import {
270
+ PutIndexPolicyCommandInput,
271
+ PutIndexPolicyCommandOutput,
272
+ } from "../commands/PutIndexPolicyCommand";
245
273
  import {
246
274
  PutLogEventsCommandInput,
247
275
  PutLogEventsCommandOutput,
@@ -266,6 +294,10 @@ import {
266
294
  PutSubscriptionFilterCommandInput,
267
295
  PutSubscriptionFilterCommandOutput,
268
296
  } from "../commands/PutSubscriptionFilterCommand";
297
+ import {
298
+ PutTransformerCommandInput,
299
+ PutTransformerCommandOutput,
300
+ } from "../commands/PutTransformerCommand";
269
301
  import {
270
302
  StartLiveTailCommandInput,
271
303
  StartLiveTailCommandOutput,
@@ -290,6 +322,10 @@ import {
290
322
  TestMetricFilterCommandInput,
291
323
  TestMetricFilterCommandOutput,
292
324
  } from "../commands/TestMetricFilterCommand";
325
+ import {
326
+ TestTransformerCommandInput,
327
+ TestTransformerCommandOutput,
328
+ } from "../commands/TestTransformerCommand";
293
329
  import {
294
330
  UntagLogGroupCommandInput,
295
331
  UntagLogGroupCommandOutput,
@@ -366,6 +402,10 @@ export declare const se_DeleteDestinationCommand: (
366
402
  input: DeleteDestinationCommandInput,
367
403
  context: __SerdeContext
368
404
  ) => Promise<__HttpRequest>;
405
+ export declare const se_DeleteIndexPolicyCommand: (
406
+ input: DeleteIndexPolicyCommandInput,
407
+ context: __SerdeContext
408
+ ) => Promise<__HttpRequest>;
369
409
  export declare const se_DeleteLogAnomalyDetectorCommand: (
370
410
  input: DeleteLogAnomalyDetectorCommandInput,
371
411
  context: __SerdeContext
@@ -398,6 +438,10 @@ export declare const se_DeleteSubscriptionFilterCommand: (
398
438
  input: DeleteSubscriptionFilterCommandInput,
399
439
  context: __SerdeContext
400
440
  ) => Promise<__HttpRequest>;
441
+ export declare const se_DeleteTransformerCommand: (
442
+ input: DeleteTransformerCommandInput,
443
+ context: __SerdeContext
444
+ ) => Promise<__HttpRequest>;
401
445
  export declare const se_DescribeAccountPoliciesCommand: (
402
446
  input: DescribeAccountPoliciesCommandInput,
403
447
  context: __SerdeContext
@@ -426,6 +470,14 @@ export declare const se_DescribeExportTasksCommand: (
426
470
  input: DescribeExportTasksCommandInput,
427
471
  context: __SerdeContext
428
472
  ) => Promise<__HttpRequest>;
473
+ export declare const se_DescribeFieldIndexesCommand: (
474
+ input: DescribeFieldIndexesCommandInput,
475
+ context: __SerdeContext
476
+ ) => Promise<__HttpRequest>;
477
+ export declare const se_DescribeIndexPoliciesCommand: (
478
+ input: DescribeIndexPoliciesCommandInput,
479
+ context: __SerdeContext
480
+ ) => Promise<__HttpRequest>;
429
481
  export declare const se_DescribeLogGroupsCommand: (
430
482
  input: DescribeLogGroupsCommandInput,
431
483
  context: __SerdeContext
@@ -502,6 +554,10 @@ export declare const se_GetQueryResultsCommand: (
502
554
  input: GetQueryResultsCommandInput,
503
555
  context: __SerdeContext
504
556
  ) => Promise<__HttpRequest>;
557
+ export declare const se_GetTransformerCommand: (
558
+ input: GetTransformerCommandInput,
559
+ context: __SerdeContext
560
+ ) => Promise<__HttpRequest>;
505
561
  export declare const se_ListAnomaliesCommand: (
506
562
  input: ListAnomaliesCommandInput,
507
563
  context: __SerdeContext
@@ -510,6 +566,10 @@ export declare const se_ListLogAnomalyDetectorsCommand: (
510
566
  input: ListLogAnomalyDetectorsCommandInput,
511
567
  context: __SerdeContext
512
568
  ) => Promise<__HttpRequest>;
569
+ export declare const se_ListLogGroupsForQueryCommand: (
570
+ input: ListLogGroupsForQueryCommandInput,
571
+ context: __SerdeContext
572
+ ) => Promise<__HttpRequest>;
513
573
  export declare const se_ListTagsForResourceCommand: (
514
574
  input: ListTagsForResourceCommandInput,
515
575
  context: __SerdeContext
@@ -546,6 +606,10 @@ export declare const se_PutDestinationPolicyCommand: (
546
606
  input: PutDestinationPolicyCommandInput,
547
607
  context: __SerdeContext
548
608
  ) => Promise<__HttpRequest>;
609
+ export declare const se_PutIndexPolicyCommand: (
610
+ input: PutIndexPolicyCommandInput,
611
+ context: __SerdeContext
612
+ ) => Promise<__HttpRequest>;
549
613
  export declare const se_PutLogEventsCommand: (
550
614
  input: PutLogEventsCommandInput,
551
615
  context: __SerdeContext
@@ -570,6 +634,10 @@ export declare const se_PutSubscriptionFilterCommand: (
570
634
  input: PutSubscriptionFilterCommandInput,
571
635
  context: __SerdeContext
572
636
  ) => Promise<__HttpRequest>;
637
+ export declare const se_PutTransformerCommand: (
638
+ input: PutTransformerCommandInput,
639
+ context: __SerdeContext
640
+ ) => Promise<__HttpRequest>;
573
641
  export declare const se_StartLiveTailCommand: (
574
642
  input: StartLiveTailCommandInput,
575
643
  context: __SerdeContext
@@ -594,6 +662,10 @@ export declare const se_TestMetricFilterCommand: (
594
662
  input: TestMetricFilterCommandInput,
595
663
  context: __SerdeContext
596
664
  ) => Promise<__HttpRequest>;
665
+ export declare const se_TestTransformerCommand: (
666
+ input: TestTransformerCommandInput,
667
+ context: __SerdeContext
668
+ ) => Promise<__HttpRequest>;
597
669
  export declare const se_UntagLogGroupCommand: (
598
670
  input: UntagLogGroupCommandInput,
599
671
  context: __SerdeContext
@@ -670,6 +742,10 @@ export declare const de_DeleteDestinationCommand: (
670
742
  output: __HttpResponse,
671
743
  context: __SerdeContext
672
744
  ) => Promise<DeleteDestinationCommandOutput>;
745
+ export declare const de_DeleteIndexPolicyCommand: (
746
+ output: __HttpResponse,
747
+ context: __SerdeContext
748
+ ) => Promise<DeleteIndexPolicyCommandOutput>;
673
749
  export declare const de_DeleteLogAnomalyDetectorCommand: (
674
750
  output: __HttpResponse,
675
751
  context: __SerdeContext
@@ -702,6 +778,10 @@ export declare const de_DeleteSubscriptionFilterCommand: (
702
778
  output: __HttpResponse,
703
779
  context: __SerdeContext
704
780
  ) => Promise<DeleteSubscriptionFilterCommandOutput>;
781
+ export declare const de_DeleteTransformerCommand: (
782
+ output: __HttpResponse,
783
+ context: __SerdeContext
784
+ ) => Promise<DeleteTransformerCommandOutput>;
705
785
  export declare const de_DescribeAccountPoliciesCommand: (
706
786
  output: __HttpResponse,
707
787
  context: __SerdeContext
@@ -730,6 +810,14 @@ export declare const de_DescribeExportTasksCommand: (
730
810
  output: __HttpResponse,
731
811
  context: __SerdeContext
732
812
  ) => Promise<DescribeExportTasksCommandOutput>;
813
+ export declare const de_DescribeFieldIndexesCommand: (
814
+ output: __HttpResponse,
815
+ context: __SerdeContext
816
+ ) => Promise<DescribeFieldIndexesCommandOutput>;
817
+ export declare const de_DescribeIndexPoliciesCommand: (
818
+ output: __HttpResponse,
819
+ context: __SerdeContext
820
+ ) => Promise<DescribeIndexPoliciesCommandOutput>;
733
821
  export declare const de_DescribeLogGroupsCommand: (
734
822
  output: __HttpResponse,
735
823
  context: __SerdeContext
@@ -806,6 +894,10 @@ export declare const de_GetQueryResultsCommand: (
806
894
  output: __HttpResponse,
807
895
  context: __SerdeContext
808
896
  ) => Promise<GetQueryResultsCommandOutput>;
897
+ export declare const de_GetTransformerCommand: (
898
+ output: __HttpResponse,
899
+ context: __SerdeContext
900
+ ) => Promise<GetTransformerCommandOutput>;
809
901
  export declare const de_ListAnomaliesCommand: (
810
902
  output: __HttpResponse,
811
903
  context: __SerdeContext
@@ -814,6 +906,10 @@ export declare const de_ListLogAnomalyDetectorsCommand: (
814
906
  output: __HttpResponse,
815
907
  context: __SerdeContext
816
908
  ) => Promise<ListLogAnomalyDetectorsCommandOutput>;
909
+ export declare const de_ListLogGroupsForQueryCommand: (
910
+ output: __HttpResponse,
911
+ context: __SerdeContext
912
+ ) => Promise<ListLogGroupsForQueryCommandOutput>;
817
913
  export declare const de_ListTagsForResourceCommand: (
818
914
  output: __HttpResponse,
819
915
  context: __SerdeContext
@@ -850,6 +946,10 @@ export declare const de_PutDestinationPolicyCommand: (
850
946
  output: __HttpResponse,
851
947
  context: __SerdeContext
852
948
  ) => Promise<PutDestinationPolicyCommandOutput>;
949
+ export declare const de_PutIndexPolicyCommand: (
950
+ output: __HttpResponse,
951
+ context: __SerdeContext
952
+ ) => Promise<PutIndexPolicyCommandOutput>;
853
953
  export declare const de_PutLogEventsCommand: (
854
954
  output: __HttpResponse,
855
955
  context: __SerdeContext
@@ -874,6 +974,10 @@ export declare const de_PutSubscriptionFilterCommand: (
874
974
  output: __HttpResponse,
875
975
  context: __SerdeContext
876
976
  ) => Promise<PutSubscriptionFilterCommandOutput>;
977
+ export declare const de_PutTransformerCommand: (
978
+ output: __HttpResponse,
979
+ context: __SerdeContext
980
+ ) => Promise<PutTransformerCommandOutput>;
877
981
  export declare const de_StartLiveTailCommand: (
878
982
  output: __HttpResponse,
879
983
  context: __SerdeContext & __EventStreamSerdeContext
@@ -898,6 +1002,10 @@ export declare const de_TestMetricFilterCommand: (
898
1002
  output: __HttpResponse,
899
1003
  context: __SerdeContext
900
1004
  ) => Promise<TestMetricFilterCommandOutput>;
1005
+ export declare const de_TestTransformerCommand: (
1006
+ output: __HttpResponse,
1007
+ context: __SerdeContext
1008
+ ) => Promise<TestTransformerCommandOutput>;
901
1009
  export declare const de_UntagLogGroupCommand: (
902
1010
  output: __HttpResponse,
903
1011
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.696.0",
4
+ "version": "3.698.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-cloudwatch-logs",