@effect-aws/client-cloudwatch-logs 1.3.0 → 1.9.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 (68) hide show
  1. package/CloudWatchLogsClientInstance/package.json +6 -0
  2. package/CloudWatchLogsService/package.json +6 -0
  3. package/CloudWatchLogsServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/dist/cjs/CloudWatchLogsClientInstance.d.ts +24 -0
  6. package/dist/cjs/CloudWatchLogsClientInstance.d.ts.map +1 -0
  7. package/dist/cjs/CloudWatchLogsClientInstance.js +50 -0
  8. package/dist/cjs/CloudWatchLogsClientInstance.js.map +1 -0
  9. package/{lib → dist/cjs}/CloudWatchLogsService.d.ts +16 -38
  10. package/dist/cjs/CloudWatchLogsService.d.ts.map +1 -0
  11. package/dist/cjs/CloudWatchLogsService.js +145 -0
  12. package/dist/cjs/CloudWatchLogsService.js.map +1 -0
  13. package/dist/cjs/CloudWatchLogsServiceConfig.d.ts +25 -0
  14. package/dist/cjs/CloudWatchLogsServiceConfig.d.ts.map +1 -0
  15. package/dist/cjs/CloudWatchLogsServiceConfig.js +35 -0
  16. package/dist/cjs/CloudWatchLogsServiceConfig.js.map +1 -0
  17. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  18. package/dist/cjs/Errors.d.ts.map +1 -0
  19. package/dist/cjs/Errors.js +27 -0
  20. package/dist/cjs/Errors.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/CloudWatchLogsClientInstance.d.ts +24 -0
  26. package/dist/dts/CloudWatchLogsClientInstance.d.ts.map +1 -0
  27. package/dist/dts/CloudWatchLogsService.d.ts +488 -0
  28. package/dist/dts/CloudWatchLogsService.d.ts.map +1 -0
  29. package/dist/dts/CloudWatchLogsServiceConfig.d.ts +25 -0
  30. package/dist/dts/CloudWatchLogsServiceConfig.d.ts.map +1 -0
  31. package/dist/dts/Errors.d.ts +26 -0
  32. package/dist/dts/Errors.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/CloudWatchLogsClientInstance.js +23 -0
  36. package/dist/esm/CloudWatchLogsClientInstance.js.map +1 -0
  37. package/dist/esm/CloudWatchLogsService.js +118 -0
  38. package/dist/esm/CloudWatchLogsService.js.map +1 -0
  39. package/dist/esm/CloudWatchLogsServiceConfig.js +31 -0
  40. package/dist/esm/CloudWatchLogsServiceConfig.js.map +1 -0
  41. package/dist/esm/Errors.js +24 -0
  42. package/dist/esm/Errors.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/CloudWatchLogsClientInstance.ts +33 -0
  48. package/src/CloudWatchLogsService.ts +1561 -0
  49. package/src/CloudWatchLogsServiceConfig.ts +52 -0
  50. package/src/Errors.ts +68 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -41
  53. package/docgen.json +0 -8
  54. package/lib/CloudWatchLogsClientInstance.d.ts +0 -31
  55. package/lib/CloudWatchLogsClientInstance.js +0 -57
  56. package/lib/CloudWatchLogsClientInstanceConfig.d.ts +0 -23
  57. package/lib/CloudWatchLogsClientInstanceConfig.js +0 -44
  58. package/lib/CloudWatchLogsService.js +0 -177
  59. package/lib/Errors.js +0 -27
  60. package/lib/esm/CloudWatchLogsClientInstance.js +0 -30
  61. package/lib/esm/CloudWatchLogsClientInstanceConfig.js +0 -40
  62. package/lib/esm/CloudWatchLogsService.js +0 -173
  63. package/lib/esm/Errors.js +0 -24
  64. package/lib/esm/index.js +0 -5
  65. package/lib/index.d.ts +0 -4
  66. package/lib/index.js +0 -21
  67. package/project.json +0 -77
  68. package/vitest.config.ts +0 -3
@@ -0,0 +1,1561 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ AssociateKmsKeyCommand,
6
+ type AssociateKmsKeyCommandInput,
7
+ type AssociateKmsKeyCommandOutput,
8
+ CancelExportTaskCommand,
9
+ type CancelExportTaskCommandInput,
10
+ type CancelExportTaskCommandOutput,
11
+ type CloudWatchLogsClient,
12
+ type CloudWatchLogsClientConfig,
13
+ CreateDeliveryCommand,
14
+ type CreateDeliveryCommandInput,
15
+ type CreateDeliveryCommandOutput,
16
+ CreateExportTaskCommand,
17
+ type CreateExportTaskCommandInput,
18
+ type CreateExportTaskCommandOutput,
19
+ CreateLogAnomalyDetectorCommand,
20
+ type CreateLogAnomalyDetectorCommandInput,
21
+ type CreateLogAnomalyDetectorCommandOutput,
22
+ CreateLogGroupCommand,
23
+ type CreateLogGroupCommandInput,
24
+ type CreateLogGroupCommandOutput,
25
+ CreateLogStreamCommand,
26
+ type CreateLogStreamCommandInput,
27
+ type CreateLogStreamCommandOutput,
28
+ DeleteAccountPolicyCommand,
29
+ type DeleteAccountPolicyCommandInput,
30
+ type DeleteAccountPolicyCommandOutput,
31
+ DeleteDataProtectionPolicyCommand,
32
+ type DeleteDataProtectionPolicyCommandInput,
33
+ type DeleteDataProtectionPolicyCommandOutput,
34
+ DeleteDeliveryCommand,
35
+ type DeleteDeliveryCommandInput,
36
+ type DeleteDeliveryCommandOutput,
37
+ DeleteDeliveryDestinationCommand,
38
+ type DeleteDeliveryDestinationCommandInput,
39
+ type DeleteDeliveryDestinationCommandOutput,
40
+ DeleteDeliveryDestinationPolicyCommand,
41
+ type DeleteDeliveryDestinationPolicyCommandInput,
42
+ type DeleteDeliveryDestinationPolicyCommandOutput,
43
+ DeleteDeliverySourceCommand,
44
+ type DeleteDeliverySourceCommandInput,
45
+ type DeleteDeliverySourceCommandOutput,
46
+ DeleteDestinationCommand,
47
+ type DeleteDestinationCommandInput,
48
+ type DeleteDestinationCommandOutput,
49
+ DeleteIndexPolicyCommand,
50
+ type DeleteIndexPolicyCommandInput,
51
+ type DeleteIndexPolicyCommandOutput,
52
+ DeleteIntegrationCommand,
53
+ type DeleteIntegrationCommandInput,
54
+ type DeleteIntegrationCommandOutput,
55
+ DeleteLogAnomalyDetectorCommand,
56
+ type DeleteLogAnomalyDetectorCommandInput,
57
+ type DeleteLogAnomalyDetectorCommandOutput,
58
+ DeleteLogGroupCommand,
59
+ type DeleteLogGroupCommandInput,
60
+ type DeleteLogGroupCommandOutput,
61
+ DeleteLogStreamCommand,
62
+ type DeleteLogStreamCommandInput,
63
+ type DeleteLogStreamCommandOutput,
64
+ DeleteMetricFilterCommand,
65
+ type DeleteMetricFilterCommandInput,
66
+ type DeleteMetricFilterCommandOutput,
67
+ DeleteQueryDefinitionCommand,
68
+ type DeleteQueryDefinitionCommandInput,
69
+ type DeleteQueryDefinitionCommandOutput,
70
+ DeleteResourcePolicyCommand,
71
+ type DeleteResourcePolicyCommandInput,
72
+ type DeleteResourcePolicyCommandOutput,
73
+ DeleteRetentionPolicyCommand,
74
+ type DeleteRetentionPolicyCommandInput,
75
+ type DeleteRetentionPolicyCommandOutput,
76
+ DeleteSubscriptionFilterCommand,
77
+ type DeleteSubscriptionFilterCommandInput,
78
+ type DeleteSubscriptionFilterCommandOutput,
79
+ DeleteTransformerCommand,
80
+ type DeleteTransformerCommandInput,
81
+ type DeleteTransformerCommandOutput,
82
+ DescribeAccountPoliciesCommand,
83
+ type DescribeAccountPoliciesCommandInput,
84
+ type DescribeAccountPoliciesCommandOutput,
85
+ DescribeConfigurationTemplatesCommand,
86
+ type DescribeConfigurationTemplatesCommandInput,
87
+ type DescribeConfigurationTemplatesCommandOutput,
88
+ DescribeDeliveriesCommand,
89
+ type DescribeDeliveriesCommandInput,
90
+ type DescribeDeliveriesCommandOutput,
91
+ DescribeDeliveryDestinationsCommand,
92
+ type DescribeDeliveryDestinationsCommandInput,
93
+ type DescribeDeliveryDestinationsCommandOutput,
94
+ DescribeDeliverySourcesCommand,
95
+ type DescribeDeliverySourcesCommandInput,
96
+ type DescribeDeliverySourcesCommandOutput,
97
+ DescribeDestinationsCommand,
98
+ type DescribeDestinationsCommandInput,
99
+ type DescribeDestinationsCommandOutput,
100
+ DescribeExportTasksCommand,
101
+ type DescribeExportTasksCommandInput,
102
+ type DescribeExportTasksCommandOutput,
103
+ DescribeFieldIndexesCommand,
104
+ type DescribeFieldIndexesCommandInput,
105
+ type DescribeFieldIndexesCommandOutput,
106
+ DescribeIndexPoliciesCommand,
107
+ type DescribeIndexPoliciesCommandInput,
108
+ type DescribeIndexPoliciesCommandOutput,
109
+ DescribeLogGroupsCommand,
110
+ type DescribeLogGroupsCommandInput,
111
+ type DescribeLogGroupsCommandOutput,
112
+ DescribeLogStreamsCommand,
113
+ type DescribeLogStreamsCommandInput,
114
+ type DescribeLogStreamsCommandOutput,
115
+ DescribeMetricFiltersCommand,
116
+ type DescribeMetricFiltersCommandInput,
117
+ type DescribeMetricFiltersCommandOutput,
118
+ DescribeQueriesCommand,
119
+ type DescribeQueriesCommandInput,
120
+ type DescribeQueriesCommandOutput,
121
+ DescribeQueryDefinitionsCommand,
122
+ type DescribeQueryDefinitionsCommandInput,
123
+ type DescribeQueryDefinitionsCommandOutput,
124
+ DescribeResourcePoliciesCommand,
125
+ type DescribeResourcePoliciesCommandInput,
126
+ type DescribeResourcePoliciesCommandOutput,
127
+ DescribeSubscriptionFiltersCommand,
128
+ type DescribeSubscriptionFiltersCommandInput,
129
+ type DescribeSubscriptionFiltersCommandOutput,
130
+ DisassociateKmsKeyCommand,
131
+ type DisassociateKmsKeyCommandInput,
132
+ type DisassociateKmsKeyCommandOutput,
133
+ FilterLogEventsCommand,
134
+ type FilterLogEventsCommandInput,
135
+ type FilterLogEventsCommandOutput,
136
+ GetDataProtectionPolicyCommand,
137
+ type GetDataProtectionPolicyCommandInput,
138
+ type GetDataProtectionPolicyCommandOutput,
139
+ GetDeliveryCommand,
140
+ type GetDeliveryCommandInput,
141
+ type GetDeliveryCommandOutput,
142
+ GetDeliveryDestinationCommand,
143
+ type GetDeliveryDestinationCommandInput,
144
+ type GetDeliveryDestinationCommandOutput,
145
+ GetDeliveryDestinationPolicyCommand,
146
+ type GetDeliveryDestinationPolicyCommandInput,
147
+ type GetDeliveryDestinationPolicyCommandOutput,
148
+ GetDeliverySourceCommand,
149
+ type GetDeliverySourceCommandInput,
150
+ type GetDeliverySourceCommandOutput,
151
+ GetIntegrationCommand,
152
+ type GetIntegrationCommandInput,
153
+ type GetIntegrationCommandOutput,
154
+ GetLogAnomalyDetectorCommand,
155
+ type GetLogAnomalyDetectorCommandInput,
156
+ type GetLogAnomalyDetectorCommandOutput,
157
+ GetLogEventsCommand,
158
+ type GetLogEventsCommandInput,
159
+ type GetLogEventsCommandOutput,
160
+ GetLogGroupFieldsCommand,
161
+ type GetLogGroupFieldsCommandInput,
162
+ type GetLogGroupFieldsCommandOutput,
163
+ GetLogRecordCommand,
164
+ type GetLogRecordCommandInput,
165
+ type GetLogRecordCommandOutput,
166
+ GetQueryResultsCommand,
167
+ type GetQueryResultsCommandInput,
168
+ type GetQueryResultsCommandOutput,
169
+ GetTransformerCommand,
170
+ type GetTransformerCommandInput,
171
+ type GetTransformerCommandOutput,
172
+ ListAnomaliesCommand,
173
+ type ListAnomaliesCommandInput,
174
+ type ListAnomaliesCommandOutput,
175
+ ListIntegrationsCommand,
176
+ type ListIntegrationsCommandInput,
177
+ type ListIntegrationsCommandOutput,
178
+ ListLogAnomalyDetectorsCommand,
179
+ type ListLogAnomalyDetectorsCommandInput,
180
+ type ListLogAnomalyDetectorsCommandOutput,
181
+ ListLogGroupsForQueryCommand,
182
+ type ListLogGroupsForQueryCommandInput,
183
+ type ListLogGroupsForQueryCommandOutput,
184
+ ListTagsForResourceCommand,
185
+ type ListTagsForResourceCommandInput,
186
+ type ListTagsForResourceCommandOutput,
187
+ ListTagsLogGroupCommand,
188
+ type ListTagsLogGroupCommandInput,
189
+ type ListTagsLogGroupCommandOutput,
190
+ PutAccountPolicyCommand,
191
+ type PutAccountPolicyCommandInput,
192
+ type PutAccountPolicyCommandOutput,
193
+ PutDataProtectionPolicyCommand,
194
+ type PutDataProtectionPolicyCommandInput,
195
+ type PutDataProtectionPolicyCommandOutput,
196
+ PutDeliveryDestinationCommand,
197
+ type PutDeliveryDestinationCommandInput,
198
+ type PutDeliveryDestinationCommandOutput,
199
+ PutDeliveryDestinationPolicyCommand,
200
+ type PutDeliveryDestinationPolicyCommandInput,
201
+ type PutDeliveryDestinationPolicyCommandOutput,
202
+ PutDeliverySourceCommand,
203
+ type PutDeliverySourceCommandInput,
204
+ type PutDeliverySourceCommandOutput,
205
+ PutDestinationCommand,
206
+ type PutDestinationCommandInput,
207
+ type PutDestinationCommandOutput,
208
+ PutDestinationPolicyCommand,
209
+ type PutDestinationPolicyCommandInput,
210
+ type PutDestinationPolicyCommandOutput,
211
+ PutIndexPolicyCommand,
212
+ type PutIndexPolicyCommandInput,
213
+ type PutIndexPolicyCommandOutput,
214
+ PutIntegrationCommand,
215
+ type PutIntegrationCommandInput,
216
+ type PutIntegrationCommandOutput,
217
+ PutLogEventsCommand,
218
+ type PutLogEventsCommandInput,
219
+ type PutLogEventsCommandOutput,
220
+ PutMetricFilterCommand,
221
+ type PutMetricFilterCommandInput,
222
+ type PutMetricFilterCommandOutput,
223
+ PutQueryDefinitionCommand,
224
+ type PutQueryDefinitionCommandInput,
225
+ type PutQueryDefinitionCommandOutput,
226
+ PutResourcePolicyCommand,
227
+ type PutResourcePolicyCommandInput,
228
+ type PutResourcePolicyCommandOutput,
229
+ PutRetentionPolicyCommand,
230
+ type PutRetentionPolicyCommandInput,
231
+ type PutRetentionPolicyCommandOutput,
232
+ PutSubscriptionFilterCommand,
233
+ type PutSubscriptionFilterCommandInput,
234
+ type PutSubscriptionFilterCommandOutput,
235
+ PutTransformerCommand,
236
+ type PutTransformerCommandInput,
237
+ type PutTransformerCommandOutput,
238
+ StartLiveTailCommand,
239
+ type StartLiveTailCommandInput,
240
+ type StartLiveTailCommandOutput,
241
+ StartQueryCommand,
242
+ type StartQueryCommandInput,
243
+ type StartQueryCommandOutput,
244
+ StopQueryCommand,
245
+ type StopQueryCommandInput,
246
+ type StopQueryCommandOutput,
247
+ TagLogGroupCommand,
248
+ type TagLogGroupCommandInput,
249
+ type TagLogGroupCommandOutput,
250
+ TagResourceCommand,
251
+ type TagResourceCommandInput,
252
+ type TagResourceCommandOutput,
253
+ TestMetricFilterCommand,
254
+ type TestMetricFilterCommandInput,
255
+ type TestMetricFilterCommandOutput,
256
+ TestTransformerCommand,
257
+ type TestTransformerCommandInput,
258
+ type TestTransformerCommandOutput,
259
+ UntagLogGroupCommand,
260
+ type UntagLogGroupCommandInput,
261
+ type UntagLogGroupCommandOutput,
262
+ UntagResourceCommand,
263
+ type UntagResourceCommandInput,
264
+ type UntagResourceCommandOutput,
265
+ UpdateAnomalyCommand,
266
+ type UpdateAnomalyCommandInput,
267
+ type UpdateAnomalyCommandOutput,
268
+ UpdateDeliveryConfigurationCommand,
269
+ type UpdateDeliveryConfigurationCommandInput,
270
+ type UpdateDeliveryConfigurationCommandOutput,
271
+ UpdateLogAnomalyDetectorCommand,
272
+ type UpdateLogAnomalyDetectorCommandInput,
273
+ type UpdateLogAnomalyDetectorCommandOutput,
274
+ } from "@aws-sdk/client-cloudwatch-logs";
275
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
276
+ import { Service } from "@effect-aws/commons";
277
+ import { Effect, Layer } from "effect";
278
+ import * as Instance from "./CloudWatchLogsClientInstance.js";
279
+ import * as CloudWatchLogsServiceConfig from "./CloudWatchLogsServiceConfig.js";
280
+ import type {
281
+ AccessDeniedError,
282
+ ConflictError,
283
+ DataAlreadyAcceptedError,
284
+ InvalidOperationError,
285
+ InvalidParameterError,
286
+ InvalidSequenceTokenError,
287
+ LimitExceededError,
288
+ MalformedQueryError,
289
+ OperationAbortedError,
290
+ ResourceAlreadyExistsError,
291
+ ResourceNotFoundError,
292
+ ServiceQuotaExceededError,
293
+ ServiceUnavailableError,
294
+ ThrottlingError,
295
+ TooManyTagsError,
296
+ UnrecognizedClientError,
297
+ ValidationError,
298
+ } from "./Errors.js";
299
+ import { AllServiceErrors } from "./Errors.js";
300
+
301
+ const commands = {
302
+ AssociateKmsKeyCommand,
303
+ CancelExportTaskCommand,
304
+ CreateDeliveryCommand,
305
+ CreateExportTaskCommand,
306
+ CreateLogAnomalyDetectorCommand,
307
+ CreateLogGroupCommand,
308
+ CreateLogStreamCommand,
309
+ DeleteAccountPolicyCommand,
310
+ DeleteDataProtectionPolicyCommand,
311
+ DeleteDeliveryCommand,
312
+ DeleteDeliveryDestinationCommand,
313
+ DeleteDeliveryDestinationPolicyCommand,
314
+ DeleteDeliverySourceCommand,
315
+ DeleteDestinationCommand,
316
+ DeleteIndexPolicyCommand,
317
+ DeleteIntegrationCommand,
318
+ DeleteLogAnomalyDetectorCommand,
319
+ DeleteLogGroupCommand,
320
+ DeleteLogStreamCommand,
321
+ DeleteMetricFilterCommand,
322
+ DeleteQueryDefinitionCommand,
323
+ DeleteResourcePolicyCommand,
324
+ DeleteRetentionPolicyCommand,
325
+ DeleteSubscriptionFilterCommand,
326
+ DeleteTransformerCommand,
327
+ DescribeAccountPoliciesCommand,
328
+ DescribeConfigurationTemplatesCommand,
329
+ DescribeDeliveriesCommand,
330
+ DescribeDeliveryDestinationsCommand,
331
+ DescribeDeliverySourcesCommand,
332
+ DescribeDestinationsCommand,
333
+ DescribeExportTasksCommand,
334
+ DescribeFieldIndexesCommand,
335
+ DescribeIndexPoliciesCommand,
336
+ DescribeLogGroupsCommand,
337
+ DescribeLogStreamsCommand,
338
+ DescribeMetricFiltersCommand,
339
+ DescribeQueriesCommand,
340
+ DescribeQueryDefinitionsCommand,
341
+ DescribeResourcePoliciesCommand,
342
+ DescribeSubscriptionFiltersCommand,
343
+ DisassociateKmsKeyCommand,
344
+ FilterLogEventsCommand,
345
+ GetDataProtectionPolicyCommand,
346
+ GetDeliveryCommand,
347
+ GetDeliveryDestinationCommand,
348
+ GetDeliveryDestinationPolicyCommand,
349
+ GetDeliverySourceCommand,
350
+ GetIntegrationCommand,
351
+ GetLogAnomalyDetectorCommand,
352
+ GetLogEventsCommand,
353
+ GetLogGroupFieldsCommand,
354
+ GetLogRecordCommand,
355
+ GetQueryResultsCommand,
356
+ GetTransformerCommand,
357
+ ListAnomaliesCommand,
358
+ ListIntegrationsCommand,
359
+ ListLogAnomalyDetectorsCommand,
360
+ ListLogGroupsForQueryCommand,
361
+ ListTagsForResourceCommand,
362
+ ListTagsLogGroupCommand,
363
+ PutAccountPolicyCommand,
364
+ PutDataProtectionPolicyCommand,
365
+ PutDeliveryDestinationCommand,
366
+ PutDeliveryDestinationPolicyCommand,
367
+ PutDeliverySourceCommand,
368
+ PutDestinationCommand,
369
+ PutDestinationPolicyCommand,
370
+ PutIndexPolicyCommand,
371
+ PutIntegrationCommand,
372
+ PutLogEventsCommand,
373
+ PutMetricFilterCommand,
374
+ PutQueryDefinitionCommand,
375
+ PutResourcePolicyCommand,
376
+ PutRetentionPolicyCommand,
377
+ PutSubscriptionFilterCommand,
378
+ PutTransformerCommand,
379
+ StartLiveTailCommand,
380
+ StartQueryCommand,
381
+ StopQueryCommand,
382
+ TagLogGroupCommand,
383
+ TagResourceCommand,
384
+ TestMetricFilterCommand,
385
+ TestTransformerCommand,
386
+ UntagLogGroupCommand,
387
+ UntagResourceCommand,
388
+ UpdateAnomalyCommand,
389
+ UpdateDeliveryConfigurationCommand,
390
+ UpdateLogAnomalyDetectorCommand,
391
+ };
392
+
393
+ interface CloudWatchLogsService$ {
394
+ readonly _: unique symbol;
395
+
396
+ /**
397
+ * @see {@link AssociateKmsKeyCommand}
398
+ */
399
+ associateKmsKey(
400
+ args: AssociateKmsKeyCommandInput,
401
+ options?: HttpHandlerOptions,
402
+ ): Effect.Effect<
403
+ AssociateKmsKeyCommandOutput,
404
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
405
+ >;
406
+
407
+ /**
408
+ * @see {@link CancelExportTaskCommand}
409
+ */
410
+ cancelExportTask(
411
+ args: CancelExportTaskCommandInput,
412
+ options?: HttpHandlerOptions,
413
+ ): Effect.Effect<
414
+ CancelExportTaskCommandOutput,
415
+ SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
416
+ >;
417
+
418
+ /**
419
+ * @see {@link CreateDeliveryCommand}
420
+ */
421
+ createDelivery(
422
+ args: CreateDeliveryCommandInput,
423
+ options?: HttpHandlerOptions,
424
+ ): Effect.Effect<
425
+ CreateDeliveryCommandOutput,
426
+ | SdkError
427
+ | AccessDeniedError
428
+ | ConflictError
429
+ | ResourceNotFoundError
430
+ | ServiceQuotaExceededError
431
+ | ServiceUnavailableError
432
+ | ThrottlingError
433
+ | ValidationError
434
+ >;
435
+
436
+ /**
437
+ * @see {@link CreateExportTaskCommand}
438
+ */
439
+ createExportTask(
440
+ args: CreateExportTaskCommandInput,
441
+ options?: HttpHandlerOptions,
442
+ ): Effect.Effect<
443
+ CreateExportTaskCommandOutput,
444
+ | SdkError
445
+ | InvalidParameterError
446
+ | LimitExceededError
447
+ | OperationAbortedError
448
+ | ResourceAlreadyExistsError
449
+ | ResourceNotFoundError
450
+ | ServiceUnavailableError
451
+ >;
452
+
453
+ /**
454
+ * @see {@link CreateLogAnomalyDetectorCommand}
455
+ */
456
+ createLogAnomalyDetector(
457
+ args: CreateLogAnomalyDetectorCommandInput,
458
+ options?: HttpHandlerOptions,
459
+ ): Effect.Effect<
460
+ CreateLogAnomalyDetectorCommandOutput,
461
+ | SdkError
462
+ | InvalidParameterError
463
+ | LimitExceededError
464
+ | OperationAbortedError
465
+ | ResourceNotFoundError
466
+ | ServiceUnavailableError
467
+ >;
468
+
469
+ /**
470
+ * @see {@link CreateLogGroupCommand}
471
+ */
472
+ createLogGroup(
473
+ args: CreateLogGroupCommandInput,
474
+ options?: HttpHandlerOptions,
475
+ ): Effect.Effect<
476
+ CreateLogGroupCommandOutput,
477
+ | SdkError
478
+ | InvalidParameterError
479
+ | LimitExceededError
480
+ | OperationAbortedError
481
+ | ResourceAlreadyExistsError
482
+ | ServiceUnavailableError
483
+ >;
484
+
485
+ /**
486
+ * @see {@link CreateLogStreamCommand}
487
+ */
488
+ createLogStream(
489
+ args: CreateLogStreamCommandInput,
490
+ options?: HttpHandlerOptions,
491
+ ): Effect.Effect<
492
+ CreateLogStreamCommandOutput,
493
+ SdkError | InvalidParameterError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError
494
+ >;
495
+
496
+ /**
497
+ * @see {@link DeleteAccountPolicyCommand}
498
+ */
499
+ deleteAccountPolicy(
500
+ args: DeleteAccountPolicyCommandInput,
501
+ options?: HttpHandlerOptions,
502
+ ): Effect.Effect<
503
+ DeleteAccountPolicyCommandOutput,
504
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
505
+ >;
506
+
507
+ /**
508
+ * @see {@link DeleteDataProtectionPolicyCommand}
509
+ */
510
+ deleteDataProtectionPolicy(
511
+ args: DeleteDataProtectionPolicyCommandInput,
512
+ options?: HttpHandlerOptions,
513
+ ): Effect.Effect<
514
+ DeleteDataProtectionPolicyCommandOutput,
515
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
516
+ >;
517
+
518
+ /**
519
+ * @see {@link DeleteDeliveryCommand}
520
+ */
521
+ deleteDelivery(
522
+ args: DeleteDeliveryCommandInput,
523
+ options?: HttpHandlerOptions,
524
+ ): Effect.Effect<
525
+ DeleteDeliveryCommandOutput,
526
+ | SdkError
527
+ | ConflictError
528
+ | ResourceNotFoundError
529
+ | ServiceQuotaExceededError
530
+ | ServiceUnavailableError
531
+ | ThrottlingError
532
+ | ValidationError
533
+ >;
534
+
535
+ /**
536
+ * @see {@link DeleteDeliveryDestinationCommand}
537
+ */
538
+ deleteDeliveryDestination(
539
+ args: DeleteDeliveryDestinationCommandInput,
540
+ options?: HttpHandlerOptions,
541
+ ): Effect.Effect<
542
+ DeleteDeliveryDestinationCommandOutput,
543
+ | SdkError
544
+ | ConflictError
545
+ | ResourceNotFoundError
546
+ | ServiceQuotaExceededError
547
+ | ServiceUnavailableError
548
+ | ThrottlingError
549
+ | ValidationError
550
+ >;
551
+
552
+ /**
553
+ * @see {@link DeleteDeliveryDestinationPolicyCommand}
554
+ */
555
+ deleteDeliveryDestinationPolicy(
556
+ args: DeleteDeliveryDestinationPolicyCommandInput,
557
+ options?: HttpHandlerOptions,
558
+ ): Effect.Effect<
559
+ DeleteDeliveryDestinationPolicyCommandOutput,
560
+ SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
561
+ >;
562
+
563
+ /**
564
+ * @see {@link DeleteDeliverySourceCommand}
565
+ */
566
+ deleteDeliverySource(
567
+ args: DeleteDeliverySourceCommandInput,
568
+ options?: HttpHandlerOptions,
569
+ ): Effect.Effect<
570
+ DeleteDeliverySourceCommandOutput,
571
+ | SdkError
572
+ | ConflictError
573
+ | ResourceNotFoundError
574
+ | ServiceQuotaExceededError
575
+ | ServiceUnavailableError
576
+ | ThrottlingError
577
+ | ValidationError
578
+ >;
579
+
580
+ /**
581
+ * @see {@link DeleteDestinationCommand}
582
+ */
583
+ deleteDestination(
584
+ args: DeleteDestinationCommandInput,
585
+ options?: HttpHandlerOptions,
586
+ ): Effect.Effect<
587
+ DeleteDestinationCommandOutput,
588
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
589
+ >;
590
+
591
+ /**
592
+ * @see {@link DeleteIndexPolicyCommand}
593
+ */
594
+ deleteIndexPolicy(
595
+ args: DeleteIndexPolicyCommandInput,
596
+ options?: HttpHandlerOptions,
597
+ ): Effect.Effect<
598
+ DeleteIndexPolicyCommandOutput,
599
+ | SdkError
600
+ | InvalidParameterError
601
+ | LimitExceededError
602
+ | OperationAbortedError
603
+ | ResourceNotFoundError
604
+ | ServiceUnavailableError
605
+ >;
606
+
607
+ /**
608
+ * @see {@link DeleteIntegrationCommand}
609
+ */
610
+ deleteIntegration(
611
+ args: DeleteIntegrationCommandInput,
612
+ options?: HttpHandlerOptions,
613
+ ): Effect.Effect<
614
+ DeleteIntegrationCommandOutput,
615
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
616
+ >;
617
+
618
+ /**
619
+ * @see {@link DeleteLogAnomalyDetectorCommand}
620
+ */
621
+ deleteLogAnomalyDetector(
622
+ args: DeleteLogAnomalyDetectorCommandInput,
623
+ options?: HttpHandlerOptions,
624
+ ): Effect.Effect<
625
+ DeleteLogAnomalyDetectorCommandOutput,
626
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
627
+ >;
628
+
629
+ /**
630
+ * @see {@link DeleteLogGroupCommand}
631
+ */
632
+ deleteLogGroup(
633
+ args: DeleteLogGroupCommandInput,
634
+ options?: HttpHandlerOptions,
635
+ ): Effect.Effect<
636
+ DeleteLogGroupCommandOutput,
637
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
638
+ >;
639
+
640
+ /**
641
+ * @see {@link DeleteLogStreamCommand}
642
+ */
643
+ deleteLogStream(
644
+ args: DeleteLogStreamCommandInput,
645
+ options?: HttpHandlerOptions,
646
+ ): Effect.Effect<
647
+ DeleteLogStreamCommandOutput,
648
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
649
+ >;
650
+
651
+ /**
652
+ * @see {@link DeleteMetricFilterCommand}
653
+ */
654
+ deleteMetricFilter(
655
+ args: DeleteMetricFilterCommandInput,
656
+ options?: HttpHandlerOptions,
657
+ ): Effect.Effect<
658
+ DeleteMetricFilterCommandOutput,
659
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
660
+ >;
661
+
662
+ /**
663
+ * @see {@link DeleteQueryDefinitionCommand}
664
+ */
665
+ deleteQueryDefinition(
666
+ args: DeleteQueryDefinitionCommandInput,
667
+ options?: HttpHandlerOptions,
668
+ ): Effect.Effect<
669
+ DeleteQueryDefinitionCommandOutput,
670
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
671
+ >;
672
+
673
+ /**
674
+ * @see {@link DeleteResourcePolicyCommand}
675
+ */
676
+ deleteResourcePolicy(
677
+ args: DeleteResourcePolicyCommandInput,
678
+ options?: HttpHandlerOptions,
679
+ ): Effect.Effect<
680
+ DeleteResourcePolicyCommandOutput,
681
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
682
+ >;
683
+
684
+ /**
685
+ * @see {@link DeleteRetentionPolicyCommand}
686
+ */
687
+ deleteRetentionPolicy(
688
+ args: DeleteRetentionPolicyCommandInput,
689
+ options?: HttpHandlerOptions,
690
+ ): Effect.Effect<
691
+ DeleteRetentionPolicyCommandOutput,
692
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
693
+ >;
694
+
695
+ /**
696
+ * @see {@link DeleteSubscriptionFilterCommand}
697
+ */
698
+ deleteSubscriptionFilter(
699
+ args: DeleteSubscriptionFilterCommandInput,
700
+ options?: HttpHandlerOptions,
701
+ ): Effect.Effect<
702
+ DeleteSubscriptionFilterCommandOutput,
703
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
704
+ >;
705
+
706
+ /**
707
+ * @see {@link DeleteTransformerCommand}
708
+ */
709
+ deleteTransformer(
710
+ args: DeleteTransformerCommandInput,
711
+ options?: HttpHandlerOptions,
712
+ ): Effect.Effect<
713
+ DeleteTransformerCommandOutput,
714
+ | SdkError
715
+ | InvalidOperationError
716
+ | InvalidParameterError
717
+ | OperationAbortedError
718
+ | ResourceNotFoundError
719
+ | ServiceUnavailableError
720
+ >;
721
+
722
+ /**
723
+ * @see {@link DescribeAccountPoliciesCommand}
724
+ */
725
+ describeAccountPolicies(
726
+ args: DescribeAccountPoliciesCommandInput,
727
+ options?: HttpHandlerOptions,
728
+ ): Effect.Effect<
729
+ DescribeAccountPoliciesCommandOutput,
730
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
731
+ >;
732
+
733
+ /**
734
+ * @see {@link DescribeConfigurationTemplatesCommand}
735
+ */
736
+ describeConfigurationTemplates(
737
+ args: DescribeConfigurationTemplatesCommandInput,
738
+ options?: HttpHandlerOptions,
739
+ ): Effect.Effect<
740
+ DescribeConfigurationTemplatesCommandOutput,
741
+ SdkError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError
742
+ >;
743
+
744
+ /**
745
+ * @see {@link DescribeDeliveriesCommand}
746
+ */
747
+ describeDeliveries(
748
+ args: DescribeDeliveriesCommandInput,
749
+ options?: HttpHandlerOptions,
750
+ ): Effect.Effect<
751
+ DescribeDeliveriesCommandOutput,
752
+ SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
753
+ >;
754
+
755
+ /**
756
+ * @see {@link DescribeDeliveryDestinationsCommand}
757
+ */
758
+ describeDeliveryDestinations(
759
+ args: DescribeDeliveryDestinationsCommandInput,
760
+ options?: HttpHandlerOptions,
761
+ ): Effect.Effect<
762
+ DescribeDeliveryDestinationsCommandOutput,
763
+ SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
764
+ >;
765
+
766
+ /**
767
+ * @see {@link DescribeDeliverySourcesCommand}
768
+ */
769
+ describeDeliverySources(
770
+ args: DescribeDeliverySourcesCommandInput,
771
+ options?: HttpHandlerOptions,
772
+ ): Effect.Effect<
773
+ DescribeDeliverySourcesCommandOutput,
774
+ SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
775
+ >;
776
+
777
+ /**
778
+ * @see {@link DescribeDestinationsCommand}
779
+ */
780
+ describeDestinations(
781
+ args: DescribeDestinationsCommandInput,
782
+ options?: HttpHandlerOptions,
783
+ ): Effect.Effect<
784
+ DescribeDestinationsCommandOutput,
785
+ SdkError | InvalidParameterError | ServiceUnavailableError
786
+ >;
787
+
788
+ /**
789
+ * @see {@link DescribeExportTasksCommand}
790
+ */
791
+ describeExportTasks(
792
+ args: DescribeExportTasksCommandInput,
793
+ options?: HttpHandlerOptions,
794
+ ): Effect.Effect<
795
+ DescribeExportTasksCommandOutput,
796
+ SdkError | InvalidParameterError | ServiceUnavailableError
797
+ >;
798
+
799
+ /**
800
+ * @see {@link DescribeFieldIndexesCommand}
801
+ */
802
+ describeFieldIndexes(
803
+ args: DescribeFieldIndexesCommandInput,
804
+ options?: HttpHandlerOptions,
805
+ ): Effect.Effect<
806
+ DescribeFieldIndexesCommandOutput,
807
+ | SdkError
808
+ | InvalidParameterError
809
+ | LimitExceededError
810
+ | OperationAbortedError
811
+ | ResourceNotFoundError
812
+ | ServiceUnavailableError
813
+ >;
814
+
815
+ /**
816
+ * @see {@link DescribeIndexPoliciesCommand}
817
+ */
818
+ describeIndexPolicies(
819
+ args: DescribeIndexPoliciesCommandInput,
820
+ options?: HttpHandlerOptions,
821
+ ): Effect.Effect<
822
+ DescribeIndexPoliciesCommandOutput,
823
+ | SdkError
824
+ | InvalidParameterError
825
+ | LimitExceededError
826
+ | OperationAbortedError
827
+ | ResourceNotFoundError
828
+ | ServiceUnavailableError
829
+ >;
830
+
831
+ /**
832
+ * @see {@link DescribeLogGroupsCommand}
833
+ */
834
+ describeLogGroups(
835
+ args: DescribeLogGroupsCommandInput,
836
+ options?: HttpHandlerOptions,
837
+ ): Effect.Effect<
838
+ DescribeLogGroupsCommandOutput,
839
+ SdkError | InvalidParameterError | ServiceUnavailableError
840
+ >;
841
+
842
+ /**
843
+ * @see {@link DescribeLogStreamsCommand}
844
+ */
845
+ describeLogStreams(
846
+ args: DescribeLogStreamsCommandInput,
847
+ options?: HttpHandlerOptions,
848
+ ): Effect.Effect<
849
+ DescribeLogStreamsCommandOutput,
850
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
851
+ >;
852
+
853
+ /**
854
+ * @see {@link DescribeMetricFiltersCommand}
855
+ */
856
+ describeMetricFilters(
857
+ args: DescribeMetricFiltersCommandInput,
858
+ options?: HttpHandlerOptions,
859
+ ): Effect.Effect<
860
+ DescribeMetricFiltersCommandOutput,
861
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
862
+ >;
863
+
864
+ /**
865
+ * @see {@link DescribeQueriesCommand}
866
+ */
867
+ describeQueries(
868
+ args: DescribeQueriesCommandInput,
869
+ options?: HttpHandlerOptions,
870
+ ): Effect.Effect<
871
+ DescribeQueriesCommandOutput,
872
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
873
+ >;
874
+
875
+ /**
876
+ * @see {@link DescribeQueryDefinitionsCommand}
877
+ */
878
+ describeQueryDefinitions(
879
+ args: DescribeQueryDefinitionsCommandInput,
880
+ options?: HttpHandlerOptions,
881
+ ): Effect.Effect<
882
+ DescribeQueryDefinitionsCommandOutput,
883
+ SdkError | InvalidParameterError | ServiceUnavailableError
884
+ >;
885
+
886
+ /**
887
+ * @see {@link DescribeResourcePoliciesCommand}
888
+ */
889
+ describeResourcePolicies(
890
+ args: DescribeResourcePoliciesCommandInput,
891
+ options?: HttpHandlerOptions,
892
+ ): Effect.Effect<
893
+ DescribeResourcePoliciesCommandOutput,
894
+ SdkError | InvalidParameterError | ServiceUnavailableError
895
+ >;
896
+
897
+ /**
898
+ * @see {@link DescribeSubscriptionFiltersCommand}
899
+ */
900
+ describeSubscriptionFilters(
901
+ args: DescribeSubscriptionFiltersCommandInput,
902
+ options?: HttpHandlerOptions,
903
+ ): Effect.Effect<
904
+ DescribeSubscriptionFiltersCommandOutput,
905
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
906
+ >;
907
+
908
+ /**
909
+ * @see {@link DisassociateKmsKeyCommand}
910
+ */
911
+ disassociateKmsKey(
912
+ args: DisassociateKmsKeyCommandInput,
913
+ options?: HttpHandlerOptions,
914
+ ): Effect.Effect<
915
+ DisassociateKmsKeyCommandOutput,
916
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
917
+ >;
918
+
919
+ /**
920
+ * @see {@link FilterLogEventsCommand}
921
+ */
922
+ filterLogEvents(
923
+ args: FilterLogEventsCommandInput,
924
+ options?: HttpHandlerOptions,
925
+ ): Effect.Effect<
926
+ FilterLogEventsCommandOutput,
927
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
928
+ >;
929
+
930
+ /**
931
+ * @see {@link GetDataProtectionPolicyCommand}
932
+ */
933
+ getDataProtectionPolicy(
934
+ args: GetDataProtectionPolicyCommandInput,
935
+ options?: HttpHandlerOptions,
936
+ ): Effect.Effect<
937
+ GetDataProtectionPolicyCommandOutput,
938
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
939
+ >;
940
+
941
+ /**
942
+ * @see {@link GetDeliveryCommand}
943
+ */
944
+ getDelivery(
945
+ args: GetDeliveryCommandInput,
946
+ options?: HttpHandlerOptions,
947
+ ): Effect.Effect<
948
+ GetDeliveryCommandOutput,
949
+ | SdkError
950
+ | ResourceNotFoundError
951
+ | ServiceQuotaExceededError
952
+ | ServiceUnavailableError
953
+ | ThrottlingError
954
+ | ValidationError
955
+ >;
956
+
957
+ /**
958
+ * @see {@link GetDeliveryDestinationCommand}
959
+ */
960
+ getDeliveryDestination(
961
+ args: GetDeliveryDestinationCommandInput,
962
+ options?: HttpHandlerOptions,
963
+ ): Effect.Effect<
964
+ GetDeliveryDestinationCommandOutput,
965
+ | SdkError
966
+ | ResourceNotFoundError
967
+ | ServiceQuotaExceededError
968
+ | ServiceUnavailableError
969
+ | ThrottlingError
970
+ | ValidationError
971
+ >;
972
+
973
+ /**
974
+ * @see {@link GetDeliveryDestinationPolicyCommand}
975
+ */
976
+ getDeliveryDestinationPolicy(
977
+ args: GetDeliveryDestinationPolicyCommandInput,
978
+ options?: HttpHandlerOptions,
979
+ ): Effect.Effect<
980
+ GetDeliveryDestinationPolicyCommandOutput,
981
+ SdkError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
982
+ >;
983
+
984
+ /**
985
+ * @see {@link GetDeliverySourceCommand}
986
+ */
987
+ getDeliverySource(
988
+ args: GetDeliverySourceCommandInput,
989
+ options?: HttpHandlerOptions,
990
+ ): Effect.Effect<
991
+ GetDeliverySourceCommandOutput,
992
+ | SdkError
993
+ | ResourceNotFoundError
994
+ | ServiceQuotaExceededError
995
+ | ServiceUnavailableError
996
+ | ThrottlingError
997
+ | ValidationError
998
+ >;
999
+
1000
+ /**
1001
+ * @see {@link GetIntegrationCommand}
1002
+ */
1003
+ getIntegration(
1004
+ args: GetIntegrationCommandInput,
1005
+ options?: HttpHandlerOptions,
1006
+ ): Effect.Effect<
1007
+ GetIntegrationCommandOutput,
1008
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1009
+ >;
1010
+
1011
+ /**
1012
+ * @see {@link GetLogAnomalyDetectorCommand}
1013
+ */
1014
+ getLogAnomalyDetector(
1015
+ args: GetLogAnomalyDetectorCommandInput,
1016
+ options?: HttpHandlerOptions,
1017
+ ): Effect.Effect<
1018
+ GetLogAnomalyDetectorCommandOutput,
1019
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1020
+ >;
1021
+
1022
+ /**
1023
+ * @see {@link GetLogEventsCommand}
1024
+ */
1025
+ getLogEvents(
1026
+ args: GetLogEventsCommandInput,
1027
+ options?: HttpHandlerOptions,
1028
+ ): Effect.Effect<
1029
+ GetLogEventsCommandOutput,
1030
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1031
+ >;
1032
+
1033
+ /**
1034
+ * @see {@link GetLogGroupFieldsCommand}
1035
+ */
1036
+ getLogGroupFields(
1037
+ args: GetLogGroupFieldsCommandInput,
1038
+ options?: HttpHandlerOptions,
1039
+ ): Effect.Effect<
1040
+ GetLogGroupFieldsCommandOutput,
1041
+ SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1042
+ >;
1043
+
1044
+ /**
1045
+ * @see {@link GetLogRecordCommand}
1046
+ */
1047
+ getLogRecord(
1048
+ args: GetLogRecordCommandInput,
1049
+ options?: HttpHandlerOptions,
1050
+ ): Effect.Effect<
1051
+ GetLogRecordCommandOutput,
1052
+ SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1053
+ >;
1054
+
1055
+ /**
1056
+ * @see {@link GetQueryResultsCommand}
1057
+ */
1058
+ getQueryResults(
1059
+ args: GetQueryResultsCommandInput,
1060
+ options?: HttpHandlerOptions,
1061
+ ): Effect.Effect<
1062
+ GetQueryResultsCommandOutput,
1063
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1064
+ >;
1065
+
1066
+ /**
1067
+ * @see {@link GetTransformerCommand}
1068
+ */
1069
+ getTransformer(
1070
+ args: GetTransformerCommandInput,
1071
+ options?: HttpHandlerOptions,
1072
+ ): Effect.Effect<
1073
+ GetTransformerCommandOutput,
1074
+ SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1075
+ >;
1076
+
1077
+ /**
1078
+ * @see {@link ListAnomaliesCommand}
1079
+ */
1080
+ listAnomalies(
1081
+ args: ListAnomaliesCommandInput,
1082
+ options?: HttpHandlerOptions,
1083
+ ): Effect.Effect<
1084
+ ListAnomaliesCommandOutput,
1085
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1086
+ >;
1087
+
1088
+ /**
1089
+ * @see {@link ListIntegrationsCommand}
1090
+ */
1091
+ listIntegrations(
1092
+ args: ListIntegrationsCommandInput,
1093
+ options?: HttpHandlerOptions,
1094
+ ): Effect.Effect<
1095
+ ListIntegrationsCommandOutput,
1096
+ SdkError | InvalidParameterError | ServiceUnavailableError
1097
+ >;
1098
+
1099
+ /**
1100
+ * @see {@link ListLogAnomalyDetectorsCommand}
1101
+ */
1102
+ listLogAnomalyDetectors(
1103
+ args: ListLogAnomalyDetectorsCommandInput,
1104
+ options?: HttpHandlerOptions,
1105
+ ): Effect.Effect<
1106
+ ListLogAnomalyDetectorsCommandOutput,
1107
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1108
+ >;
1109
+
1110
+ /**
1111
+ * @see {@link ListLogGroupsForQueryCommand}
1112
+ */
1113
+ listLogGroupsForQuery(
1114
+ args: ListLogGroupsForQueryCommandInput,
1115
+ options?: HttpHandlerOptions,
1116
+ ): Effect.Effect<
1117
+ ListLogGroupsForQueryCommandOutput,
1118
+ SdkError | AccessDeniedError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1119
+ >;
1120
+
1121
+ /**
1122
+ * @see {@link ListTagsForResourceCommand}
1123
+ */
1124
+ listTagsForResource(
1125
+ args: ListTagsForResourceCommandInput,
1126
+ options?: HttpHandlerOptions,
1127
+ ): Effect.Effect<
1128
+ ListTagsForResourceCommandOutput,
1129
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1130
+ >;
1131
+
1132
+ /**
1133
+ * @see {@link ListTagsLogGroupCommand}
1134
+ */
1135
+ listTagsLogGroup(
1136
+ args: ListTagsLogGroupCommandInput,
1137
+ options?: HttpHandlerOptions,
1138
+ ): Effect.Effect<
1139
+ ListTagsLogGroupCommandOutput,
1140
+ SdkError | ResourceNotFoundError | ServiceUnavailableError
1141
+ >;
1142
+
1143
+ /**
1144
+ * @see {@link PutAccountPolicyCommand}
1145
+ */
1146
+ putAccountPolicy(
1147
+ args: PutAccountPolicyCommandInput,
1148
+ options?: HttpHandlerOptions,
1149
+ ): Effect.Effect<
1150
+ PutAccountPolicyCommandOutput,
1151
+ SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError
1152
+ >;
1153
+
1154
+ /**
1155
+ * @see {@link PutDataProtectionPolicyCommand}
1156
+ */
1157
+ putDataProtectionPolicy(
1158
+ args: PutDataProtectionPolicyCommandInput,
1159
+ options?: HttpHandlerOptions,
1160
+ ): Effect.Effect<
1161
+ PutDataProtectionPolicyCommandOutput,
1162
+ | SdkError
1163
+ | InvalidParameterError
1164
+ | LimitExceededError
1165
+ | OperationAbortedError
1166
+ | ResourceNotFoundError
1167
+ | ServiceUnavailableError
1168
+ >;
1169
+
1170
+ /**
1171
+ * @see {@link PutDeliveryDestinationCommand}
1172
+ */
1173
+ putDeliveryDestination(
1174
+ args: PutDeliveryDestinationCommandInput,
1175
+ options?: HttpHandlerOptions,
1176
+ ): Effect.Effect<
1177
+ PutDeliveryDestinationCommandOutput,
1178
+ | SdkError
1179
+ | ConflictError
1180
+ | ResourceNotFoundError
1181
+ | ServiceQuotaExceededError
1182
+ | ServiceUnavailableError
1183
+ | ThrottlingError
1184
+ | ValidationError
1185
+ >;
1186
+
1187
+ /**
1188
+ * @see {@link PutDeliveryDestinationPolicyCommand}
1189
+ */
1190
+ putDeliveryDestinationPolicy(
1191
+ args: PutDeliveryDestinationPolicyCommandInput,
1192
+ options?: HttpHandlerOptions,
1193
+ ): Effect.Effect<
1194
+ PutDeliveryDestinationPolicyCommandOutput,
1195
+ SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
1196
+ >;
1197
+
1198
+ /**
1199
+ * @see {@link PutDeliverySourceCommand}
1200
+ */
1201
+ putDeliverySource(
1202
+ args: PutDeliverySourceCommandInput,
1203
+ options?: HttpHandlerOptions,
1204
+ ): Effect.Effect<
1205
+ PutDeliverySourceCommandOutput,
1206
+ | SdkError
1207
+ | ConflictError
1208
+ | ResourceNotFoundError
1209
+ | ServiceQuotaExceededError
1210
+ | ServiceUnavailableError
1211
+ | ThrottlingError
1212
+ | ValidationError
1213
+ >;
1214
+
1215
+ /**
1216
+ * @see {@link PutDestinationCommand}
1217
+ */
1218
+ putDestination(
1219
+ args: PutDestinationCommandInput,
1220
+ options?: HttpHandlerOptions,
1221
+ ): Effect.Effect<
1222
+ PutDestinationCommandOutput,
1223
+ SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1224
+ >;
1225
+
1226
+ /**
1227
+ * @see {@link PutDestinationPolicyCommand}
1228
+ */
1229
+ putDestinationPolicy(
1230
+ args: PutDestinationPolicyCommandInput,
1231
+ options?: HttpHandlerOptions,
1232
+ ): Effect.Effect<
1233
+ PutDestinationPolicyCommandOutput,
1234
+ SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1235
+ >;
1236
+
1237
+ /**
1238
+ * @see {@link PutIndexPolicyCommand}
1239
+ */
1240
+ putIndexPolicy(
1241
+ args: PutIndexPolicyCommandInput,
1242
+ options?: HttpHandlerOptions,
1243
+ ): Effect.Effect<
1244
+ PutIndexPolicyCommandOutput,
1245
+ | SdkError
1246
+ | InvalidParameterError
1247
+ | LimitExceededError
1248
+ | OperationAbortedError
1249
+ | ResourceNotFoundError
1250
+ | ServiceUnavailableError
1251
+ >;
1252
+
1253
+ /**
1254
+ * @see {@link PutIntegrationCommand}
1255
+ */
1256
+ putIntegration(
1257
+ args: PutIntegrationCommandInput,
1258
+ options?: HttpHandlerOptions,
1259
+ ): Effect.Effect<
1260
+ PutIntegrationCommandOutput,
1261
+ SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError | ValidationError
1262
+ >;
1263
+
1264
+ /**
1265
+ * @see {@link PutLogEventsCommand}
1266
+ */
1267
+ putLogEvents(
1268
+ args: PutLogEventsCommandInput,
1269
+ options?: HttpHandlerOptions,
1270
+ ): Effect.Effect<
1271
+ PutLogEventsCommandOutput,
1272
+ | SdkError
1273
+ | DataAlreadyAcceptedError
1274
+ | InvalidParameterError
1275
+ | InvalidSequenceTokenError
1276
+ | ResourceNotFoundError
1277
+ | ServiceUnavailableError
1278
+ | UnrecognizedClientError
1279
+ >;
1280
+
1281
+ /**
1282
+ * @see {@link PutMetricFilterCommand}
1283
+ */
1284
+ putMetricFilter(
1285
+ args: PutMetricFilterCommandInput,
1286
+ options?: HttpHandlerOptions,
1287
+ ): Effect.Effect<
1288
+ PutMetricFilterCommandOutput,
1289
+ | SdkError
1290
+ | InvalidOperationError
1291
+ | InvalidParameterError
1292
+ | LimitExceededError
1293
+ | OperationAbortedError
1294
+ | ResourceNotFoundError
1295
+ | ServiceUnavailableError
1296
+ >;
1297
+
1298
+ /**
1299
+ * @see {@link PutQueryDefinitionCommand}
1300
+ */
1301
+ putQueryDefinition(
1302
+ args: PutQueryDefinitionCommandInput,
1303
+ options?: HttpHandlerOptions,
1304
+ ): Effect.Effect<
1305
+ PutQueryDefinitionCommandOutput,
1306
+ SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1307
+ >;
1308
+
1309
+ /**
1310
+ * @see {@link PutResourcePolicyCommand}
1311
+ */
1312
+ putResourcePolicy(
1313
+ args: PutResourcePolicyCommandInput,
1314
+ options?: HttpHandlerOptions,
1315
+ ): Effect.Effect<
1316
+ PutResourcePolicyCommandOutput,
1317
+ SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError
1318
+ >;
1319
+
1320
+ /**
1321
+ * @see {@link PutRetentionPolicyCommand}
1322
+ */
1323
+ putRetentionPolicy(
1324
+ args: PutRetentionPolicyCommandInput,
1325
+ options?: HttpHandlerOptions,
1326
+ ): Effect.Effect<
1327
+ PutRetentionPolicyCommandOutput,
1328
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1329
+ >;
1330
+
1331
+ /**
1332
+ * @see {@link PutSubscriptionFilterCommand}
1333
+ */
1334
+ putSubscriptionFilter(
1335
+ args: PutSubscriptionFilterCommandInput,
1336
+ options?: HttpHandlerOptions,
1337
+ ): Effect.Effect<
1338
+ PutSubscriptionFilterCommandOutput,
1339
+ | SdkError
1340
+ | InvalidOperationError
1341
+ | InvalidParameterError
1342
+ | LimitExceededError
1343
+ | OperationAbortedError
1344
+ | ResourceNotFoundError
1345
+ | ServiceUnavailableError
1346
+ >;
1347
+
1348
+ /**
1349
+ * @see {@link PutTransformerCommand}
1350
+ */
1351
+ putTransformer(
1352
+ args: PutTransformerCommandInput,
1353
+ options?: HttpHandlerOptions,
1354
+ ): Effect.Effect<
1355
+ PutTransformerCommandOutput,
1356
+ | SdkError
1357
+ | InvalidOperationError
1358
+ | InvalidParameterError
1359
+ | LimitExceededError
1360
+ | OperationAbortedError
1361
+ | ResourceNotFoundError
1362
+ | ServiceUnavailableError
1363
+ >;
1364
+
1365
+ /**
1366
+ * @see {@link StartLiveTailCommand}
1367
+ */
1368
+ startLiveTail(
1369
+ args: StartLiveTailCommandInput,
1370
+ options?: HttpHandlerOptions,
1371
+ ): Effect.Effect<
1372
+ StartLiveTailCommandOutput,
1373
+ | SdkError
1374
+ | AccessDeniedError
1375
+ | InvalidOperationError
1376
+ | InvalidParameterError
1377
+ | LimitExceededError
1378
+ | ResourceNotFoundError
1379
+ >;
1380
+
1381
+ /**
1382
+ * @see {@link StartQueryCommand}
1383
+ */
1384
+ startQuery(
1385
+ args: StartQueryCommandInput,
1386
+ options?: HttpHandlerOptions,
1387
+ ): Effect.Effect<
1388
+ StartQueryCommandOutput,
1389
+ | SdkError
1390
+ | InvalidParameterError
1391
+ | LimitExceededError
1392
+ | MalformedQueryError
1393
+ | ResourceNotFoundError
1394
+ | ServiceUnavailableError
1395
+ >;
1396
+
1397
+ /**
1398
+ * @see {@link StopQueryCommand}
1399
+ */
1400
+ stopQuery(
1401
+ args: StopQueryCommandInput,
1402
+ options?: HttpHandlerOptions,
1403
+ ): Effect.Effect<
1404
+ StopQueryCommandOutput,
1405
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1406
+ >;
1407
+
1408
+ /**
1409
+ * @see {@link TagLogGroupCommand}
1410
+ */
1411
+ tagLogGroup(
1412
+ args: TagLogGroupCommandInput,
1413
+ options?: HttpHandlerOptions,
1414
+ ): Effect.Effect<
1415
+ TagLogGroupCommandOutput,
1416
+ SdkError | InvalidParameterError | ResourceNotFoundError
1417
+ >;
1418
+
1419
+ /**
1420
+ * @see {@link TagResourceCommand}
1421
+ */
1422
+ tagResource(
1423
+ args: TagResourceCommandInput,
1424
+ options?: HttpHandlerOptions,
1425
+ ): Effect.Effect<
1426
+ TagResourceCommandOutput,
1427
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError
1428
+ >;
1429
+
1430
+ /**
1431
+ * @see {@link TestMetricFilterCommand}
1432
+ */
1433
+ testMetricFilter(
1434
+ args: TestMetricFilterCommandInput,
1435
+ options?: HttpHandlerOptions,
1436
+ ): Effect.Effect<
1437
+ TestMetricFilterCommandOutput,
1438
+ SdkError | InvalidParameterError | ServiceUnavailableError
1439
+ >;
1440
+
1441
+ /**
1442
+ * @see {@link TestTransformerCommand}
1443
+ */
1444
+ testTransformer(
1445
+ args: TestTransformerCommandInput,
1446
+ options?: HttpHandlerOptions,
1447
+ ): Effect.Effect<
1448
+ TestTransformerCommandOutput,
1449
+ SdkError | InvalidOperationError | InvalidParameterError | ServiceUnavailableError
1450
+ >;
1451
+
1452
+ /**
1453
+ * @see {@link UntagLogGroupCommand}
1454
+ */
1455
+ untagLogGroup(
1456
+ args: UntagLogGroupCommandInput,
1457
+ options?: HttpHandlerOptions,
1458
+ ): Effect.Effect<
1459
+ UntagLogGroupCommandOutput,
1460
+ SdkError | ResourceNotFoundError
1461
+ >;
1462
+
1463
+ /**
1464
+ * @see {@link UntagResourceCommand}
1465
+ */
1466
+ untagResource(
1467
+ args: UntagResourceCommandInput,
1468
+ options?: HttpHandlerOptions,
1469
+ ): Effect.Effect<
1470
+ UntagResourceCommandOutput,
1471
+ SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1472
+ >;
1473
+
1474
+ /**
1475
+ * @see {@link UpdateAnomalyCommand}
1476
+ */
1477
+ updateAnomaly(
1478
+ args: UpdateAnomalyCommandInput,
1479
+ options?: HttpHandlerOptions,
1480
+ ): Effect.Effect<
1481
+ UpdateAnomalyCommandOutput,
1482
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1483
+ >;
1484
+
1485
+ /**
1486
+ * @see {@link UpdateDeliveryConfigurationCommand}
1487
+ */
1488
+ updateDeliveryConfiguration(
1489
+ args: UpdateDeliveryConfigurationCommandInput,
1490
+ options?: HttpHandlerOptions,
1491
+ ): Effect.Effect<
1492
+ UpdateDeliveryConfigurationCommandOutput,
1493
+ | SdkError
1494
+ | AccessDeniedError
1495
+ | ConflictError
1496
+ | ResourceNotFoundError
1497
+ | ServiceUnavailableError
1498
+ | ThrottlingError
1499
+ | ValidationError
1500
+ >;
1501
+
1502
+ /**
1503
+ * @see {@link UpdateLogAnomalyDetectorCommand}
1504
+ */
1505
+ updateLogAnomalyDetector(
1506
+ args: UpdateLogAnomalyDetectorCommandInput,
1507
+ options?: HttpHandlerOptions,
1508
+ ): Effect.Effect<
1509
+ UpdateLogAnomalyDetectorCommandOutput,
1510
+ SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1511
+ >;
1512
+ }
1513
+
1514
+ /**
1515
+ * @since 1.0.0
1516
+ * @category constructors
1517
+ */
1518
+ export const makeCloudWatchLogsService = Effect.gen(function*() {
1519
+ const client = yield* Instance.CloudWatchLogsClientInstance;
1520
+
1521
+ return Service.fromClientAndCommands<CloudWatchLogsService$>(client, commands, AllServiceErrors);
1522
+ });
1523
+
1524
+ /**
1525
+ * @since 1.0.0
1526
+ * @category models
1527
+ */
1528
+ export class CloudWatchLogsService extends Effect.Tag("@effect-aws/client-cloudwatch-logs/CloudWatchLogsService")<
1529
+ CloudWatchLogsService,
1530
+ CloudWatchLogsService$
1531
+ >() {
1532
+ static readonly defaultLayer = Layer.effect(this, makeCloudWatchLogsService).pipe(Layer.provide(Instance.layer));
1533
+ static readonly layer = (config: CloudWatchLogsService.Config) =>
1534
+ Layer.effect(this, makeCloudWatchLogsService).pipe(
1535
+ Layer.provide(Instance.layer),
1536
+ Layer.provide(CloudWatchLogsServiceConfig.setCloudWatchLogsServiceConfig(config)),
1537
+ );
1538
+ static readonly baseLayer = (
1539
+ evaluate: (defaultConfig: CloudWatchLogsClientConfig) => CloudWatchLogsClient,
1540
+ ) =>
1541
+ Layer.effect(this, makeCloudWatchLogsService).pipe(
1542
+ Layer.provide(
1543
+ Layer.effect(
1544
+ Instance.CloudWatchLogsClientInstance,
1545
+ Effect.map(CloudWatchLogsServiceConfig.toCloudWatchLogsClientConfig, evaluate),
1546
+ ),
1547
+ ),
1548
+ );
1549
+ }
1550
+
1551
+ /**
1552
+ * @since 1.0.0
1553
+ */
1554
+ export declare namespace CloudWatchLogsService {
1555
+ /**
1556
+ * @since 1.0.0
1557
+ */
1558
+ export interface Config extends Omit<CloudWatchLogsClientConfig, "logger"> {
1559
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1560
+ }
1561
+ }