@effect-aws/client-cloudwatch-logs 1.10.3 → 1.10.7
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 +62 -6
- package/dist/cjs/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsService.js +14 -0
- package/dist/cjs/CloudWatchLogsService.js.map +1 -1
- package/dist/cjs/Errors.d.ts +4 -2
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +2 -0
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/dts/CloudWatchLogsService.d.ts +62 -6
- package/dist/dts/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +4 -2
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/CloudWatchLogsService.js +15 -1
- package/dist/esm/CloudWatchLogsService.js.map +1 -1
- package/dist/esm/Errors.js +2 -0
- package/dist/esm/Errors.js.map +1 -1
- package/package.json +1 -1
- package/src/CloudWatchLogsService.ts +294 -2
- package/src/Errors.ts +6 -0
|
@@ -5,6 +5,9 @@ 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,
|
|
@@ -25,6 +28,9 @@ import {
|
|
|
25
28
|
CreateLogStreamCommand,
|
|
26
29
|
type CreateLogStreamCommandInput,
|
|
27
30
|
type CreateLogStreamCommandOutput,
|
|
31
|
+
CreateScheduledQueryCommand,
|
|
32
|
+
type CreateScheduledQueryCommandInput,
|
|
33
|
+
type CreateScheduledQueryCommandOutput,
|
|
28
34
|
DeleteAccountPolicyCommand,
|
|
29
35
|
type DeleteAccountPolicyCommandInput,
|
|
30
36
|
type DeleteAccountPolicyCommandOutput,
|
|
@@ -73,6 +79,9 @@ import {
|
|
|
73
79
|
DeleteRetentionPolicyCommand,
|
|
74
80
|
type DeleteRetentionPolicyCommandInput,
|
|
75
81
|
type DeleteRetentionPolicyCommandOutput,
|
|
82
|
+
DeleteScheduledQueryCommand,
|
|
83
|
+
type DeleteScheduledQueryCommandInput,
|
|
84
|
+
type DeleteScheduledQueryCommandOutput,
|
|
76
85
|
DeleteSubscriptionFilterCommand,
|
|
77
86
|
type DeleteSubscriptionFilterCommandInput,
|
|
78
87
|
type DeleteSubscriptionFilterCommandOutput,
|
|
@@ -130,6 +139,9 @@ import {
|
|
|
130
139
|
DisassociateKmsKeyCommand,
|
|
131
140
|
type DisassociateKmsKeyCommandInput,
|
|
132
141
|
type DisassociateKmsKeyCommandOutput,
|
|
142
|
+
DisassociateSourceFromS3TableIntegrationCommand,
|
|
143
|
+
type DisassociateSourceFromS3TableIntegrationCommandInput,
|
|
144
|
+
type DisassociateSourceFromS3TableIntegrationCommandOutput,
|
|
133
145
|
FilterLogEventsCommand,
|
|
134
146
|
type FilterLogEventsCommandInput,
|
|
135
147
|
type FilterLogEventsCommandOutput,
|
|
@@ -157,18 +169,33 @@ import {
|
|
|
157
169
|
GetLogEventsCommand,
|
|
158
170
|
type GetLogEventsCommandInput,
|
|
159
171
|
type GetLogEventsCommandOutput,
|
|
172
|
+
GetLogFieldsCommand,
|
|
173
|
+
type GetLogFieldsCommandInput,
|
|
174
|
+
type GetLogFieldsCommandOutput,
|
|
160
175
|
GetLogGroupFieldsCommand,
|
|
161
176
|
type GetLogGroupFieldsCommandInput,
|
|
162
177
|
type GetLogGroupFieldsCommandOutput,
|
|
178
|
+
GetLogObjectCommand,
|
|
179
|
+
type GetLogObjectCommandInput,
|
|
180
|
+
type GetLogObjectCommandOutput,
|
|
163
181
|
GetLogRecordCommand,
|
|
164
182
|
type GetLogRecordCommandInput,
|
|
165
183
|
type GetLogRecordCommandOutput,
|
|
166
184
|
GetQueryResultsCommand,
|
|
167
185
|
type GetQueryResultsCommandInput,
|
|
168
186
|
type GetQueryResultsCommandOutput,
|
|
187
|
+
GetScheduledQueryCommand,
|
|
188
|
+
type GetScheduledQueryCommandInput,
|
|
189
|
+
type GetScheduledQueryCommandOutput,
|
|
190
|
+
GetScheduledQueryHistoryCommand,
|
|
191
|
+
type GetScheduledQueryHistoryCommandInput,
|
|
192
|
+
type GetScheduledQueryHistoryCommandOutput,
|
|
169
193
|
GetTransformerCommand,
|
|
170
194
|
type GetTransformerCommandInput,
|
|
171
195
|
type GetTransformerCommandOutput,
|
|
196
|
+
ListAggregateLogGroupSummariesCommand,
|
|
197
|
+
type ListAggregateLogGroupSummariesCommandInput,
|
|
198
|
+
type ListAggregateLogGroupSummariesCommandOutput,
|
|
172
199
|
ListAnomaliesCommand,
|
|
173
200
|
type ListAnomaliesCommandInput,
|
|
174
201
|
type ListAnomaliesCommandOutput,
|
|
@@ -178,9 +205,18 @@ import {
|
|
|
178
205
|
ListLogAnomalyDetectorsCommand,
|
|
179
206
|
type ListLogAnomalyDetectorsCommandInput,
|
|
180
207
|
type ListLogAnomalyDetectorsCommandOutput,
|
|
208
|
+
ListLogGroupsCommand,
|
|
209
|
+
type ListLogGroupsCommandInput,
|
|
210
|
+
type ListLogGroupsCommandOutput,
|
|
181
211
|
ListLogGroupsForQueryCommand,
|
|
182
212
|
type ListLogGroupsForQueryCommandInput,
|
|
183
213
|
type ListLogGroupsForQueryCommandOutput,
|
|
214
|
+
ListScheduledQueriesCommand,
|
|
215
|
+
type ListScheduledQueriesCommandInput,
|
|
216
|
+
type ListScheduledQueriesCommandOutput,
|
|
217
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
218
|
+
type ListSourcesForS3TableIntegrationCommandInput,
|
|
219
|
+
type ListSourcesForS3TableIntegrationCommandOutput,
|
|
184
220
|
ListTagsForResourceCommand,
|
|
185
221
|
type ListTagsForResourceCommandInput,
|
|
186
222
|
type ListTagsForResourceCommandOutput,
|
|
@@ -217,6 +253,9 @@ import {
|
|
|
217
253
|
PutLogEventsCommand,
|
|
218
254
|
type PutLogEventsCommandInput,
|
|
219
255
|
type PutLogEventsCommandOutput,
|
|
256
|
+
PutLogGroupDeletionProtectionCommand,
|
|
257
|
+
type PutLogGroupDeletionProtectionCommandInput,
|
|
258
|
+
type PutLogGroupDeletionProtectionCommandOutput,
|
|
220
259
|
PutMetricFilterCommand,
|
|
221
260
|
type PutMetricFilterCommandInput,
|
|
222
261
|
type PutMetricFilterCommandOutput,
|
|
@@ -271,6 +310,9 @@ import {
|
|
|
271
310
|
UpdateLogAnomalyDetectorCommand,
|
|
272
311
|
type UpdateLogAnomalyDetectorCommandInput,
|
|
273
312
|
type UpdateLogAnomalyDetectorCommandOutput,
|
|
313
|
+
UpdateScheduledQueryCommand,
|
|
314
|
+
type UpdateScheduledQueryCommandInput,
|
|
315
|
+
type UpdateScheduledQueryCommandOutput,
|
|
274
316
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
275
317
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
276
318
|
import { Service } from "@effect-aws/commons";
|
|
@@ -282,6 +324,7 @@ import type {
|
|
|
282
324
|
AccessDeniedError,
|
|
283
325
|
ConflictError,
|
|
284
326
|
DataAlreadyAcceptedError,
|
|
327
|
+
InternalServerError,
|
|
285
328
|
InvalidOperationError,
|
|
286
329
|
InvalidParameterError,
|
|
287
330
|
InvalidSequenceTokenError,
|
|
@@ -302,12 +345,14 @@ import { AllServiceErrors } from "./Errors.js";
|
|
|
302
345
|
|
|
303
346
|
const commands = {
|
|
304
347
|
AssociateKmsKeyCommand,
|
|
348
|
+
AssociateSourceToS3TableIntegrationCommand,
|
|
305
349
|
CancelExportTaskCommand,
|
|
306
350
|
CreateDeliveryCommand,
|
|
307
351
|
CreateExportTaskCommand,
|
|
308
352
|
CreateLogAnomalyDetectorCommand,
|
|
309
353
|
CreateLogGroupCommand,
|
|
310
354
|
CreateLogStreamCommand,
|
|
355
|
+
CreateScheduledQueryCommand,
|
|
311
356
|
DeleteAccountPolicyCommand,
|
|
312
357
|
DeleteDataProtectionPolicyCommand,
|
|
313
358
|
DeleteDeliveryCommand,
|
|
@@ -324,6 +369,7 @@ const commands = {
|
|
|
324
369
|
DeleteQueryDefinitionCommand,
|
|
325
370
|
DeleteResourcePolicyCommand,
|
|
326
371
|
DeleteRetentionPolicyCommand,
|
|
372
|
+
DeleteScheduledQueryCommand,
|
|
327
373
|
DeleteSubscriptionFilterCommand,
|
|
328
374
|
DeleteTransformerCommand,
|
|
329
375
|
DescribeAccountPoliciesCommand,
|
|
@@ -343,6 +389,7 @@ const commands = {
|
|
|
343
389
|
DescribeResourcePoliciesCommand,
|
|
344
390
|
DescribeSubscriptionFiltersCommand,
|
|
345
391
|
DisassociateKmsKeyCommand,
|
|
392
|
+
DisassociateSourceFromS3TableIntegrationCommand,
|
|
346
393
|
FilterLogEventsCommand,
|
|
347
394
|
GetDataProtectionPolicyCommand,
|
|
348
395
|
GetDeliveryCommand,
|
|
@@ -352,14 +399,22 @@ const commands = {
|
|
|
352
399
|
GetIntegrationCommand,
|
|
353
400
|
GetLogAnomalyDetectorCommand,
|
|
354
401
|
GetLogEventsCommand,
|
|
402
|
+
GetLogFieldsCommand,
|
|
355
403
|
GetLogGroupFieldsCommand,
|
|
404
|
+
GetLogObjectCommand,
|
|
356
405
|
GetLogRecordCommand,
|
|
357
406
|
GetQueryResultsCommand,
|
|
407
|
+
GetScheduledQueryCommand,
|
|
408
|
+
GetScheduledQueryHistoryCommand,
|
|
358
409
|
GetTransformerCommand,
|
|
410
|
+
ListAggregateLogGroupSummariesCommand,
|
|
359
411
|
ListAnomaliesCommand,
|
|
360
412
|
ListIntegrationsCommand,
|
|
361
413
|
ListLogAnomalyDetectorsCommand,
|
|
414
|
+
ListLogGroupsCommand,
|
|
362
415
|
ListLogGroupsForQueryCommand,
|
|
416
|
+
ListScheduledQueriesCommand,
|
|
417
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
363
418
|
ListTagsForResourceCommand,
|
|
364
419
|
ListTagsLogGroupCommand,
|
|
365
420
|
PutAccountPolicyCommand,
|
|
@@ -372,6 +427,7 @@ const commands = {
|
|
|
372
427
|
PutIndexPolicyCommand,
|
|
373
428
|
PutIntegrationCommand,
|
|
374
429
|
PutLogEventsCommand,
|
|
430
|
+
PutLogGroupDeletionProtectionCommand,
|
|
375
431
|
PutMetricFilterCommand,
|
|
376
432
|
PutQueryDefinitionCommand,
|
|
377
433
|
PutResourcePolicyCommand,
|
|
@@ -390,6 +446,7 @@ const commands = {
|
|
|
390
446
|
UpdateAnomalyCommand,
|
|
391
447
|
UpdateDeliveryConfigurationCommand,
|
|
392
448
|
UpdateLogAnomalyDetectorCommand,
|
|
449
|
+
UpdateScheduledQueryCommand,
|
|
393
450
|
};
|
|
394
451
|
|
|
395
452
|
interface CloudWatchLogsService$ {
|
|
@@ -411,6 +468,23 @@ interface CloudWatchLogsService$ {
|
|
|
411
468
|
| ServiceUnavailableError
|
|
412
469
|
>;
|
|
413
470
|
|
|
471
|
+
/**
|
|
472
|
+
* @see {@link AssociateSourceToS3TableIntegrationCommand}
|
|
473
|
+
*/
|
|
474
|
+
associateSourceToS3TableIntegration(
|
|
475
|
+
args: AssociateSourceToS3TableIntegrationCommandInput,
|
|
476
|
+
options?: HttpHandlerOptions,
|
|
477
|
+
): Effect.Effect<
|
|
478
|
+
AssociateSourceToS3TableIntegrationCommandOutput,
|
|
479
|
+
| Cause.TimeoutException
|
|
480
|
+
| SdkError
|
|
481
|
+
| AccessDeniedError
|
|
482
|
+
| InternalServerError
|
|
483
|
+
| ResourceNotFoundError
|
|
484
|
+
| ThrottlingError
|
|
485
|
+
| ValidationError
|
|
486
|
+
>;
|
|
487
|
+
|
|
414
488
|
/**
|
|
415
489
|
* @see {@link CancelExportTaskCommand}
|
|
416
490
|
*/
|
|
@@ -514,6 +588,25 @@ interface CloudWatchLogsService$ {
|
|
|
514
588
|
| ServiceUnavailableError
|
|
515
589
|
>;
|
|
516
590
|
|
|
591
|
+
/**
|
|
592
|
+
* @see {@link CreateScheduledQueryCommand}
|
|
593
|
+
*/
|
|
594
|
+
createScheduledQuery(
|
|
595
|
+
args: CreateScheduledQueryCommandInput,
|
|
596
|
+
options?: HttpHandlerOptions,
|
|
597
|
+
): Effect.Effect<
|
|
598
|
+
CreateScheduledQueryCommandOutput,
|
|
599
|
+
| Cause.TimeoutException
|
|
600
|
+
| SdkError
|
|
601
|
+
| AccessDeniedError
|
|
602
|
+
| ConflictError
|
|
603
|
+
| InternalServerError
|
|
604
|
+
| ResourceNotFoundError
|
|
605
|
+
| ServiceQuotaExceededError
|
|
606
|
+
| ThrottlingError
|
|
607
|
+
| ValidationError
|
|
608
|
+
>;
|
|
609
|
+
|
|
517
610
|
/**
|
|
518
611
|
* @see {@link DeleteAccountPolicyCommand}
|
|
519
612
|
*/
|
|
@@ -695,6 +788,7 @@ interface CloudWatchLogsService$ {
|
|
|
695
788
|
| OperationAbortedError
|
|
696
789
|
| ResourceNotFoundError
|
|
697
790
|
| ServiceUnavailableError
|
|
791
|
+
| ValidationError
|
|
698
792
|
>;
|
|
699
793
|
|
|
700
794
|
/**
|
|
@@ -711,6 +805,7 @@ interface CloudWatchLogsService$ {
|
|
|
711
805
|
| OperationAbortedError
|
|
712
806
|
| ResourceNotFoundError
|
|
713
807
|
| ServiceUnavailableError
|
|
808
|
+
| ValidationError
|
|
714
809
|
>;
|
|
715
810
|
|
|
716
811
|
/**
|
|
@@ -748,7 +843,12 @@ interface CloudWatchLogsService$ {
|
|
|
748
843
|
options?: HttpHandlerOptions,
|
|
749
844
|
): Effect.Effect<
|
|
750
845
|
DeleteResourcePolicyCommandOutput,
|
|
751
|
-
Cause.TimeoutException
|
|
846
|
+
| Cause.TimeoutException
|
|
847
|
+
| SdkError
|
|
848
|
+
| InvalidParameterError
|
|
849
|
+
| OperationAbortedError
|
|
850
|
+
| ResourceNotFoundError
|
|
851
|
+
| ServiceUnavailableError
|
|
752
852
|
>;
|
|
753
853
|
|
|
754
854
|
/**
|
|
@@ -767,6 +867,23 @@ interface CloudWatchLogsService$ {
|
|
|
767
867
|
| ServiceUnavailableError
|
|
768
868
|
>;
|
|
769
869
|
|
|
870
|
+
/**
|
|
871
|
+
* @see {@link DeleteScheduledQueryCommand}
|
|
872
|
+
*/
|
|
873
|
+
deleteScheduledQuery(
|
|
874
|
+
args: DeleteScheduledQueryCommandInput,
|
|
875
|
+
options?: HttpHandlerOptions,
|
|
876
|
+
): Effect.Effect<
|
|
877
|
+
DeleteScheduledQueryCommandOutput,
|
|
878
|
+
| Cause.TimeoutException
|
|
879
|
+
| SdkError
|
|
880
|
+
| AccessDeniedError
|
|
881
|
+
| InternalServerError
|
|
882
|
+
| ResourceNotFoundError
|
|
883
|
+
| ThrottlingError
|
|
884
|
+
| ValidationError
|
|
885
|
+
>;
|
|
886
|
+
|
|
770
887
|
/**
|
|
771
888
|
* @see {@link DeleteSubscriptionFilterCommand}
|
|
772
889
|
*/
|
|
@@ -1029,6 +1146,23 @@ interface CloudWatchLogsService$ {
|
|
|
1029
1146
|
| ServiceUnavailableError
|
|
1030
1147
|
>;
|
|
1031
1148
|
|
|
1149
|
+
/**
|
|
1150
|
+
* @see {@link DisassociateSourceFromS3TableIntegrationCommand}
|
|
1151
|
+
*/
|
|
1152
|
+
disassociateSourceFromS3TableIntegration(
|
|
1153
|
+
args: DisassociateSourceFromS3TableIntegrationCommandInput,
|
|
1154
|
+
options?: HttpHandlerOptions,
|
|
1155
|
+
): Effect.Effect<
|
|
1156
|
+
DisassociateSourceFromS3TableIntegrationCommandOutput,
|
|
1157
|
+
| Cause.TimeoutException
|
|
1158
|
+
| SdkError
|
|
1159
|
+
| AccessDeniedError
|
|
1160
|
+
| InternalServerError
|
|
1161
|
+
| ResourceNotFoundError
|
|
1162
|
+
| ThrottlingError
|
|
1163
|
+
| ValidationError
|
|
1164
|
+
>;
|
|
1165
|
+
|
|
1032
1166
|
/**
|
|
1033
1167
|
* @see {@link FilterLogEventsCommand}
|
|
1034
1168
|
*/
|
|
@@ -1156,6 +1290,22 @@ interface CloudWatchLogsService$ {
|
|
|
1156
1290
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1157
1291
|
>;
|
|
1158
1292
|
|
|
1293
|
+
/**
|
|
1294
|
+
* @see {@link GetLogFieldsCommand}
|
|
1295
|
+
*/
|
|
1296
|
+
getLogFields(
|
|
1297
|
+
args: GetLogFieldsCommandInput,
|
|
1298
|
+
options?: HttpHandlerOptions,
|
|
1299
|
+
): Effect.Effect<
|
|
1300
|
+
GetLogFieldsCommandOutput,
|
|
1301
|
+
| Cause.TimeoutException
|
|
1302
|
+
| SdkError
|
|
1303
|
+
| InvalidParameterError
|
|
1304
|
+
| OperationAbortedError
|
|
1305
|
+
| ResourceNotFoundError
|
|
1306
|
+
| ServiceUnavailableError
|
|
1307
|
+
>;
|
|
1308
|
+
|
|
1159
1309
|
/**
|
|
1160
1310
|
* @see {@link GetLogGroupFieldsCommand}
|
|
1161
1311
|
*/
|
|
@@ -1172,6 +1322,23 @@ interface CloudWatchLogsService$ {
|
|
|
1172
1322
|
| ServiceUnavailableError
|
|
1173
1323
|
>;
|
|
1174
1324
|
|
|
1325
|
+
/**
|
|
1326
|
+
* @see {@link GetLogObjectCommand}
|
|
1327
|
+
*/
|
|
1328
|
+
getLogObject(
|
|
1329
|
+
args: GetLogObjectCommandInput,
|
|
1330
|
+
options?: HttpHandlerOptions,
|
|
1331
|
+
): Effect.Effect<
|
|
1332
|
+
GetLogObjectCommandOutput,
|
|
1333
|
+
| Cause.TimeoutException
|
|
1334
|
+
| SdkError
|
|
1335
|
+
| AccessDeniedError
|
|
1336
|
+
| InvalidOperationError
|
|
1337
|
+
| InvalidParameterError
|
|
1338
|
+
| LimitExceededError
|
|
1339
|
+
| ResourceNotFoundError
|
|
1340
|
+
>;
|
|
1341
|
+
|
|
1175
1342
|
/**
|
|
1176
1343
|
* @see {@link GetLogRecordCommand}
|
|
1177
1344
|
*/
|
|
@@ -1199,6 +1366,40 @@ interface CloudWatchLogsService$ {
|
|
|
1199
1366
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1200
1367
|
>;
|
|
1201
1368
|
|
|
1369
|
+
/**
|
|
1370
|
+
* @see {@link GetScheduledQueryCommand}
|
|
1371
|
+
*/
|
|
1372
|
+
getScheduledQuery(
|
|
1373
|
+
args: GetScheduledQueryCommandInput,
|
|
1374
|
+
options?: HttpHandlerOptions,
|
|
1375
|
+
): Effect.Effect<
|
|
1376
|
+
GetScheduledQueryCommandOutput,
|
|
1377
|
+
| Cause.TimeoutException
|
|
1378
|
+
| SdkError
|
|
1379
|
+
| AccessDeniedError
|
|
1380
|
+
| InternalServerError
|
|
1381
|
+
| ResourceNotFoundError
|
|
1382
|
+
| ThrottlingError
|
|
1383
|
+
| ValidationError
|
|
1384
|
+
>;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* @see {@link GetScheduledQueryHistoryCommand}
|
|
1388
|
+
*/
|
|
1389
|
+
getScheduledQueryHistory(
|
|
1390
|
+
args: GetScheduledQueryHistoryCommandInput,
|
|
1391
|
+
options?: HttpHandlerOptions,
|
|
1392
|
+
): Effect.Effect<
|
|
1393
|
+
GetScheduledQueryHistoryCommandOutput,
|
|
1394
|
+
| Cause.TimeoutException
|
|
1395
|
+
| SdkError
|
|
1396
|
+
| AccessDeniedError
|
|
1397
|
+
| InternalServerError
|
|
1398
|
+
| ResourceNotFoundError
|
|
1399
|
+
| ThrottlingError
|
|
1400
|
+
| ValidationError
|
|
1401
|
+
>;
|
|
1402
|
+
|
|
1202
1403
|
/**
|
|
1203
1404
|
* @see {@link GetTransformerCommand}
|
|
1204
1405
|
*/
|
|
@@ -1215,6 +1416,17 @@ interface CloudWatchLogsService$ {
|
|
|
1215
1416
|
| ServiceUnavailableError
|
|
1216
1417
|
>;
|
|
1217
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* @see {@link ListAggregateLogGroupSummariesCommand}
|
|
1421
|
+
*/
|
|
1422
|
+
listAggregateLogGroupSummaries(
|
|
1423
|
+
args: ListAggregateLogGroupSummariesCommandInput,
|
|
1424
|
+
options?: HttpHandlerOptions,
|
|
1425
|
+
): Effect.Effect<
|
|
1426
|
+
ListAggregateLogGroupSummariesCommandOutput,
|
|
1427
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError | ValidationError
|
|
1428
|
+
>;
|
|
1429
|
+
|
|
1218
1430
|
/**
|
|
1219
1431
|
* @see {@link ListAnomaliesCommand}
|
|
1220
1432
|
*/
|
|
@@ -1258,6 +1470,17 @@ interface CloudWatchLogsService$ {
|
|
|
1258
1470
|
| ServiceUnavailableError
|
|
1259
1471
|
>;
|
|
1260
1472
|
|
|
1473
|
+
/**
|
|
1474
|
+
* @see {@link ListLogGroupsCommand}
|
|
1475
|
+
*/
|
|
1476
|
+
listLogGroups(
|
|
1477
|
+
args: ListLogGroupsCommandInput,
|
|
1478
|
+
options?: HttpHandlerOptions,
|
|
1479
|
+
): Effect.Effect<
|
|
1480
|
+
ListLogGroupsCommandOutput,
|
|
1481
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
|
|
1482
|
+
>;
|
|
1483
|
+
|
|
1261
1484
|
/**
|
|
1262
1485
|
* @see {@link ListLogGroupsForQueryCommand}
|
|
1263
1486
|
*/
|
|
@@ -1274,6 +1497,34 @@ interface CloudWatchLogsService$ {
|
|
|
1274
1497
|
| ServiceUnavailableError
|
|
1275
1498
|
>;
|
|
1276
1499
|
|
|
1500
|
+
/**
|
|
1501
|
+
* @see {@link ListScheduledQueriesCommand}
|
|
1502
|
+
*/
|
|
1503
|
+
listScheduledQueries(
|
|
1504
|
+
args: ListScheduledQueriesCommandInput,
|
|
1505
|
+
options?: HttpHandlerOptions,
|
|
1506
|
+
): Effect.Effect<
|
|
1507
|
+
ListScheduledQueriesCommandOutput,
|
|
1508
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1509
|
+
>;
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* @see {@link ListSourcesForS3TableIntegrationCommand}
|
|
1513
|
+
*/
|
|
1514
|
+
listSourcesForS3TableIntegration(
|
|
1515
|
+
args: ListSourcesForS3TableIntegrationCommandInput,
|
|
1516
|
+
options?: HttpHandlerOptions,
|
|
1517
|
+
): Effect.Effect<
|
|
1518
|
+
ListSourcesForS3TableIntegrationCommandOutput,
|
|
1519
|
+
| Cause.TimeoutException
|
|
1520
|
+
| SdkError
|
|
1521
|
+
| AccessDeniedError
|
|
1522
|
+
| InternalServerError
|
|
1523
|
+
| ResourceNotFoundError
|
|
1524
|
+
| ThrottlingError
|
|
1525
|
+
| ValidationError
|
|
1526
|
+
>;
|
|
1527
|
+
|
|
1277
1528
|
/**
|
|
1278
1529
|
* @see {@link ListTagsForResourceCommand}
|
|
1279
1530
|
*/
|
|
@@ -1454,6 +1705,24 @@ interface CloudWatchLogsService$ {
|
|
|
1454
1705
|
| UnrecognizedClientError
|
|
1455
1706
|
>;
|
|
1456
1707
|
|
|
1708
|
+
/**
|
|
1709
|
+
* @see {@link PutLogGroupDeletionProtectionCommand}
|
|
1710
|
+
*/
|
|
1711
|
+
putLogGroupDeletionProtection(
|
|
1712
|
+
args: PutLogGroupDeletionProtectionCommandInput,
|
|
1713
|
+
options?: HttpHandlerOptions,
|
|
1714
|
+
): Effect.Effect<
|
|
1715
|
+
PutLogGroupDeletionProtectionCommandOutput,
|
|
1716
|
+
| Cause.TimeoutException
|
|
1717
|
+
| SdkError
|
|
1718
|
+
| AccessDeniedError
|
|
1719
|
+
| InvalidOperationError
|
|
1720
|
+
| InvalidParameterError
|
|
1721
|
+
| OperationAbortedError
|
|
1722
|
+
| ResourceNotFoundError
|
|
1723
|
+
| ServiceUnavailableError
|
|
1724
|
+
>;
|
|
1725
|
+
|
|
1457
1726
|
/**
|
|
1458
1727
|
* @see {@link PutMetricFilterCommand}
|
|
1459
1728
|
*/
|
|
@@ -1496,7 +1765,13 @@ interface CloudWatchLogsService$ {
|
|
|
1496
1765
|
options?: HttpHandlerOptions,
|
|
1497
1766
|
): Effect.Effect<
|
|
1498
1767
|
PutResourcePolicyCommandOutput,
|
|
1499
|
-
Cause.TimeoutException
|
|
1768
|
+
| Cause.TimeoutException
|
|
1769
|
+
| SdkError
|
|
1770
|
+
| InvalidParameterError
|
|
1771
|
+
| LimitExceededError
|
|
1772
|
+
| OperationAbortedError
|
|
1773
|
+
| ResourceNotFoundError
|
|
1774
|
+
| ServiceUnavailableError
|
|
1500
1775
|
>;
|
|
1501
1776
|
|
|
1502
1777
|
/**
|
|
@@ -1716,6 +1991,23 @@ interface CloudWatchLogsService$ {
|
|
|
1716
1991
|
| ResourceNotFoundError
|
|
1717
1992
|
| ServiceUnavailableError
|
|
1718
1993
|
>;
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* @see {@link UpdateScheduledQueryCommand}
|
|
1997
|
+
*/
|
|
1998
|
+
updateScheduledQuery(
|
|
1999
|
+
args: UpdateScheduledQueryCommandInput,
|
|
2000
|
+
options?: HttpHandlerOptions,
|
|
2001
|
+
): Effect.Effect<
|
|
2002
|
+
UpdateScheduledQueryCommandOutput,
|
|
2003
|
+
| Cause.TimeoutException
|
|
2004
|
+
| SdkError
|
|
2005
|
+
| AccessDeniedError
|
|
2006
|
+
| InternalServerError
|
|
2007
|
+
| ResourceNotFoundError
|
|
2008
|
+
| ThrottlingError
|
|
2009
|
+
| ValidationError
|
|
2010
|
+
>;
|
|
1719
2011
|
}
|
|
1720
2012
|
|
|
1721
2013
|
/**
|
package/src/Errors.ts
CHANGED
|
@@ -2,6 +2,8 @@ import type {
|
|
|
2
2
|
AccessDeniedException,
|
|
3
3
|
ConflictException,
|
|
4
4
|
DataAlreadyAcceptedException,
|
|
5
|
+
InternalServerException,
|
|
6
|
+
InternalStreamingException,
|
|
5
7
|
InvalidOperationException,
|
|
6
8
|
InvalidParameterException,
|
|
7
9
|
InvalidSequenceTokenException,
|
|
@@ -25,6 +27,8 @@ export const AllServiceErrors = [
|
|
|
25
27
|
"AccessDeniedException",
|
|
26
28
|
"ConflictException",
|
|
27
29
|
"DataAlreadyAcceptedException",
|
|
30
|
+
"InternalServerException",
|
|
31
|
+
"InternalStreamingException",
|
|
28
32
|
"InvalidOperationException",
|
|
29
33
|
"InvalidParameterException",
|
|
30
34
|
"InvalidSequenceTokenException",
|
|
@@ -46,6 +50,8 @@ export const AllServiceErrors = [
|
|
|
46
50
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
47
51
|
export type ConflictError = TaggedException<ConflictException>;
|
|
48
52
|
export type DataAlreadyAcceptedError = TaggedException<DataAlreadyAcceptedException>;
|
|
53
|
+
export type InternalServerError = TaggedException<InternalServerException>;
|
|
54
|
+
export type InternalStreamingError = TaggedException<InternalStreamingException>;
|
|
49
55
|
export type InvalidOperationError = TaggedException<InvalidOperationException>;
|
|
50
56
|
export type InvalidParameterError = TaggedException<InvalidParameterException>;
|
|
51
57
|
export type InvalidSequenceTokenError = TaggedException<InvalidSequenceTokenException>;
|