@effect-aws/client-cloudwatch-logs 1.10.6 → 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 +52 -4
- package/dist/cjs/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsService.js +12 -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 +52 -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 +13 -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 +245 -0
- package/src/Errors.ts +3 -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,6 +169,9 @@ 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,
|
|
@@ -169,9 +184,18 @@ import {
|
|
|
169
184
|
GetQueryResultsCommand,
|
|
170
185
|
type GetQueryResultsCommandInput,
|
|
171
186
|
type GetQueryResultsCommandOutput,
|
|
187
|
+
GetScheduledQueryCommand,
|
|
188
|
+
type GetScheduledQueryCommandInput,
|
|
189
|
+
type GetScheduledQueryCommandOutput,
|
|
190
|
+
GetScheduledQueryHistoryCommand,
|
|
191
|
+
type GetScheduledQueryHistoryCommandInput,
|
|
192
|
+
type GetScheduledQueryHistoryCommandOutput,
|
|
172
193
|
GetTransformerCommand,
|
|
173
194
|
type GetTransformerCommandInput,
|
|
174
195
|
type GetTransformerCommandOutput,
|
|
196
|
+
ListAggregateLogGroupSummariesCommand,
|
|
197
|
+
type ListAggregateLogGroupSummariesCommandInput,
|
|
198
|
+
type ListAggregateLogGroupSummariesCommandOutput,
|
|
175
199
|
ListAnomaliesCommand,
|
|
176
200
|
type ListAnomaliesCommandInput,
|
|
177
201
|
type ListAnomaliesCommandOutput,
|
|
@@ -187,6 +211,12 @@ import {
|
|
|
187
211
|
ListLogGroupsForQueryCommand,
|
|
188
212
|
type ListLogGroupsForQueryCommandInput,
|
|
189
213
|
type ListLogGroupsForQueryCommandOutput,
|
|
214
|
+
ListScheduledQueriesCommand,
|
|
215
|
+
type ListScheduledQueriesCommandInput,
|
|
216
|
+
type ListScheduledQueriesCommandOutput,
|
|
217
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
218
|
+
type ListSourcesForS3TableIntegrationCommandInput,
|
|
219
|
+
type ListSourcesForS3TableIntegrationCommandOutput,
|
|
190
220
|
ListTagsForResourceCommand,
|
|
191
221
|
type ListTagsForResourceCommandInput,
|
|
192
222
|
type ListTagsForResourceCommandOutput,
|
|
@@ -223,6 +253,9 @@ import {
|
|
|
223
253
|
PutLogEventsCommand,
|
|
224
254
|
type PutLogEventsCommandInput,
|
|
225
255
|
type PutLogEventsCommandOutput,
|
|
256
|
+
PutLogGroupDeletionProtectionCommand,
|
|
257
|
+
type PutLogGroupDeletionProtectionCommandInput,
|
|
258
|
+
type PutLogGroupDeletionProtectionCommandOutput,
|
|
226
259
|
PutMetricFilterCommand,
|
|
227
260
|
type PutMetricFilterCommandInput,
|
|
228
261
|
type PutMetricFilterCommandOutput,
|
|
@@ -277,6 +310,9 @@ import {
|
|
|
277
310
|
UpdateLogAnomalyDetectorCommand,
|
|
278
311
|
type UpdateLogAnomalyDetectorCommandInput,
|
|
279
312
|
type UpdateLogAnomalyDetectorCommandOutput,
|
|
313
|
+
UpdateScheduledQueryCommand,
|
|
314
|
+
type UpdateScheduledQueryCommandInput,
|
|
315
|
+
type UpdateScheduledQueryCommandOutput,
|
|
280
316
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
281
317
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
282
318
|
import { Service } from "@effect-aws/commons";
|
|
@@ -288,6 +324,7 @@ import type {
|
|
|
288
324
|
AccessDeniedError,
|
|
289
325
|
ConflictError,
|
|
290
326
|
DataAlreadyAcceptedError,
|
|
327
|
+
InternalServerError,
|
|
291
328
|
InvalidOperationError,
|
|
292
329
|
InvalidParameterError,
|
|
293
330
|
InvalidSequenceTokenError,
|
|
@@ -308,12 +345,14 @@ import { AllServiceErrors } from "./Errors.js";
|
|
|
308
345
|
|
|
309
346
|
const commands = {
|
|
310
347
|
AssociateKmsKeyCommand,
|
|
348
|
+
AssociateSourceToS3TableIntegrationCommand,
|
|
311
349
|
CancelExportTaskCommand,
|
|
312
350
|
CreateDeliveryCommand,
|
|
313
351
|
CreateExportTaskCommand,
|
|
314
352
|
CreateLogAnomalyDetectorCommand,
|
|
315
353
|
CreateLogGroupCommand,
|
|
316
354
|
CreateLogStreamCommand,
|
|
355
|
+
CreateScheduledQueryCommand,
|
|
317
356
|
DeleteAccountPolicyCommand,
|
|
318
357
|
DeleteDataProtectionPolicyCommand,
|
|
319
358
|
DeleteDeliveryCommand,
|
|
@@ -330,6 +369,7 @@ const commands = {
|
|
|
330
369
|
DeleteQueryDefinitionCommand,
|
|
331
370
|
DeleteResourcePolicyCommand,
|
|
332
371
|
DeleteRetentionPolicyCommand,
|
|
372
|
+
DeleteScheduledQueryCommand,
|
|
333
373
|
DeleteSubscriptionFilterCommand,
|
|
334
374
|
DeleteTransformerCommand,
|
|
335
375
|
DescribeAccountPoliciesCommand,
|
|
@@ -349,6 +389,7 @@ const commands = {
|
|
|
349
389
|
DescribeResourcePoliciesCommand,
|
|
350
390
|
DescribeSubscriptionFiltersCommand,
|
|
351
391
|
DisassociateKmsKeyCommand,
|
|
392
|
+
DisassociateSourceFromS3TableIntegrationCommand,
|
|
352
393
|
FilterLogEventsCommand,
|
|
353
394
|
GetDataProtectionPolicyCommand,
|
|
354
395
|
GetDeliveryCommand,
|
|
@@ -358,16 +399,22 @@ const commands = {
|
|
|
358
399
|
GetIntegrationCommand,
|
|
359
400
|
GetLogAnomalyDetectorCommand,
|
|
360
401
|
GetLogEventsCommand,
|
|
402
|
+
GetLogFieldsCommand,
|
|
361
403
|
GetLogGroupFieldsCommand,
|
|
362
404
|
GetLogObjectCommand,
|
|
363
405
|
GetLogRecordCommand,
|
|
364
406
|
GetQueryResultsCommand,
|
|
407
|
+
GetScheduledQueryCommand,
|
|
408
|
+
GetScheduledQueryHistoryCommand,
|
|
365
409
|
GetTransformerCommand,
|
|
410
|
+
ListAggregateLogGroupSummariesCommand,
|
|
366
411
|
ListAnomaliesCommand,
|
|
367
412
|
ListIntegrationsCommand,
|
|
368
413
|
ListLogAnomalyDetectorsCommand,
|
|
369
414
|
ListLogGroupsCommand,
|
|
370
415
|
ListLogGroupsForQueryCommand,
|
|
416
|
+
ListScheduledQueriesCommand,
|
|
417
|
+
ListSourcesForS3TableIntegrationCommand,
|
|
371
418
|
ListTagsForResourceCommand,
|
|
372
419
|
ListTagsLogGroupCommand,
|
|
373
420
|
PutAccountPolicyCommand,
|
|
@@ -380,6 +427,7 @@ const commands = {
|
|
|
380
427
|
PutIndexPolicyCommand,
|
|
381
428
|
PutIntegrationCommand,
|
|
382
429
|
PutLogEventsCommand,
|
|
430
|
+
PutLogGroupDeletionProtectionCommand,
|
|
383
431
|
PutMetricFilterCommand,
|
|
384
432
|
PutQueryDefinitionCommand,
|
|
385
433
|
PutResourcePolicyCommand,
|
|
@@ -398,6 +446,7 @@ const commands = {
|
|
|
398
446
|
UpdateAnomalyCommand,
|
|
399
447
|
UpdateDeliveryConfigurationCommand,
|
|
400
448
|
UpdateLogAnomalyDetectorCommand,
|
|
449
|
+
UpdateScheduledQueryCommand,
|
|
401
450
|
};
|
|
402
451
|
|
|
403
452
|
interface CloudWatchLogsService$ {
|
|
@@ -419,6 +468,23 @@ interface CloudWatchLogsService$ {
|
|
|
419
468
|
| ServiceUnavailableError
|
|
420
469
|
>;
|
|
421
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
|
+
|
|
422
488
|
/**
|
|
423
489
|
* @see {@link CancelExportTaskCommand}
|
|
424
490
|
*/
|
|
@@ -522,6 +588,25 @@ interface CloudWatchLogsService$ {
|
|
|
522
588
|
| ServiceUnavailableError
|
|
523
589
|
>;
|
|
524
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
|
+
|
|
525
610
|
/**
|
|
526
611
|
* @see {@link DeleteAccountPolicyCommand}
|
|
527
612
|
*/
|
|
@@ -703,6 +788,7 @@ interface CloudWatchLogsService$ {
|
|
|
703
788
|
| OperationAbortedError
|
|
704
789
|
| ResourceNotFoundError
|
|
705
790
|
| ServiceUnavailableError
|
|
791
|
+
| ValidationError
|
|
706
792
|
>;
|
|
707
793
|
|
|
708
794
|
/**
|
|
@@ -719,6 +805,7 @@ interface CloudWatchLogsService$ {
|
|
|
719
805
|
| OperationAbortedError
|
|
720
806
|
| ResourceNotFoundError
|
|
721
807
|
| ServiceUnavailableError
|
|
808
|
+
| ValidationError
|
|
722
809
|
>;
|
|
723
810
|
|
|
724
811
|
/**
|
|
@@ -780,6 +867,23 @@ interface CloudWatchLogsService$ {
|
|
|
780
867
|
| ServiceUnavailableError
|
|
781
868
|
>;
|
|
782
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
|
+
|
|
783
887
|
/**
|
|
784
888
|
* @see {@link DeleteSubscriptionFilterCommand}
|
|
785
889
|
*/
|
|
@@ -1042,6 +1146,23 @@ interface CloudWatchLogsService$ {
|
|
|
1042
1146
|
| ServiceUnavailableError
|
|
1043
1147
|
>;
|
|
1044
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
|
+
|
|
1045
1166
|
/**
|
|
1046
1167
|
* @see {@link FilterLogEventsCommand}
|
|
1047
1168
|
*/
|
|
@@ -1169,6 +1290,22 @@ interface CloudWatchLogsService$ {
|
|
|
1169
1290
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1170
1291
|
>;
|
|
1171
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
|
+
|
|
1172
1309
|
/**
|
|
1173
1310
|
* @see {@link GetLogGroupFieldsCommand}
|
|
1174
1311
|
*/
|
|
@@ -1229,6 +1366,40 @@ interface CloudWatchLogsService$ {
|
|
|
1229
1366
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1230
1367
|
>;
|
|
1231
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
|
+
|
|
1232
1403
|
/**
|
|
1233
1404
|
* @see {@link GetTransformerCommand}
|
|
1234
1405
|
*/
|
|
@@ -1245,6 +1416,17 @@ interface CloudWatchLogsService$ {
|
|
|
1245
1416
|
| ServiceUnavailableError
|
|
1246
1417
|
>;
|
|
1247
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
|
+
|
|
1248
1430
|
/**
|
|
1249
1431
|
* @see {@link ListAnomaliesCommand}
|
|
1250
1432
|
*/
|
|
@@ -1315,6 +1497,34 @@ interface CloudWatchLogsService$ {
|
|
|
1315
1497
|
| ServiceUnavailableError
|
|
1316
1498
|
>;
|
|
1317
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
|
+
|
|
1318
1528
|
/**
|
|
1319
1529
|
* @see {@link ListTagsForResourceCommand}
|
|
1320
1530
|
*/
|
|
@@ -1495,6 +1705,24 @@ interface CloudWatchLogsService$ {
|
|
|
1495
1705
|
| UnrecognizedClientError
|
|
1496
1706
|
>;
|
|
1497
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
|
+
|
|
1498
1726
|
/**
|
|
1499
1727
|
* @see {@link PutMetricFilterCommand}
|
|
1500
1728
|
*/
|
|
@@ -1763,6 +1991,23 @@ interface CloudWatchLogsService$ {
|
|
|
1763
1991
|
| ResourceNotFoundError
|
|
1764
1992
|
| ServiceUnavailableError
|
|
1765
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
|
+
>;
|
|
1766
2011
|
}
|
|
1767
2012
|
|
|
1768
2013
|
/**
|
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>;
|