@effect-aws/client-cloudwatch-logs 1.10.6 → 1.10.8
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.
- package/dist/cjs/CloudWatchLogsService.d.ts +68 -4
- package/dist/cjs/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsService.js +16 -0
- package/dist/cjs/CloudWatchLogsService.js.map +1 -1
- package/dist/cjs/Errors.d.ts +3 -2
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -0
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/dts/CloudWatchLogsService.d.ts +68 -4
- package/dist/dts/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +3 -2
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/CloudWatchLogsService.js +17 -1
- package/dist/esm/CloudWatchLogsService.js.map +1 -1
- package/dist/esm/Errors.js +1 -0
- package/dist/esm/Errors.js.map +1 -1
- package/package.json +1 -1
- package/src/CloudWatchLogsService.ts +331 -0
- package/src/Errors.ts +3 -0
|
@@ -5,9 +5,15 @@ import {
|
|
|
5
5
|
AssociateKmsKeyCommand,
|
|
6
6
|
type AssociateKmsKeyCommandInput,
|
|
7
7
|
type AssociateKmsKeyCommandOutput,
|
|
8
|
+
AssociateSourceToS3TableIntegrationCommand,
|
|
9
|
+
type AssociateSourceToS3TableIntegrationCommandInput,
|
|
10
|
+
type AssociateSourceToS3TableIntegrationCommandOutput,
|
|
8
11
|
CancelExportTaskCommand,
|
|
9
12
|
type CancelExportTaskCommandInput,
|
|
10
13
|
type CancelExportTaskCommandOutput,
|
|
14
|
+
CancelImportTaskCommand,
|
|
15
|
+
type CancelImportTaskCommandInput,
|
|
16
|
+
type CancelImportTaskCommandOutput,
|
|
11
17
|
type CloudWatchLogsClient,
|
|
12
18
|
type CloudWatchLogsClientConfig,
|
|
13
19
|
CreateDeliveryCommand,
|
|
@@ -16,6 +22,9 @@ import {
|
|
|
16
22
|
CreateExportTaskCommand,
|
|
17
23
|
type CreateExportTaskCommandInput,
|
|
18
24
|
type CreateExportTaskCommandOutput,
|
|
25
|
+
CreateImportTaskCommand,
|
|
26
|
+
type CreateImportTaskCommandInput,
|
|
27
|
+
type CreateImportTaskCommandOutput,
|
|
19
28
|
CreateLogAnomalyDetectorCommand,
|
|
20
29
|
type CreateLogAnomalyDetectorCommandInput,
|
|
21
30
|
type CreateLogAnomalyDetectorCommandOutput,
|
|
@@ -25,6 +34,9 @@ import {
|
|
|
25
34
|
CreateLogStreamCommand,
|
|
26
35
|
type CreateLogStreamCommandInput,
|
|
27
36
|
type CreateLogStreamCommandOutput,
|
|
37
|
+
CreateScheduledQueryCommand,
|
|
38
|
+
type CreateScheduledQueryCommandInput,
|
|
39
|
+
type CreateScheduledQueryCommandOutput,
|
|
28
40
|
DeleteAccountPolicyCommand,
|
|
29
41
|
type DeleteAccountPolicyCommandInput,
|
|
30
42
|
type DeleteAccountPolicyCommandOutput,
|
|
@@ -73,6 +85,9 @@ import {
|
|
|
73
85
|
DeleteRetentionPolicyCommand,
|
|
74
86
|
type DeleteRetentionPolicyCommandInput,
|
|
75
87
|
type DeleteRetentionPolicyCommandOutput,
|
|
88
|
+
DeleteScheduledQueryCommand,
|
|
89
|
+
type DeleteScheduledQueryCommandInput,
|
|
90
|
+
type DeleteScheduledQueryCommandOutput,
|
|
76
91
|
DeleteSubscriptionFilterCommand,
|
|
77
92
|
type DeleteSubscriptionFilterCommandInput,
|
|
78
93
|
type DeleteSubscriptionFilterCommandOutput,
|
|
@@ -103,6 +118,12 @@ import {
|
|
|
103
118
|
DescribeFieldIndexesCommand,
|
|
104
119
|
type DescribeFieldIndexesCommandInput,
|
|
105
120
|
type DescribeFieldIndexesCommandOutput,
|
|
121
|
+
DescribeImportTaskBatchesCommand,
|
|
122
|
+
type DescribeImportTaskBatchesCommandInput,
|
|
123
|
+
type DescribeImportTaskBatchesCommandOutput,
|
|
124
|
+
DescribeImportTasksCommand,
|
|
125
|
+
type DescribeImportTasksCommandInput,
|
|
126
|
+
type DescribeImportTasksCommandOutput,
|
|
106
127
|
DescribeIndexPoliciesCommand,
|
|
107
128
|
type DescribeIndexPoliciesCommandInput,
|
|
108
129
|
type DescribeIndexPoliciesCommandOutput,
|
|
@@ -130,6 +151,9 @@ import {
|
|
|
130
151
|
DisassociateKmsKeyCommand,
|
|
131
152
|
type DisassociateKmsKeyCommandInput,
|
|
132
153
|
type DisassociateKmsKeyCommandOutput,
|
|
154
|
+
DisassociateSourceFromS3TableIntegrationCommand,
|
|
155
|
+
type DisassociateSourceFromS3TableIntegrationCommandInput,
|
|
156
|
+
type DisassociateSourceFromS3TableIntegrationCommandOutput,
|
|
133
157
|
FilterLogEventsCommand,
|
|
134
158
|
type FilterLogEventsCommandInput,
|
|
135
159
|
type FilterLogEventsCommandOutput,
|
|
@@ -157,6 +181,9 @@ import {
|
|
|
157
181
|
GetLogEventsCommand,
|
|
158
182
|
type GetLogEventsCommandInput,
|
|
159
183
|
type GetLogEventsCommandOutput,
|
|
184
|
+
GetLogFieldsCommand,
|
|
185
|
+
type GetLogFieldsCommandInput,
|
|
186
|
+
type GetLogFieldsCommandOutput,
|
|
160
187
|
GetLogGroupFieldsCommand,
|
|
161
188
|
type GetLogGroupFieldsCommandInput,
|
|
162
189
|
type GetLogGroupFieldsCommandOutput,
|
|
@@ -169,9 +196,18 @@ import {
|
|
|
169
196
|
GetQueryResultsCommand,
|
|
170
197
|
type GetQueryResultsCommandInput,
|
|
171
198
|
type GetQueryResultsCommandOutput,
|
|
199
|
+
GetScheduledQueryCommand,
|
|
200
|
+
type GetScheduledQueryCommandInput,
|
|
201
|
+
type GetScheduledQueryCommandOutput,
|
|
202
|
+
GetScheduledQueryHistoryCommand,
|
|
203
|
+
type GetScheduledQueryHistoryCommandInput,
|
|
204
|
+
type GetScheduledQueryHistoryCommandOutput,
|
|
172
205
|
GetTransformerCommand,
|
|
173
206
|
type GetTransformerCommandInput,
|
|
174
207
|
type GetTransformerCommandOutput,
|
|
208
|
+
ListAggregateLogGroupSummariesCommand,
|
|
209
|
+
type ListAggregateLogGroupSummariesCommandInput,
|
|
210
|
+
type ListAggregateLogGroupSummariesCommandOutput,
|
|
175
211
|
ListAnomaliesCommand,
|
|
176
212
|
type ListAnomaliesCommandInput,
|
|
177
213
|
type ListAnomaliesCommandOutput,
|
|
@@ -187,6 +223,12 @@ import {
|
|
|
187
223
|
ListLogGroupsForQueryCommand,
|
|
188
224
|
type ListLogGroupsForQueryCommandInput,
|
|
189
225
|
type ListLogGroupsForQueryCommandOutput,
|
|
226
|
+
ListScheduledQueriesCommand,
|
|
227
|
+
type ListScheduledQueriesCommandInput,
|
|
228
|
+
type ListScheduledQueriesCommandOutput,
|
|
229
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
230
|
+
type ListSourcesForS3TableIntegrationCommandInput,
|
|
231
|
+
type ListSourcesForS3TableIntegrationCommandOutput,
|
|
190
232
|
ListTagsForResourceCommand,
|
|
191
233
|
type ListTagsForResourceCommandInput,
|
|
192
234
|
type ListTagsForResourceCommandOutput,
|
|
@@ -223,6 +265,9 @@ import {
|
|
|
223
265
|
PutLogEventsCommand,
|
|
224
266
|
type PutLogEventsCommandInput,
|
|
225
267
|
type PutLogEventsCommandOutput,
|
|
268
|
+
PutLogGroupDeletionProtectionCommand,
|
|
269
|
+
type PutLogGroupDeletionProtectionCommandInput,
|
|
270
|
+
type PutLogGroupDeletionProtectionCommandOutput,
|
|
226
271
|
PutMetricFilterCommand,
|
|
227
272
|
type PutMetricFilterCommandInput,
|
|
228
273
|
type PutMetricFilterCommandOutput,
|
|
@@ -277,6 +322,9 @@ import {
|
|
|
277
322
|
UpdateLogAnomalyDetectorCommand,
|
|
278
323
|
type UpdateLogAnomalyDetectorCommandInput,
|
|
279
324
|
type UpdateLogAnomalyDetectorCommandOutput,
|
|
325
|
+
UpdateScheduledQueryCommand,
|
|
326
|
+
type UpdateScheduledQueryCommandInput,
|
|
327
|
+
type UpdateScheduledQueryCommandOutput,
|
|
280
328
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
281
329
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
282
330
|
import { Service } from "@effect-aws/commons";
|
|
@@ -288,6 +336,7 @@ import type {
|
|
|
288
336
|
AccessDeniedError,
|
|
289
337
|
ConflictError,
|
|
290
338
|
DataAlreadyAcceptedError,
|
|
339
|
+
InternalServerError,
|
|
291
340
|
InvalidOperationError,
|
|
292
341
|
InvalidParameterError,
|
|
293
342
|
InvalidSequenceTokenError,
|
|
@@ -308,12 +357,16 @@ import { AllServiceErrors } from "./Errors.js";
|
|
|
308
357
|
|
|
309
358
|
const commands = {
|
|
310
359
|
AssociateKmsKeyCommand,
|
|
360
|
+
AssociateSourceToS3TableIntegrationCommand,
|
|
311
361
|
CancelExportTaskCommand,
|
|
362
|
+
CancelImportTaskCommand,
|
|
312
363
|
CreateDeliveryCommand,
|
|
313
364
|
CreateExportTaskCommand,
|
|
365
|
+
CreateImportTaskCommand,
|
|
314
366
|
CreateLogAnomalyDetectorCommand,
|
|
315
367
|
CreateLogGroupCommand,
|
|
316
368
|
CreateLogStreamCommand,
|
|
369
|
+
CreateScheduledQueryCommand,
|
|
317
370
|
DeleteAccountPolicyCommand,
|
|
318
371
|
DeleteDataProtectionPolicyCommand,
|
|
319
372
|
DeleteDeliveryCommand,
|
|
@@ -330,6 +383,7 @@ const commands = {
|
|
|
330
383
|
DeleteQueryDefinitionCommand,
|
|
331
384
|
DeleteResourcePolicyCommand,
|
|
332
385
|
DeleteRetentionPolicyCommand,
|
|
386
|
+
DeleteScheduledQueryCommand,
|
|
333
387
|
DeleteSubscriptionFilterCommand,
|
|
334
388
|
DeleteTransformerCommand,
|
|
335
389
|
DescribeAccountPoliciesCommand,
|
|
@@ -340,6 +394,8 @@ const commands = {
|
|
|
340
394
|
DescribeDestinationsCommand,
|
|
341
395
|
DescribeExportTasksCommand,
|
|
342
396
|
DescribeFieldIndexesCommand,
|
|
397
|
+
DescribeImportTaskBatchesCommand,
|
|
398
|
+
DescribeImportTasksCommand,
|
|
343
399
|
DescribeIndexPoliciesCommand,
|
|
344
400
|
DescribeLogGroupsCommand,
|
|
345
401
|
DescribeLogStreamsCommand,
|
|
@@ -349,6 +405,7 @@ const commands = {
|
|
|
349
405
|
DescribeResourcePoliciesCommand,
|
|
350
406
|
DescribeSubscriptionFiltersCommand,
|
|
351
407
|
DisassociateKmsKeyCommand,
|
|
408
|
+
DisassociateSourceFromS3TableIntegrationCommand,
|
|
352
409
|
FilterLogEventsCommand,
|
|
353
410
|
GetDataProtectionPolicyCommand,
|
|
354
411
|
GetDeliveryCommand,
|
|
@@ -358,16 +415,22 @@ const commands = {
|
|
|
358
415
|
GetIntegrationCommand,
|
|
359
416
|
GetLogAnomalyDetectorCommand,
|
|
360
417
|
GetLogEventsCommand,
|
|
418
|
+
GetLogFieldsCommand,
|
|
361
419
|
GetLogGroupFieldsCommand,
|
|
362
420
|
GetLogObjectCommand,
|
|
363
421
|
GetLogRecordCommand,
|
|
364
422
|
GetQueryResultsCommand,
|
|
423
|
+
GetScheduledQueryCommand,
|
|
424
|
+
GetScheduledQueryHistoryCommand,
|
|
365
425
|
GetTransformerCommand,
|
|
426
|
+
ListAggregateLogGroupSummariesCommand,
|
|
366
427
|
ListAnomaliesCommand,
|
|
367
428
|
ListIntegrationsCommand,
|
|
368
429
|
ListLogAnomalyDetectorsCommand,
|
|
369
430
|
ListLogGroupsCommand,
|
|
370
431
|
ListLogGroupsForQueryCommand,
|
|
432
|
+
ListScheduledQueriesCommand,
|
|
433
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
371
434
|
ListTagsForResourceCommand,
|
|
372
435
|
ListTagsLogGroupCommand,
|
|
373
436
|
PutAccountPolicyCommand,
|
|
@@ -380,6 +443,7 @@ const commands = {
|
|
|
380
443
|
PutIndexPolicyCommand,
|
|
381
444
|
PutIntegrationCommand,
|
|
382
445
|
PutLogEventsCommand,
|
|
446
|
+
PutLogGroupDeletionProtectionCommand,
|
|
383
447
|
PutMetricFilterCommand,
|
|
384
448
|
PutQueryDefinitionCommand,
|
|
385
449
|
PutResourcePolicyCommand,
|
|
@@ -398,6 +462,7 @@ const commands = {
|
|
|
398
462
|
UpdateAnomalyCommand,
|
|
399
463
|
UpdateDeliveryConfigurationCommand,
|
|
400
464
|
UpdateLogAnomalyDetectorCommand,
|
|
465
|
+
UpdateScheduledQueryCommand,
|
|
401
466
|
};
|
|
402
467
|
|
|
403
468
|
interface CloudWatchLogsService$ {
|
|
@@ -419,6 +484,23 @@ interface CloudWatchLogsService$ {
|
|
|
419
484
|
| ServiceUnavailableError
|
|
420
485
|
>;
|
|
421
486
|
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link AssociateSourceToS3TableIntegrationCommand}
|
|
489
|
+
*/
|
|
490
|
+
associateSourceToS3TableIntegration(
|
|
491
|
+
args: AssociateSourceToS3TableIntegrationCommandInput,
|
|
492
|
+
options?: HttpHandlerOptions,
|
|
493
|
+
): Effect.Effect<
|
|
494
|
+
AssociateSourceToS3TableIntegrationCommandOutput,
|
|
495
|
+
| Cause.TimeoutException
|
|
496
|
+
| SdkError
|
|
497
|
+
| AccessDeniedError
|
|
498
|
+
| InternalServerError
|
|
499
|
+
| ResourceNotFoundError
|
|
500
|
+
| ThrottlingError
|
|
501
|
+
| ValidationError
|
|
502
|
+
>;
|
|
503
|
+
|
|
422
504
|
/**
|
|
423
505
|
* @see {@link CancelExportTaskCommand}
|
|
424
506
|
*/
|
|
@@ -435,6 +517,23 @@ interface CloudWatchLogsService$ {
|
|
|
435
517
|
| ServiceUnavailableError
|
|
436
518
|
>;
|
|
437
519
|
|
|
520
|
+
/**
|
|
521
|
+
* @see {@link CancelImportTaskCommand}
|
|
522
|
+
*/
|
|
523
|
+
cancelImportTask(
|
|
524
|
+
args: CancelImportTaskCommandInput,
|
|
525
|
+
options?: HttpHandlerOptions,
|
|
526
|
+
): Effect.Effect<
|
|
527
|
+
CancelImportTaskCommandOutput,
|
|
528
|
+
| Cause.TimeoutException
|
|
529
|
+
| SdkError
|
|
530
|
+
| AccessDeniedError
|
|
531
|
+
| InvalidOperationError
|
|
532
|
+
| InvalidParameterError
|
|
533
|
+
| ResourceNotFoundError
|
|
534
|
+
| ThrottlingError
|
|
535
|
+
>;
|
|
536
|
+
|
|
438
537
|
/**
|
|
439
538
|
* @see {@link CreateDeliveryCommand}
|
|
440
539
|
*/
|
|
@@ -472,6 +571,25 @@ interface CloudWatchLogsService$ {
|
|
|
472
571
|
| ServiceUnavailableError
|
|
473
572
|
>;
|
|
474
573
|
|
|
574
|
+
/**
|
|
575
|
+
* @see {@link CreateImportTaskCommand}
|
|
576
|
+
*/
|
|
577
|
+
createImportTask(
|
|
578
|
+
args: CreateImportTaskCommandInput,
|
|
579
|
+
options?: HttpHandlerOptions,
|
|
580
|
+
): Effect.Effect<
|
|
581
|
+
CreateImportTaskCommandOutput,
|
|
582
|
+
| Cause.TimeoutException
|
|
583
|
+
| SdkError
|
|
584
|
+
| AccessDeniedError
|
|
585
|
+
| ConflictError
|
|
586
|
+
| InvalidOperationError
|
|
587
|
+
| InvalidParameterError
|
|
588
|
+
| ResourceNotFoundError
|
|
589
|
+
| ThrottlingError
|
|
590
|
+
| ValidationError
|
|
591
|
+
>;
|
|
592
|
+
|
|
475
593
|
/**
|
|
476
594
|
* @see {@link CreateLogAnomalyDetectorCommand}
|
|
477
595
|
*/
|
|
@@ -522,6 +640,25 @@ interface CloudWatchLogsService$ {
|
|
|
522
640
|
| ServiceUnavailableError
|
|
523
641
|
>;
|
|
524
642
|
|
|
643
|
+
/**
|
|
644
|
+
* @see {@link CreateScheduledQueryCommand}
|
|
645
|
+
*/
|
|
646
|
+
createScheduledQuery(
|
|
647
|
+
args: CreateScheduledQueryCommandInput,
|
|
648
|
+
options?: HttpHandlerOptions,
|
|
649
|
+
): Effect.Effect<
|
|
650
|
+
CreateScheduledQueryCommandOutput,
|
|
651
|
+
| Cause.TimeoutException
|
|
652
|
+
| SdkError
|
|
653
|
+
| AccessDeniedError
|
|
654
|
+
| ConflictError
|
|
655
|
+
| InternalServerError
|
|
656
|
+
| ResourceNotFoundError
|
|
657
|
+
| ServiceQuotaExceededError
|
|
658
|
+
| ThrottlingError
|
|
659
|
+
| ValidationError
|
|
660
|
+
>;
|
|
661
|
+
|
|
525
662
|
/**
|
|
526
663
|
* @see {@link DeleteAccountPolicyCommand}
|
|
527
664
|
*/
|
|
@@ -703,6 +840,7 @@ interface CloudWatchLogsService$ {
|
|
|
703
840
|
| OperationAbortedError
|
|
704
841
|
| ResourceNotFoundError
|
|
705
842
|
| ServiceUnavailableError
|
|
843
|
+
| ValidationError
|
|
706
844
|
>;
|
|
707
845
|
|
|
708
846
|
/**
|
|
@@ -719,6 +857,7 @@ interface CloudWatchLogsService$ {
|
|
|
719
857
|
| OperationAbortedError
|
|
720
858
|
| ResourceNotFoundError
|
|
721
859
|
| ServiceUnavailableError
|
|
860
|
+
| ValidationError
|
|
722
861
|
>;
|
|
723
862
|
|
|
724
863
|
/**
|
|
@@ -780,6 +919,23 @@ interface CloudWatchLogsService$ {
|
|
|
780
919
|
| ServiceUnavailableError
|
|
781
920
|
>;
|
|
782
921
|
|
|
922
|
+
/**
|
|
923
|
+
* @see {@link DeleteScheduledQueryCommand}
|
|
924
|
+
*/
|
|
925
|
+
deleteScheduledQuery(
|
|
926
|
+
args: DeleteScheduledQueryCommandInput,
|
|
927
|
+
options?: HttpHandlerOptions,
|
|
928
|
+
): Effect.Effect<
|
|
929
|
+
DeleteScheduledQueryCommandOutput,
|
|
930
|
+
| Cause.TimeoutException
|
|
931
|
+
| SdkError
|
|
932
|
+
| AccessDeniedError
|
|
933
|
+
| InternalServerError
|
|
934
|
+
| ResourceNotFoundError
|
|
935
|
+
| ThrottlingError
|
|
936
|
+
| ValidationError
|
|
937
|
+
>;
|
|
938
|
+
|
|
783
939
|
/**
|
|
784
940
|
* @see {@link DeleteSubscriptionFilterCommand}
|
|
785
941
|
*/
|
|
@@ -932,6 +1088,40 @@ interface CloudWatchLogsService$ {
|
|
|
932
1088
|
| ServiceUnavailableError
|
|
933
1089
|
>;
|
|
934
1090
|
|
|
1091
|
+
/**
|
|
1092
|
+
* @see {@link DescribeImportTaskBatchesCommand}
|
|
1093
|
+
*/
|
|
1094
|
+
describeImportTaskBatches(
|
|
1095
|
+
args: DescribeImportTaskBatchesCommandInput,
|
|
1096
|
+
options?: HttpHandlerOptions,
|
|
1097
|
+
): Effect.Effect<
|
|
1098
|
+
DescribeImportTaskBatchesCommandOutput,
|
|
1099
|
+
| Cause.TimeoutException
|
|
1100
|
+
| SdkError
|
|
1101
|
+
| AccessDeniedError
|
|
1102
|
+
| InvalidOperationError
|
|
1103
|
+
| InvalidParameterError
|
|
1104
|
+
| ResourceNotFoundError
|
|
1105
|
+
| ThrottlingError
|
|
1106
|
+
>;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* @see {@link DescribeImportTasksCommand}
|
|
1110
|
+
*/
|
|
1111
|
+
describeImportTasks(
|
|
1112
|
+
args: DescribeImportTasksCommandInput,
|
|
1113
|
+
options?: HttpHandlerOptions,
|
|
1114
|
+
): Effect.Effect<
|
|
1115
|
+
DescribeImportTasksCommandOutput,
|
|
1116
|
+
| Cause.TimeoutException
|
|
1117
|
+
| SdkError
|
|
1118
|
+
| AccessDeniedError
|
|
1119
|
+
| InvalidOperationError
|
|
1120
|
+
| InvalidParameterError
|
|
1121
|
+
| ResourceNotFoundError
|
|
1122
|
+
| ThrottlingError
|
|
1123
|
+
>;
|
|
1124
|
+
|
|
935
1125
|
/**
|
|
936
1126
|
* @see {@link DescribeIndexPoliciesCommand}
|
|
937
1127
|
*/
|
|
@@ -1042,6 +1232,23 @@ interface CloudWatchLogsService$ {
|
|
|
1042
1232
|
| ServiceUnavailableError
|
|
1043
1233
|
>;
|
|
1044
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* @see {@link DisassociateSourceFromS3TableIntegrationCommand}
|
|
1237
|
+
*/
|
|
1238
|
+
disassociateSourceFromS3TableIntegration(
|
|
1239
|
+
args: DisassociateSourceFromS3TableIntegrationCommandInput,
|
|
1240
|
+
options?: HttpHandlerOptions,
|
|
1241
|
+
): Effect.Effect<
|
|
1242
|
+
DisassociateSourceFromS3TableIntegrationCommandOutput,
|
|
1243
|
+
| Cause.TimeoutException
|
|
1244
|
+
| SdkError
|
|
1245
|
+
| AccessDeniedError
|
|
1246
|
+
| InternalServerError
|
|
1247
|
+
| ResourceNotFoundError
|
|
1248
|
+
| ThrottlingError
|
|
1249
|
+
| ValidationError
|
|
1250
|
+
>;
|
|
1251
|
+
|
|
1045
1252
|
/**
|
|
1046
1253
|
* @see {@link FilterLogEventsCommand}
|
|
1047
1254
|
*/
|
|
@@ -1169,6 +1376,22 @@ interface CloudWatchLogsService$ {
|
|
|
1169
1376
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1170
1377
|
>;
|
|
1171
1378
|
|
|
1379
|
+
/**
|
|
1380
|
+
* @see {@link GetLogFieldsCommand}
|
|
1381
|
+
*/
|
|
1382
|
+
getLogFields(
|
|
1383
|
+
args: GetLogFieldsCommandInput,
|
|
1384
|
+
options?: HttpHandlerOptions,
|
|
1385
|
+
): Effect.Effect<
|
|
1386
|
+
GetLogFieldsCommandOutput,
|
|
1387
|
+
| Cause.TimeoutException
|
|
1388
|
+
| SdkError
|
|
1389
|
+
| InvalidParameterError
|
|
1390
|
+
| OperationAbortedError
|
|
1391
|
+
| ResourceNotFoundError
|
|
1392
|
+
| ServiceUnavailableError
|
|
1393
|
+
>;
|
|
1394
|
+
|
|
1172
1395
|
/**
|
|
1173
1396
|
* @see {@link GetLogGroupFieldsCommand}
|
|
1174
1397
|
*/
|
|
@@ -1229,6 +1452,40 @@ interface CloudWatchLogsService$ {
|
|
|
1229
1452
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1230
1453
|
>;
|
|
1231
1454
|
|
|
1455
|
+
/**
|
|
1456
|
+
* @see {@link GetScheduledQueryCommand}
|
|
1457
|
+
*/
|
|
1458
|
+
getScheduledQuery(
|
|
1459
|
+
args: GetScheduledQueryCommandInput,
|
|
1460
|
+
options?: HttpHandlerOptions,
|
|
1461
|
+
): Effect.Effect<
|
|
1462
|
+
GetScheduledQueryCommandOutput,
|
|
1463
|
+
| Cause.TimeoutException
|
|
1464
|
+
| SdkError
|
|
1465
|
+
| AccessDeniedError
|
|
1466
|
+
| InternalServerError
|
|
1467
|
+
| ResourceNotFoundError
|
|
1468
|
+
| ThrottlingError
|
|
1469
|
+
| ValidationError
|
|
1470
|
+
>;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @see {@link GetScheduledQueryHistoryCommand}
|
|
1474
|
+
*/
|
|
1475
|
+
getScheduledQueryHistory(
|
|
1476
|
+
args: GetScheduledQueryHistoryCommandInput,
|
|
1477
|
+
options?: HttpHandlerOptions,
|
|
1478
|
+
): Effect.Effect<
|
|
1479
|
+
GetScheduledQueryHistoryCommandOutput,
|
|
1480
|
+
| Cause.TimeoutException
|
|
1481
|
+
| SdkError
|
|
1482
|
+
| AccessDeniedError
|
|
1483
|
+
| InternalServerError
|
|
1484
|
+
| ResourceNotFoundError
|
|
1485
|
+
| ThrottlingError
|
|
1486
|
+
| ValidationError
|
|
1487
|
+
>;
|
|
1488
|
+
|
|
1232
1489
|
/**
|
|
1233
1490
|
* @see {@link GetTransformerCommand}
|
|
1234
1491
|
*/
|
|
@@ -1245,6 +1502,17 @@ interface CloudWatchLogsService$ {
|
|
|
1245
1502
|
| ServiceUnavailableError
|
|
1246
1503
|
>;
|
|
1247
1504
|
|
|
1505
|
+
/**
|
|
1506
|
+
* @see {@link ListAggregateLogGroupSummariesCommand}
|
|
1507
|
+
*/
|
|
1508
|
+
listAggregateLogGroupSummaries(
|
|
1509
|
+
args: ListAggregateLogGroupSummariesCommandInput,
|
|
1510
|
+
options?: HttpHandlerOptions,
|
|
1511
|
+
): Effect.Effect<
|
|
1512
|
+
ListAggregateLogGroupSummariesCommandOutput,
|
|
1513
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError | ValidationError
|
|
1514
|
+
>;
|
|
1515
|
+
|
|
1248
1516
|
/**
|
|
1249
1517
|
* @see {@link ListAnomaliesCommand}
|
|
1250
1518
|
*/
|
|
@@ -1315,6 +1583,34 @@ interface CloudWatchLogsService$ {
|
|
|
1315
1583
|
| ServiceUnavailableError
|
|
1316
1584
|
>;
|
|
1317
1585
|
|
|
1586
|
+
/**
|
|
1587
|
+
* @see {@link ListScheduledQueriesCommand}
|
|
1588
|
+
*/
|
|
1589
|
+
listScheduledQueries(
|
|
1590
|
+
args: ListScheduledQueriesCommandInput,
|
|
1591
|
+
options?: HttpHandlerOptions,
|
|
1592
|
+
): Effect.Effect<
|
|
1593
|
+
ListScheduledQueriesCommandOutput,
|
|
1594
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1595
|
+
>;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @see {@link ListSourcesForS3TableIntegrationCommand}
|
|
1599
|
+
*/
|
|
1600
|
+
listSourcesForS3TableIntegration(
|
|
1601
|
+
args: ListSourcesForS3TableIntegrationCommandInput,
|
|
1602
|
+
options?: HttpHandlerOptions,
|
|
1603
|
+
): Effect.Effect<
|
|
1604
|
+
ListSourcesForS3TableIntegrationCommandOutput,
|
|
1605
|
+
| Cause.TimeoutException
|
|
1606
|
+
| SdkError
|
|
1607
|
+
| AccessDeniedError
|
|
1608
|
+
| InternalServerError
|
|
1609
|
+
| ResourceNotFoundError
|
|
1610
|
+
| ThrottlingError
|
|
1611
|
+
| ValidationError
|
|
1612
|
+
>;
|
|
1613
|
+
|
|
1318
1614
|
/**
|
|
1319
1615
|
* @see {@link ListTagsForResourceCommand}
|
|
1320
1616
|
*/
|
|
@@ -1495,6 +1791,24 @@ interface CloudWatchLogsService$ {
|
|
|
1495
1791
|
| UnrecognizedClientError
|
|
1496
1792
|
>;
|
|
1497
1793
|
|
|
1794
|
+
/**
|
|
1795
|
+
* @see {@link PutLogGroupDeletionProtectionCommand}
|
|
1796
|
+
*/
|
|
1797
|
+
putLogGroupDeletionProtection(
|
|
1798
|
+
args: PutLogGroupDeletionProtectionCommandInput,
|
|
1799
|
+
options?: HttpHandlerOptions,
|
|
1800
|
+
): Effect.Effect<
|
|
1801
|
+
PutLogGroupDeletionProtectionCommandOutput,
|
|
1802
|
+
| Cause.TimeoutException
|
|
1803
|
+
| SdkError
|
|
1804
|
+
| AccessDeniedError
|
|
1805
|
+
| InvalidOperationError
|
|
1806
|
+
| InvalidParameterError
|
|
1807
|
+
| OperationAbortedError
|
|
1808
|
+
| ResourceNotFoundError
|
|
1809
|
+
| ServiceUnavailableError
|
|
1810
|
+
>;
|
|
1811
|
+
|
|
1498
1812
|
/**
|
|
1499
1813
|
* @see {@link PutMetricFilterCommand}
|
|
1500
1814
|
*/
|
|
@@ -1763,6 +2077,23 @@ interface CloudWatchLogsService$ {
|
|
|
1763
2077
|
| ResourceNotFoundError
|
|
1764
2078
|
| ServiceUnavailableError
|
|
1765
2079
|
>;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* @see {@link UpdateScheduledQueryCommand}
|
|
2083
|
+
*/
|
|
2084
|
+
updateScheduledQuery(
|
|
2085
|
+
args: UpdateScheduledQueryCommandInput,
|
|
2086
|
+
options?: HttpHandlerOptions,
|
|
2087
|
+
): Effect.Effect<
|
|
2088
|
+
UpdateScheduledQueryCommandOutput,
|
|
2089
|
+
| Cause.TimeoutException
|
|
2090
|
+
| SdkError
|
|
2091
|
+
| AccessDeniedError
|
|
2092
|
+
| InternalServerError
|
|
2093
|
+
| ResourceNotFoundError
|
|
2094
|
+
| ThrottlingError
|
|
2095
|
+
| ValidationError
|
|
2096
|
+
>;
|
|
1766
2097
|
}
|
|
1767
2098
|
|
|
1768
2099
|
/**
|
package/src/Errors.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type {
|
|
|
2
2
|
AccessDeniedException,
|
|
3
3
|
ConflictException,
|
|
4
4
|
DataAlreadyAcceptedException,
|
|
5
|
+
InternalServerException,
|
|
5
6
|
InternalStreamingException,
|
|
6
7
|
InvalidOperationException,
|
|
7
8
|
InvalidParameterException,
|
|
@@ -26,6 +27,7 @@ export const AllServiceErrors = [
|
|
|
26
27
|
"AccessDeniedException",
|
|
27
28
|
"ConflictException",
|
|
28
29
|
"DataAlreadyAcceptedException",
|
|
30
|
+
"InternalServerException",
|
|
29
31
|
"InternalStreamingException",
|
|
30
32
|
"InvalidOperationException",
|
|
31
33
|
"InvalidParameterException",
|
|
@@ -48,6 +50,7 @@ export const AllServiceErrors = [
|
|
|
48
50
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
49
51
|
export type ConflictError = TaggedException<ConflictException>;
|
|
50
52
|
export type DataAlreadyAcceptedError = TaggedException<DataAlreadyAcceptedException>;
|
|
53
|
+
export type InternalServerError = TaggedException<InternalServerException>;
|
|
51
54
|
export type InternalStreamingError = TaggedException<InternalStreamingException>;
|
|
52
55
|
export type InvalidOperationError = TaggedException<InvalidOperationException>;
|
|
53
56
|
export type InvalidParameterError = TaggedException<InvalidParameterException>;
|