@effect-aws/client-cloudwatch-logs 1.10.9 → 1.11.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.
- package/dist/cjs/CloudWatchLogsClientInstance.d.ts +3 -1
- package/dist/cjs/CloudWatchLogsClientInstance.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsClientInstance.js +6 -4
- package/dist/cjs/CloudWatchLogsClientInstance.js.map +1 -1
- package/dist/cjs/CloudWatchLogsService.d.ts +29 -4
- package/dist/cjs/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsService.js +31 -9
- package/dist/cjs/CloudWatchLogsService.js.map +1 -1
- package/dist/cjs/CloudWatchLogsServiceConfig.d.ts +2 -1
- package/dist/cjs/CloudWatchLogsServiceConfig.d.ts.map +1 -1
- package/dist/cjs/CloudWatchLogsServiceConfig.js +34 -9
- package/dist/cjs/CloudWatchLogsServiceConfig.js.map +1 -1
- package/dist/cjs/Errors.d.ts +1 -1
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/dts/CloudWatchLogsClientInstance.d.ts +3 -1
- package/dist/dts/CloudWatchLogsClientInstance.d.ts.map +1 -1
- package/dist/dts/CloudWatchLogsService.d.ts +29 -4
- package/dist/dts/CloudWatchLogsService.d.ts.map +1 -1
- package/dist/dts/CloudWatchLogsServiceConfig.d.ts +2 -1
- package/dist/dts/CloudWatchLogsServiceConfig.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/CloudWatchLogsClientInstance.js +3 -1
- package/dist/esm/CloudWatchLogsClientInstance.js.map +1 -1
- package/dist/esm/CloudWatchLogsService.js +26 -4
- package/dist/esm/CloudWatchLogsService.js.map +1 -1
- package/dist/esm/CloudWatchLogsServiceConfig.js +4 -2
- package/dist/esm/CloudWatchLogsServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/CloudWatchLogsClientInstance.ts +3 -1
- package/src/CloudWatchLogsService.ts +260 -4
- package/src/CloudWatchLogsServiceConfig.ts +4 -2
- package/src/Errors.ts +1 -1
|
@@ -235,9 +235,30 @@ import {
|
|
|
235
235
|
ListTagsLogGroupCommand,
|
|
236
236
|
type ListTagsLogGroupCommandInput,
|
|
237
237
|
type ListTagsLogGroupCommandOutput,
|
|
238
|
+
paginateDescribeConfigurationTemplates,
|
|
239
|
+
paginateDescribeDeliveries,
|
|
240
|
+
paginateDescribeDeliveryDestinations,
|
|
241
|
+
paginateDescribeDeliverySources,
|
|
242
|
+
paginateDescribeDestinations,
|
|
243
|
+
paginateDescribeLogGroups,
|
|
244
|
+
paginateDescribeLogStreams,
|
|
245
|
+
paginateDescribeMetricFilters,
|
|
246
|
+
paginateDescribeSubscriptionFilters,
|
|
247
|
+
paginateFilterLogEvents,
|
|
248
|
+
paginateGetLogEvents,
|
|
249
|
+
paginateGetScheduledQueryHistory,
|
|
250
|
+
paginateListAggregateLogGroupSummaries,
|
|
251
|
+
paginateListAnomalies,
|
|
252
|
+
paginateListLogAnomalyDetectors,
|
|
253
|
+
paginateListLogGroupsForQuery,
|
|
254
|
+
paginateListScheduledQueries,
|
|
255
|
+
paginateListSourcesForS3TableIntegration,
|
|
238
256
|
PutAccountPolicyCommand,
|
|
239
257
|
type PutAccountPolicyCommandInput,
|
|
240
258
|
type PutAccountPolicyCommandOutput,
|
|
259
|
+
PutBearerTokenAuthenticationCommand,
|
|
260
|
+
type PutBearerTokenAuthenticationCommandInput,
|
|
261
|
+
type PutBearerTokenAuthenticationCommandOutput,
|
|
241
262
|
PutDataProtectionPolicyCommand,
|
|
242
263
|
type PutDataProtectionPolicyCommandInput,
|
|
243
264
|
type PutDataProtectionPolicyCommandOutput,
|
|
@@ -326,10 +347,13 @@ import {
|
|
|
326
347
|
type UpdateScheduledQueryCommandInput,
|
|
327
348
|
type UpdateScheduledQueryCommandOutput,
|
|
328
349
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
329
|
-
import
|
|
330
|
-
import
|
|
331
|
-
import type {
|
|
332
|
-
import
|
|
350
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
351
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
352
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
353
|
+
import type * as Cause from "effect/Cause";
|
|
354
|
+
import * as Effect from "effect/Effect";
|
|
355
|
+
import * as Layer from "effect/Layer";
|
|
356
|
+
import type * as Stream from "effect/Stream";
|
|
333
357
|
import * as Instance from "./CloudWatchLogsClientInstance.js";
|
|
334
358
|
import * as CloudWatchLogsServiceConfig from "./CloudWatchLogsServiceConfig.js";
|
|
335
359
|
import type {
|
|
@@ -434,6 +458,7 @@ const commands = {
|
|
|
434
458
|
ListTagsForResourceCommand,
|
|
435
459
|
ListTagsLogGroupCommand,
|
|
436
460
|
PutAccountPolicyCommand,
|
|
461
|
+
PutBearerTokenAuthenticationCommand,
|
|
437
462
|
PutDataProtectionPolicyCommand,
|
|
438
463
|
PutDeliveryDestinationCommand,
|
|
439
464
|
PutDeliveryDestinationPolicyCommand,
|
|
@@ -465,6 +490,27 @@ const commands = {
|
|
|
465
490
|
UpdateScheduledQueryCommand,
|
|
466
491
|
};
|
|
467
492
|
|
|
493
|
+
const paginators = {
|
|
494
|
+
paginateDescribeConfigurationTemplates,
|
|
495
|
+
paginateDescribeDeliveries,
|
|
496
|
+
paginateDescribeDeliveryDestinations,
|
|
497
|
+
paginateDescribeDeliverySources,
|
|
498
|
+
paginateDescribeDestinations,
|
|
499
|
+
paginateDescribeLogGroups,
|
|
500
|
+
paginateDescribeLogStreams,
|
|
501
|
+
paginateDescribeMetricFilters,
|
|
502
|
+
paginateDescribeSubscriptionFilters,
|
|
503
|
+
paginateFilterLogEvents,
|
|
504
|
+
paginateGetLogEvents,
|
|
505
|
+
paginateGetScheduledQueryHistory,
|
|
506
|
+
paginateListAggregateLogGroupSummaries,
|
|
507
|
+
paginateListAnomalies,
|
|
508
|
+
paginateListLogAnomalyDetectors,
|
|
509
|
+
paginateListLogGroupsForQuery,
|
|
510
|
+
paginateListScheduledQueries,
|
|
511
|
+
paginateListSourcesForS3TableIntegration,
|
|
512
|
+
};
|
|
513
|
+
|
|
468
514
|
interface CloudWatchLogsService$ {
|
|
469
515
|
readonly _: unique symbol;
|
|
470
516
|
|
|
@@ -1001,6 +1047,19 @@ interface CloudWatchLogsService$ {
|
|
|
1001
1047
|
| ValidationError
|
|
1002
1048
|
>;
|
|
1003
1049
|
|
|
1050
|
+
describeConfigurationTemplatesStream(
|
|
1051
|
+
args: DescribeConfigurationTemplatesCommandInput,
|
|
1052
|
+
options?: HttpHandlerOptions,
|
|
1053
|
+
): Stream.Stream<
|
|
1054
|
+
DescribeConfigurationTemplatesCommandOutput,
|
|
1055
|
+
| Cause.TimeoutException
|
|
1056
|
+
| SdkError
|
|
1057
|
+
| ResourceNotFoundError
|
|
1058
|
+
| ServiceUnavailableError
|
|
1059
|
+
| ThrottlingError
|
|
1060
|
+
| ValidationError
|
|
1061
|
+
>;
|
|
1062
|
+
|
|
1004
1063
|
/**
|
|
1005
1064
|
* @see {@link DescribeDeliveriesCommand}
|
|
1006
1065
|
*/
|
|
@@ -1017,6 +1076,19 @@ interface CloudWatchLogsService$ {
|
|
|
1017
1076
|
| ValidationError
|
|
1018
1077
|
>;
|
|
1019
1078
|
|
|
1079
|
+
describeDeliveriesStream(
|
|
1080
|
+
args: DescribeDeliveriesCommandInput,
|
|
1081
|
+
options?: HttpHandlerOptions,
|
|
1082
|
+
): Stream.Stream<
|
|
1083
|
+
DescribeDeliveriesCommandOutput,
|
|
1084
|
+
| Cause.TimeoutException
|
|
1085
|
+
| SdkError
|
|
1086
|
+
| ServiceQuotaExceededError
|
|
1087
|
+
| ServiceUnavailableError
|
|
1088
|
+
| ThrottlingError
|
|
1089
|
+
| ValidationError
|
|
1090
|
+
>;
|
|
1091
|
+
|
|
1020
1092
|
/**
|
|
1021
1093
|
* @see {@link DescribeDeliveryDestinationsCommand}
|
|
1022
1094
|
*/
|
|
@@ -1033,6 +1105,19 @@ interface CloudWatchLogsService$ {
|
|
|
1033
1105
|
| ValidationError
|
|
1034
1106
|
>;
|
|
1035
1107
|
|
|
1108
|
+
describeDeliveryDestinationsStream(
|
|
1109
|
+
args: DescribeDeliveryDestinationsCommandInput,
|
|
1110
|
+
options?: HttpHandlerOptions,
|
|
1111
|
+
): Stream.Stream<
|
|
1112
|
+
DescribeDeliveryDestinationsCommandOutput,
|
|
1113
|
+
| Cause.TimeoutException
|
|
1114
|
+
| SdkError
|
|
1115
|
+
| ServiceQuotaExceededError
|
|
1116
|
+
| ServiceUnavailableError
|
|
1117
|
+
| ThrottlingError
|
|
1118
|
+
| ValidationError
|
|
1119
|
+
>;
|
|
1120
|
+
|
|
1036
1121
|
/**
|
|
1037
1122
|
* @see {@link DescribeDeliverySourcesCommand}
|
|
1038
1123
|
*/
|
|
@@ -1049,6 +1134,19 @@ interface CloudWatchLogsService$ {
|
|
|
1049
1134
|
| ValidationError
|
|
1050
1135
|
>;
|
|
1051
1136
|
|
|
1137
|
+
describeDeliverySourcesStream(
|
|
1138
|
+
args: DescribeDeliverySourcesCommandInput,
|
|
1139
|
+
options?: HttpHandlerOptions,
|
|
1140
|
+
): Stream.Stream<
|
|
1141
|
+
DescribeDeliverySourcesCommandOutput,
|
|
1142
|
+
| Cause.TimeoutException
|
|
1143
|
+
| SdkError
|
|
1144
|
+
| ServiceQuotaExceededError
|
|
1145
|
+
| ServiceUnavailableError
|
|
1146
|
+
| ThrottlingError
|
|
1147
|
+
| ValidationError
|
|
1148
|
+
>;
|
|
1149
|
+
|
|
1052
1150
|
/**
|
|
1053
1151
|
* @see {@link DescribeDestinationsCommand}
|
|
1054
1152
|
*/
|
|
@@ -1060,6 +1158,14 @@ interface CloudWatchLogsService$ {
|
|
|
1060
1158
|
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
|
|
1061
1159
|
>;
|
|
1062
1160
|
|
|
1161
|
+
describeDestinationsStream(
|
|
1162
|
+
args: DescribeDestinationsCommandInput,
|
|
1163
|
+
options?: HttpHandlerOptions,
|
|
1164
|
+
): Stream.Stream<
|
|
1165
|
+
DescribeDestinationsCommandOutput,
|
|
1166
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
|
|
1167
|
+
>;
|
|
1168
|
+
|
|
1063
1169
|
/**
|
|
1064
1170
|
* @see {@link DescribeExportTasksCommand}
|
|
1065
1171
|
*/
|
|
@@ -1150,6 +1256,14 @@ interface CloudWatchLogsService$ {
|
|
|
1150
1256
|
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
|
|
1151
1257
|
>;
|
|
1152
1258
|
|
|
1259
|
+
describeLogGroupsStream(
|
|
1260
|
+
args: DescribeLogGroupsCommandInput,
|
|
1261
|
+
options?: HttpHandlerOptions,
|
|
1262
|
+
): Stream.Stream<
|
|
1263
|
+
DescribeLogGroupsCommandOutput,
|
|
1264
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
|
|
1265
|
+
>;
|
|
1266
|
+
|
|
1153
1267
|
/**
|
|
1154
1268
|
* @see {@link DescribeLogStreamsCommand}
|
|
1155
1269
|
*/
|
|
@@ -1161,6 +1275,14 @@ interface CloudWatchLogsService$ {
|
|
|
1161
1275
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1162
1276
|
>;
|
|
1163
1277
|
|
|
1278
|
+
describeLogStreamsStream(
|
|
1279
|
+
args: DescribeLogStreamsCommandInput,
|
|
1280
|
+
options?: HttpHandlerOptions,
|
|
1281
|
+
): Stream.Stream<
|
|
1282
|
+
DescribeLogStreamsCommandOutput,
|
|
1283
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1284
|
+
>;
|
|
1285
|
+
|
|
1164
1286
|
/**
|
|
1165
1287
|
* @see {@link DescribeMetricFiltersCommand}
|
|
1166
1288
|
*/
|
|
@@ -1172,6 +1294,14 @@ interface CloudWatchLogsService$ {
|
|
|
1172
1294
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1173
1295
|
>;
|
|
1174
1296
|
|
|
1297
|
+
describeMetricFiltersStream(
|
|
1298
|
+
args: DescribeMetricFiltersCommandInput,
|
|
1299
|
+
options?: HttpHandlerOptions,
|
|
1300
|
+
): Stream.Stream<
|
|
1301
|
+
DescribeMetricFiltersCommandOutput,
|
|
1302
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1303
|
+
>;
|
|
1304
|
+
|
|
1175
1305
|
/**
|
|
1176
1306
|
* @see {@link DescribeQueriesCommand}
|
|
1177
1307
|
*/
|
|
@@ -1216,6 +1346,14 @@ interface CloudWatchLogsService$ {
|
|
|
1216
1346
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1217
1347
|
>;
|
|
1218
1348
|
|
|
1349
|
+
describeSubscriptionFiltersStream(
|
|
1350
|
+
args: DescribeSubscriptionFiltersCommandInput,
|
|
1351
|
+
options?: HttpHandlerOptions,
|
|
1352
|
+
): Stream.Stream<
|
|
1353
|
+
DescribeSubscriptionFiltersCommandOutput,
|
|
1354
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1355
|
+
>;
|
|
1356
|
+
|
|
1219
1357
|
/**
|
|
1220
1358
|
* @see {@link DisassociateKmsKeyCommand}
|
|
1221
1359
|
*/
|
|
@@ -1260,6 +1398,14 @@ interface CloudWatchLogsService$ {
|
|
|
1260
1398
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1261
1399
|
>;
|
|
1262
1400
|
|
|
1401
|
+
filterLogEventsStream(
|
|
1402
|
+
args: FilterLogEventsCommandInput,
|
|
1403
|
+
options?: HttpHandlerOptions,
|
|
1404
|
+
): Stream.Stream<
|
|
1405
|
+
FilterLogEventsCommandOutput,
|
|
1406
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1407
|
+
>;
|
|
1408
|
+
|
|
1263
1409
|
/**
|
|
1264
1410
|
* @see {@link GetDataProtectionPolicyCommand}
|
|
1265
1411
|
*/
|
|
@@ -1376,6 +1522,14 @@ interface CloudWatchLogsService$ {
|
|
|
1376
1522
|
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1377
1523
|
>;
|
|
1378
1524
|
|
|
1525
|
+
getLogEventsStream(
|
|
1526
|
+
args: GetLogEventsCommandInput,
|
|
1527
|
+
options?: HttpHandlerOptions,
|
|
1528
|
+
): Stream.Stream<
|
|
1529
|
+
GetLogEventsCommandOutput,
|
|
1530
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
|
|
1531
|
+
>;
|
|
1532
|
+
|
|
1379
1533
|
/**
|
|
1380
1534
|
* @see {@link GetLogFieldsCommand}
|
|
1381
1535
|
*/
|
|
@@ -1486,6 +1640,20 @@ interface CloudWatchLogsService$ {
|
|
|
1486
1640
|
| ValidationError
|
|
1487
1641
|
>;
|
|
1488
1642
|
|
|
1643
|
+
getScheduledQueryHistoryStream(
|
|
1644
|
+
args: GetScheduledQueryHistoryCommandInput,
|
|
1645
|
+
options?: HttpHandlerOptions,
|
|
1646
|
+
): Stream.Stream<
|
|
1647
|
+
GetScheduledQueryHistoryCommandOutput,
|
|
1648
|
+
| Cause.TimeoutException
|
|
1649
|
+
| SdkError
|
|
1650
|
+
| AccessDeniedError
|
|
1651
|
+
| InternalServerError
|
|
1652
|
+
| ResourceNotFoundError
|
|
1653
|
+
| ThrottlingError
|
|
1654
|
+
| ValidationError
|
|
1655
|
+
>;
|
|
1656
|
+
|
|
1489
1657
|
/**
|
|
1490
1658
|
* @see {@link GetTransformerCommand}
|
|
1491
1659
|
*/
|
|
@@ -1513,6 +1681,14 @@ interface CloudWatchLogsService$ {
|
|
|
1513
1681
|
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError | ValidationError
|
|
1514
1682
|
>;
|
|
1515
1683
|
|
|
1684
|
+
listAggregateLogGroupSummariesStream(
|
|
1685
|
+
args: ListAggregateLogGroupSummariesCommandInput,
|
|
1686
|
+
options?: HttpHandlerOptions,
|
|
1687
|
+
): Stream.Stream<
|
|
1688
|
+
ListAggregateLogGroupSummariesCommandOutput,
|
|
1689
|
+
Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError | ValidationError
|
|
1690
|
+
>;
|
|
1691
|
+
|
|
1516
1692
|
/**
|
|
1517
1693
|
* @see {@link ListAnomaliesCommand}
|
|
1518
1694
|
*/
|
|
@@ -1529,6 +1705,19 @@ interface CloudWatchLogsService$ {
|
|
|
1529
1705
|
| ServiceUnavailableError
|
|
1530
1706
|
>;
|
|
1531
1707
|
|
|
1708
|
+
listAnomaliesStream(
|
|
1709
|
+
args: ListAnomaliesCommandInput,
|
|
1710
|
+
options?: HttpHandlerOptions,
|
|
1711
|
+
): Stream.Stream<
|
|
1712
|
+
ListAnomaliesCommandOutput,
|
|
1713
|
+
| Cause.TimeoutException
|
|
1714
|
+
| SdkError
|
|
1715
|
+
| InvalidParameterError
|
|
1716
|
+
| OperationAbortedError
|
|
1717
|
+
| ResourceNotFoundError
|
|
1718
|
+
| ServiceUnavailableError
|
|
1719
|
+
>;
|
|
1720
|
+
|
|
1532
1721
|
/**
|
|
1533
1722
|
* @see {@link ListIntegrationsCommand}
|
|
1534
1723
|
*/
|
|
@@ -1556,6 +1745,19 @@ interface CloudWatchLogsService$ {
|
|
|
1556
1745
|
| ServiceUnavailableError
|
|
1557
1746
|
>;
|
|
1558
1747
|
|
|
1748
|
+
listLogAnomalyDetectorsStream(
|
|
1749
|
+
args: ListLogAnomalyDetectorsCommandInput,
|
|
1750
|
+
options?: HttpHandlerOptions,
|
|
1751
|
+
): Stream.Stream<
|
|
1752
|
+
ListLogAnomalyDetectorsCommandOutput,
|
|
1753
|
+
| Cause.TimeoutException
|
|
1754
|
+
| SdkError
|
|
1755
|
+
| InvalidParameterError
|
|
1756
|
+
| OperationAbortedError
|
|
1757
|
+
| ResourceNotFoundError
|
|
1758
|
+
| ServiceUnavailableError
|
|
1759
|
+
>;
|
|
1760
|
+
|
|
1559
1761
|
/**
|
|
1560
1762
|
* @see {@link ListLogGroupsCommand}
|
|
1561
1763
|
*/
|
|
@@ -1583,6 +1785,19 @@ interface CloudWatchLogsService$ {
|
|
|
1583
1785
|
| ServiceUnavailableError
|
|
1584
1786
|
>;
|
|
1585
1787
|
|
|
1788
|
+
listLogGroupsForQueryStream(
|
|
1789
|
+
args: ListLogGroupsForQueryCommandInput,
|
|
1790
|
+
options?: HttpHandlerOptions,
|
|
1791
|
+
): Stream.Stream<
|
|
1792
|
+
ListLogGroupsForQueryCommandOutput,
|
|
1793
|
+
| Cause.TimeoutException
|
|
1794
|
+
| SdkError
|
|
1795
|
+
| AccessDeniedError
|
|
1796
|
+
| InvalidParameterError
|
|
1797
|
+
| ResourceNotFoundError
|
|
1798
|
+
| ServiceUnavailableError
|
|
1799
|
+
>;
|
|
1800
|
+
|
|
1586
1801
|
/**
|
|
1587
1802
|
* @see {@link ListScheduledQueriesCommand}
|
|
1588
1803
|
*/
|
|
@@ -1594,6 +1809,14 @@ interface CloudWatchLogsService$ {
|
|
|
1594
1809
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1595
1810
|
>;
|
|
1596
1811
|
|
|
1812
|
+
listScheduledQueriesStream(
|
|
1813
|
+
args: ListScheduledQueriesCommandInput,
|
|
1814
|
+
options?: HttpHandlerOptions,
|
|
1815
|
+
): Stream.Stream<
|
|
1816
|
+
ListScheduledQueriesCommandOutput,
|
|
1817
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1818
|
+
>;
|
|
1819
|
+
|
|
1597
1820
|
/**
|
|
1598
1821
|
* @see {@link ListSourcesForS3TableIntegrationCommand}
|
|
1599
1822
|
*/
|
|
@@ -1611,6 +1834,20 @@ interface CloudWatchLogsService$ {
|
|
|
1611
1834
|
| ValidationError
|
|
1612
1835
|
>;
|
|
1613
1836
|
|
|
1837
|
+
listSourcesForS3TableIntegrationStream(
|
|
1838
|
+
args: ListSourcesForS3TableIntegrationCommandInput,
|
|
1839
|
+
options?: HttpHandlerOptions,
|
|
1840
|
+
): Stream.Stream<
|
|
1841
|
+
ListSourcesForS3TableIntegrationCommandOutput,
|
|
1842
|
+
| Cause.TimeoutException
|
|
1843
|
+
| SdkError
|
|
1844
|
+
| AccessDeniedError
|
|
1845
|
+
| InternalServerError
|
|
1846
|
+
| ResourceNotFoundError
|
|
1847
|
+
| ThrottlingError
|
|
1848
|
+
| ValidationError
|
|
1849
|
+
>;
|
|
1850
|
+
|
|
1614
1851
|
/**
|
|
1615
1852
|
* @see {@link ListTagsForResourceCommand}
|
|
1616
1853
|
*/
|
|
@@ -1649,6 +1886,24 @@ interface CloudWatchLogsService$ {
|
|
|
1649
1886
|
| ServiceUnavailableError
|
|
1650
1887
|
>;
|
|
1651
1888
|
|
|
1889
|
+
/**
|
|
1890
|
+
* @see {@link PutBearerTokenAuthenticationCommand}
|
|
1891
|
+
*/
|
|
1892
|
+
putBearerTokenAuthentication(
|
|
1893
|
+
args: PutBearerTokenAuthenticationCommandInput,
|
|
1894
|
+
options?: HttpHandlerOptions,
|
|
1895
|
+
): Effect.Effect<
|
|
1896
|
+
PutBearerTokenAuthenticationCommandOutput,
|
|
1897
|
+
| Cause.TimeoutException
|
|
1898
|
+
| SdkError
|
|
1899
|
+
| AccessDeniedError
|
|
1900
|
+
| InvalidOperationError
|
|
1901
|
+
| InvalidParameterError
|
|
1902
|
+
| OperationAbortedError
|
|
1903
|
+
| ResourceNotFoundError
|
|
1904
|
+
| ServiceUnavailableError
|
|
1905
|
+
>;
|
|
1906
|
+
|
|
1652
1907
|
/**
|
|
1653
1908
|
* @see {@link PutDataProtectionPolicyCommand}
|
|
1654
1909
|
*/
|
|
@@ -2110,6 +2365,7 @@ export const makeCloudWatchLogsService = Effect.gen(function*() {
|
|
|
2110
2365
|
errorTags: AllServiceErrors,
|
|
2111
2366
|
resolveClientConfig: CloudWatchLogsServiceConfig.toCloudWatchLogsClientConfig,
|
|
2112
2367
|
},
|
|
2368
|
+
paginators,
|
|
2113
2369
|
);
|
|
2114
2370
|
});
|
|
2115
2371
|
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as FiberRef from "effect/FiberRef";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import { globalValue } from "effect/GlobalValue";
|
|
10
|
+
import * as Layer from "effect/Layer";
|
|
9
11
|
import type { CloudWatchLogsService } from "./CloudWatchLogsService.js";
|
|
10
12
|
|
|
11
13
|
/**
|
package/src/Errors.ts
CHANGED
|
@@ -21,7 +21,7 @@ import type {
|
|
|
21
21
|
UnrecognizedClientException,
|
|
22
22
|
ValidationException,
|
|
23
23
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
24
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
24
|
+
import type { TaggedException } from "@effect-aws/commons/Errors";
|
|
25
25
|
|
|
26
26
|
export const AllServiceErrors = [
|
|
27
27
|
"AccessDeniedException",
|