@effect-aws/client-cloudwatch-logs 1.0.1 → 1.2.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/CHANGELOG.md +12 -0
- package/README.md +13 -40
- package/lib/CloudWatchLogsService.d.ts +87 -9
- package/lib/CloudWatchLogsService.js +37 -10
- package/lib/esm/CloudWatchLogsService.js +37 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @effect-aws/client-cloudwatch-logs
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b24f980`](https://github.com/floydspace/effect-aws/commit/b24f98045ee3383c54d1152054e5b77f01d5f5e3) Thanks [@floydspace](https://github.com/floydspace)! - update services
|
|
8
|
+
|
|
9
|
+
## 1.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#80](https://github.com/floydspace/effect-aws/pull/80) [`4b16fbe`](https://github.com/floydspace/effect-aws/commit/4b16fbebce8131df7798ee92f43cf6b7df3e907c) Thanks [@floydspace](https://github.com/floydspace)! - simplify layers configuration (closes #78)
|
|
14
|
+
|
|
3
15
|
## 1.0.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -14,13 +14,13 @@ npm install --save @effect-aws/client-cloudwatch-logs
|
|
|
14
14
|
With default CloudWatchLogsClient instance:
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
import {
|
|
17
|
+
import { CloudWatchLogs } from "@effect-aws/client-cloudwatch-logs";
|
|
18
18
|
|
|
19
|
-
const program =
|
|
19
|
+
const program = CloudWatchLogs.describeLogGroups(args);
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
23
|
-
Effect.provide(
|
|
23
|
+
Effect.provide(CloudWatchLogs.defaultLayer),
|
|
24
24
|
Effect.runPromise,
|
|
25
25
|
);
|
|
26
26
|
```
|
|
@@ -28,23 +28,15 @@ const result = pipe(
|
|
|
28
28
|
With custom CloudWatchLogsClient instance:
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
import {
|
|
32
|
-
CloudWatchLogsService,
|
|
33
|
-
BaseCloudWatchLogsServiceLayer,
|
|
34
|
-
CloudWatchLogsClientInstance,
|
|
35
|
-
} from "@effect-aws/client-cloudwatch-logs";
|
|
31
|
+
import { CloudWatchLogs } from "@effect-aws/client-cloudwatch-logs";
|
|
36
32
|
|
|
37
|
-
const program =
|
|
38
|
-
|
|
39
|
-
const CloudWatchLogsClientInstanceLayer = Layer.succeed(
|
|
40
|
-
CloudWatchLogsClientInstance,
|
|
41
|
-
new CloudWatchLogsClient({ region: "eu-central-1" }),
|
|
42
|
-
);
|
|
33
|
+
const program = CloudWatchLogs.describeLogGroups(args);
|
|
43
34
|
|
|
44
35
|
const result = await pipe(
|
|
45
36
|
program,
|
|
46
|
-
Effect.provide(
|
|
47
|
-
|
|
37
|
+
Effect.provide(
|
|
38
|
+
CloudWatchLogs.baseLayer(() => new CloudWatchLogsClient({ region: "eu-central-1" })),
|
|
39
|
+
),
|
|
48
40
|
Effect.runPromise,
|
|
49
41
|
);
|
|
50
42
|
```
|
|
@@ -52,34 +44,15 @@ const result = await pipe(
|
|
|
52
44
|
With custom CloudWatchLogsClient configuration:
|
|
53
45
|
|
|
54
46
|
```typescript
|
|
55
|
-
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
DefaultCloudWatchLogsClientConfigLayer,
|
|
59
|
-
CloudWatchLogsClientInstance,
|
|
60
|
-
CloudWatchLogsClientInstanceConfig,
|
|
61
|
-
} from "@effect-aws/client-cloudwatch-logs";
|
|
62
|
-
|
|
63
|
-
const program = CloudWatchLogsService.describeLogGroups(args);
|
|
64
|
-
|
|
65
|
-
const CloudWatchLogsClientInstanceLayer = Layer.provide(
|
|
66
|
-
Layer.effect(
|
|
67
|
-
CloudWatchLogsClientInstance,
|
|
68
|
-
CloudWatchLogsClientInstanceConfig.pipe(
|
|
69
|
-
Effect.map(
|
|
70
|
-
(config) => new CloudWatchLogsClient({ ...config, region: "eu-central-1" }),
|
|
71
|
-
),
|
|
72
|
-
),
|
|
73
|
-
),
|
|
74
|
-
DefaultCloudWatchLogsClientConfigLayer,
|
|
75
|
-
);
|
|
47
|
+
import { CloudWatchLogs } from "@effect-aws/client-cloudwatch-logs";
|
|
48
|
+
|
|
49
|
+
const program = CloudWatchLogs.describeLogGroups(args);
|
|
76
50
|
|
|
77
51
|
const result = await pipe(
|
|
78
52
|
program,
|
|
79
|
-
Effect.provide(
|
|
80
|
-
Effect.provide(CloudWatchLogsClientInstanceLayer),
|
|
53
|
+
Effect.provide(CloudWatchLogs.layer({ region: "eu-central-1" })),
|
|
81
54
|
Effect.runPromiseExit,
|
|
82
55
|
);
|
|
83
56
|
```
|
|
84
57
|
|
|
85
|
-
or
|
|
58
|
+
or use `CloudWatchLogs.baseLayer((default) => new CloudWatchLogsClient({ ...default, region: "eu-central-1" }))`
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type AssociateKmsKeyCommandInput, type AssociateKmsKeyCommandOutput, type CancelExportTaskCommandInput, type CancelExportTaskCommandOutput, type CreateDeliveryCommandInput, type CreateDeliveryCommandOutput, type CreateExportTaskCommandInput, type CreateExportTaskCommandOutput, type CreateLogAnomalyDetectorCommandInput, type CreateLogAnomalyDetectorCommandOutput, type CreateLogGroupCommandInput, type CreateLogGroupCommandOutput, type CreateLogStreamCommandInput, type CreateLogStreamCommandOutput, type DeleteAccountPolicyCommandInput, type DeleteAccountPolicyCommandOutput, type DeleteDataProtectionPolicyCommandInput, type DeleteDataProtectionPolicyCommandOutput, type DeleteDeliveryCommandInput, type DeleteDeliveryCommandOutput, type DeleteDeliveryDestinationCommandInput, type DeleteDeliveryDestinationCommandOutput, type DeleteDeliveryDestinationPolicyCommandInput, type DeleteDeliveryDestinationPolicyCommandOutput, type DeleteDeliverySourceCommandInput, type DeleteDeliverySourceCommandOutput, type DeleteDestinationCommandInput, type DeleteDestinationCommandOutput, type DeleteLogAnomalyDetectorCommandInput, type DeleteLogAnomalyDetectorCommandOutput, type DeleteLogGroupCommandInput, type DeleteLogGroupCommandOutput, type DeleteLogStreamCommandInput, type DeleteLogStreamCommandOutput, type DeleteMetricFilterCommandInput, type DeleteMetricFilterCommandOutput, type DeleteQueryDefinitionCommandInput, type DeleteQueryDefinitionCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeleteRetentionPolicyCommandInput, type DeleteRetentionPolicyCommandOutput, type DeleteSubscriptionFilterCommandInput, type DeleteSubscriptionFilterCommandOutput, type DescribeAccountPoliciesCommandInput, type DescribeAccountPoliciesCommandOutput, type DescribeConfigurationTemplatesCommandInput, type DescribeConfigurationTemplatesCommandOutput, type DescribeDeliveriesCommandInput, type DescribeDeliveriesCommandOutput, type DescribeDeliveryDestinationsCommandInput, type DescribeDeliveryDestinationsCommandOutput, type DescribeDeliverySourcesCommandInput, type DescribeDeliverySourcesCommandOutput, type DescribeDestinationsCommandInput, type DescribeDestinationsCommandOutput, type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput, type DescribeLogGroupsCommandInput, type DescribeLogGroupsCommandOutput, type DescribeLogStreamsCommandInput, type DescribeLogStreamsCommandOutput, type DescribeMetricFiltersCommandInput, type DescribeMetricFiltersCommandOutput, type DescribeQueriesCommandInput, type DescribeQueriesCommandOutput, type DescribeQueryDefinitionsCommandInput, type DescribeQueryDefinitionsCommandOutput, type DescribeResourcePoliciesCommandInput, type DescribeResourcePoliciesCommandOutput, type DescribeSubscriptionFiltersCommandInput, type DescribeSubscriptionFiltersCommandOutput, type DisassociateKmsKeyCommandInput, type DisassociateKmsKeyCommandOutput, type FilterLogEventsCommandInput, type FilterLogEventsCommandOutput, type GetDataProtectionPolicyCommandInput, type GetDataProtectionPolicyCommandOutput, type GetDeliveryCommandInput, type GetDeliveryCommandOutput, type GetDeliveryDestinationCommandInput, type GetDeliveryDestinationCommandOutput, type GetDeliveryDestinationPolicyCommandInput, type GetDeliveryDestinationPolicyCommandOutput, type GetDeliverySourceCommandInput, type GetDeliverySourceCommandOutput, type GetLogAnomalyDetectorCommandInput, type GetLogAnomalyDetectorCommandOutput, type GetLogEventsCommandInput, type GetLogEventsCommandOutput, type GetLogGroupFieldsCommandInput, type GetLogGroupFieldsCommandOutput, type GetLogRecordCommandInput, type GetLogRecordCommandOutput, type GetQueryResultsCommandInput, type GetQueryResultsCommandOutput, type ListAnomaliesCommandInput, type ListAnomaliesCommandOutput, type ListLogAnomalyDetectorsCommandInput, type ListLogAnomalyDetectorsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTagsLogGroupCommandInput, type ListTagsLogGroupCommandOutput, type PutAccountPolicyCommandInput, type PutAccountPolicyCommandOutput, type PutDataProtectionPolicyCommandInput, type PutDataProtectionPolicyCommandOutput, type PutDeliveryDestinationCommandInput, type PutDeliveryDestinationCommandOutput, type PutDeliveryDestinationPolicyCommandInput, type PutDeliveryDestinationPolicyCommandOutput, type PutDeliverySourceCommandInput, type PutDeliverySourceCommandOutput, type PutDestinationCommandInput, type PutDestinationCommandOutput, type PutDestinationPolicyCommandInput, type PutDestinationPolicyCommandOutput, type PutLogEventsCommandInput, type PutLogEventsCommandOutput, type PutMetricFilterCommandInput, type PutMetricFilterCommandOutput, type PutQueryDefinitionCommandInput, type PutQueryDefinitionCommandOutput, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type PutRetentionPolicyCommandInput, type PutRetentionPolicyCommandOutput, type PutSubscriptionFilterCommandInput, type PutSubscriptionFilterCommandOutput, type StartLiveTailCommandInput, type StartLiveTailCommandOutput, type StartQueryCommandInput, type StartQueryCommandOutput, type StopQueryCommandInput, type StopQueryCommandOutput, type TagLogGroupCommandInput, type TagLogGroupCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TestMetricFilterCommandInput, type TestMetricFilterCommandOutput, type UntagLogGroupCommandInput, type UntagLogGroupCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAnomalyCommandInput, type UpdateAnomalyCommandOutput, type UpdateDeliveryConfigurationCommandInput, type UpdateDeliveryConfigurationCommandOutput, type UpdateLogAnomalyDetectorCommandInput, type UpdateLogAnomalyDetectorCommandOutput } from "@aws-sdk/client-cloudwatch-logs";
|
|
4
|
+
import { type CloudWatchLogsClient, type CloudWatchLogsClientConfig, type AssociateKmsKeyCommandInput, type AssociateKmsKeyCommandOutput, type CancelExportTaskCommandInput, type CancelExportTaskCommandOutput, type CreateDeliveryCommandInput, type CreateDeliveryCommandOutput, type CreateExportTaskCommandInput, type CreateExportTaskCommandOutput, type CreateLogAnomalyDetectorCommandInput, type CreateLogAnomalyDetectorCommandOutput, type CreateLogGroupCommandInput, type CreateLogGroupCommandOutput, type CreateLogStreamCommandInput, type CreateLogStreamCommandOutput, type DeleteAccountPolicyCommandInput, type DeleteAccountPolicyCommandOutput, type DeleteDataProtectionPolicyCommandInput, type DeleteDataProtectionPolicyCommandOutput, type DeleteDeliveryCommandInput, type DeleteDeliveryCommandOutput, type DeleteDeliveryDestinationCommandInput, type DeleteDeliveryDestinationCommandOutput, type DeleteDeliveryDestinationPolicyCommandInput, type DeleteDeliveryDestinationPolicyCommandOutput, type DeleteDeliverySourceCommandInput, type DeleteDeliverySourceCommandOutput, type DeleteDestinationCommandInput, type DeleteDestinationCommandOutput, type DeleteIndexPolicyCommandInput, type DeleteIndexPolicyCommandOutput, type DeleteIntegrationCommandInput, type DeleteIntegrationCommandOutput, type DeleteLogAnomalyDetectorCommandInput, type DeleteLogAnomalyDetectorCommandOutput, type DeleteLogGroupCommandInput, type DeleteLogGroupCommandOutput, type DeleteLogStreamCommandInput, type DeleteLogStreamCommandOutput, type DeleteMetricFilterCommandInput, type DeleteMetricFilterCommandOutput, type DeleteQueryDefinitionCommandInput, type DeleteQueryDefinitionCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeleteRetentionPolicyCommandInput, type DeleteRetentionPolicyCommandOutput, type DeleteSubscriptionFilterCommandInput, type DeleteSubscriptionFilterCommandOutput, type DeleteTransformerCommandInput, type DeleteTransformerCommandOutput, type DescribeAccountPoliciesCommandInput, type DescribeAccountPoliciesCommandOutput, type DescribeConfigurationTemplatesCommandInput, type DescribeConfigurationTemplatesCommandOutput, type DescribeDeliveriesCommandInput, type DescribeDeliveriesCommandOutput, type DescribeDeliveryDestinationsCommandInput, type DescribeDeliveryDestinationsCommandOutput, type DescribeDeliverySourcesCommandInput, type DescribeDeliverySourcesCommandOutput, type DescribeDestinationsCommandInput, type DescribeDestinationsCommandOutput, type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput, type DescribeFieldIndexesCommandInput, type DescribeFieldIndexesCommandOutput, type DescribeIndexPoliciesCommandInput, type DescribeIndexPoliciesCommandOutput, type DescribeLogGroupsCommandInput, type DescribeLogGroupsCommandOutput, type DescribeLogStreamsCommandInput, type DescribeLogStreamsCommandOutput, type DescribeMetricFiltersCommandInput, type DescribeMetricFiltersCommandOutput, type DescribeQueriesCommandInput, type DescribeQueriesCommandOutput, type DescribeQueryDefinitionsCommandInput, type DescribeQueryDefinitionsCommandOutput, type DescribeResourcePoliciesCommandInput, type DescribeResourcePoliciesCommandOutput, type DescribeSubscriptionFiltersCommandInput, type DescribeSubscriptionFiltersCommandOutput, type DisassociateKmsKeyCommandInput, type DisassociateKmsKeyCommandOutput, type FilterLogEventsCommandInput, type FilterLogEventsCommandOutput, type GetDataProtectionPolicyCommandInput, type GetDataProtectionPolicyCommandOutput, type GetDeliveryCommandInput, type GetDeliveryCommandOutput, type GetDeliveryDestinationCommandInput, type GetDeliveryDestinationCommandOutput, type GetDeliveryDestinationPolicyCommandInput, type GetDeliveryDestinationPolicyCommandOutput, type GetDeliverySourceCommandInput, type GetDeliverySourceCommandOutput, type GetIntegrationCommandInput, type GetIntegrationCommandOutput, type GetLogAnomalyDetectorCommandInput, type GetLogAnomalyDetectorCommandOutput, type GetLogEventsCommandInput, type GetLogEventsCommandOutput, type GetLogGroupFieldsCommandInput, type GetLogGroupFieldsCommandOutput, type GetLogRecordCommandInput, type GetLogRecordCommandOutput, type GetQueryResultsCommandInput, type GetQueryResultsCommandOutput, type GetTransformerCommandInput, type GetTransformerCommandOutput, type ListAnomaliesCommandInput, type ListAnomaliesCommandOutput, type ListIntegrationsCommandInput, type ListIntegrationsCommandOutput, type ListLogAnomalyDetectorsCommandInput, type ListLogAnomalyDetectorsCommandOutput, type ListLogGroupsForQueryCommandInput, type ListLogGroupsForQueryCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTagsLogGroupCommandInput, type ListTagsLogGroupCommandOutput, type PutAccountPolicyCommandInput, type PutAccountPolicyCommandOutput, type PutDataProtectionPolicyCommandInput, type PutDataProtectionPolicyCommandOutput, type PutDeliveryDestinationCommandInput, type PutDeliveryDestinationCommandOutput, type PutDeliveryDestinationPolicyCommandInput, type PutDeliveryDestinationPolicyCommandOutput, type PutDeliverySourceCommandInput, type PutDeliverySourceCommandOutput, type PutDestinationCommandInput, type PutDestinationCommandOutput, type PutDestinationPolicyCommandInput, type PutDestinationPolicyCommandOutput, type PutIndexPolicyCommandInput, type PutIndexPolicyCommandOutput, type PutIntegrationCommandInput, type PutIntegrationCommandOutput, type PutLogEventsCommandInput, type PutLogEventsCommandOutput, type PutMetricFilterCommandInput, type PutMetricFilterCommandOutput, type PutQueryDefinitionCommandInput, type PutQueryDefinitionCommandOutput, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type PutRetentionPolicyCommandInput, type PutRetentionPolicyCommandOutput, type PutSubscriptionFilterCommandInput, type PutSubscriptionFilterCommandOutput, type PutTransformerCommandInput, type PutTransformerCommandOutput, type StartLiveTailCommandInput, type StartLiveTailCommandOutput, type StartQueryCommandInput, type StartQueryCommandOutput, type StopQueryCommandInput, type StopQueryCommandOutput, type TagLogGroupCommandInput, type TagLogGroupCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TestMetricFilterCommandInput, type TestMetricFilterCommandOutput, type TestTransformerCommandInput, type TestTransformerCommandOutput, type UntagLogGroupCommandInput, type UntagLogGroupCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAnomalyCommandInput, type UpdateAnomalyCommandOutput, type UpdateDeliveryConfigurationCommandInput, type UpdateDeliveryConfigurationCommandOutput, type UpdateLogAnomalyDetectorCommandInput, type UpdateLogAnomalyDetectorCommandOutput } from "@aws-sdk/client-cloudwatch-logs";
|
|
5
5
|
import { Effect, Layer } from "effect";
|
|
6
6
|
import { CloudWatchLogsClientInstance } from "./CloudWatchLogsClientInstance";
|
|
7
|
+
import { CloudWatchLogsClientInstanceConfig } from "./CloudWatchLogsClientInstanceConfig";
|
|
7
8
|
import { AccessDeniedError, ConflictError, DataAlreadyAcceptedError, InvalidOperationError, InvalidParameterError, InvalidSequenceTokenError, LimitExceededError, MalformedQueryError, OperationAbortedError, ResourceAlreadyExistsError, ResourceNotFoundError, ServiceQuotaExceededError, ServiceUnavailableError, ThrottlingError, TooManyTagsError, UnrecognizedClientError, ValidationError, SdkError } from "./Errors";
|
|
8
9
|
/**
|
|
9
|
-
* @since 1.0.
|
|
10
|
+
* @since 1.0.0
|
|
10
11
|
*/
|
|
11
12
|
export interface HttpHandlerOptions {
|
|
12
13
|
/**
|
|
@@ -73,6 +74,14 @@ interface CloudWatchLogsService$ {
|
|
|
73
74
|
* @see {@link DeleteDestinationCommand}
|
|
74
75
|
*/
|
|
75
76
|
deleteDestination(args: DeleteDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDestinationCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link DeleteIndexPolicyCommand}
|
|
79
|
+
*/
|
|
80
|
+
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexPolicyCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link DeleteIntegrationCommand}
|
|
83
|
+
*/
|
|
84
|
+
deleteIntegration(args: DeleteIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIntegrationCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
|
|
76
85
|
/**
|
|
77
86
|
* @see {@link DeleteLogAnomalyDetectorCommand}
|
|
78
87
|
*/
|
|
@@ -105,6 +114,10 @@ interface CloudWatchLogsService$ {
|
|
|
105
114
|
* @see {@link DeleteSubscriptionFilterCommand}
|
|
106
115
|
*/
|
|
107
116
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSubscriptionFilterCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link DeleteTransformerCommand}
|
|
119
|
+
*/
|
|
120
|
+
deleteTransformer(args: DeleteTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTransformerCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
108
121
|
/**
|
|
109
122
|
* @see {@link DescribeAccountPoliciesCommand}
|
|
110
123
|
*/
|
|
@@ -133,6 +146,14 @@ interface CloudWatchLogsService$ {
|
|
|
133
146
|
* @see {@link DescribeExportTasksCommand}
|
|
134
147
|
*/
|
|
135
148
|
describeExportTasks(args: DescribeExportTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExportTasksCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link DescribeFieldIndexesCommand}
|
|
151
|
+
*/
|
|
152
|
+
describeFieldIndexes(args: DescribeFieldIndexesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeFieldIndexesCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link DescribeIndexPoliciesCommand}
|
|
155
|
+
*/
|
|
156
|
+
describeIndexPolicies(args: DescribeIndexPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexPoliciesCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
136
157
|
/**
|
|
137
158
|
* @see {@link DescribeLogGroupsCommand}
|
|
138
159
|
*/
|
|
@@ -189,6 +210,10 @@ interface CloudWatchLogsService$ {
|
|
|
189
210
|
* @see {@link GetDeliverySourceCommand}
|
|
190
211
|
*/
|
|
191
212
|
getDeliverySource(args: GetDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliverySourceCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
213
|
+
/**
|
|
214
|
+
* @see {@link GetIntegrationCommand}
|
|
215
|
+
*/
|
|
216
|
+
getIntegration(args: GetIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetIntegrationCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
192
217
|
/**
|
|
193
218
|
* @see {@link GetLogAnomalyDetectorCommand}
|
|
194
219
|
*/
|
|
@@ -209,14 +234,26 @@ interface CloudWatchLogsService$ {
|
|
|
209
234
|
* @see {@link GetQueryResultsCommand}
|
|
210
235
|
*/
|
|
211
236
|
getQueryResults(args: GetQueryResultsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueryResultsCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link GetTransformerCommand}
|
|
239
|
+
*/
|
|
240
|
+
getTransformer(args: GetTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetTransformerCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
212
241
|
/**
|
|
213
242
|
* @see {@link ListAnomaliesCommand}
|
|
214
243
|
*/
|
|
215
244
|
listAnomalies(args: ListAnomaliesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAnomaliesCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link ListIntegrationsCommand}
|
|
247
|
+
*/
|
|
248
|
+
listIntegrations(args: ListIntegrationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListIntegrationsCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
216
249
|
/**
|
|
217
250
|
* @see {@link ListLogAnomalyDetectorsCommand}
|
|
218
251
|
*/
|
|
219
252
|
listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogAnomalyDetectorsCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
253
|
+
/**
|
|
254
|
+
* @see {@link ListLogGroupsForQueryCommand}
|
|
255
|
+
*/
|
|
256
|
+
listLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogGroupsForQueryCommandOutput, SdkError | AccessDeniedError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
220
257
|
/**
|
|
221
258
|
* @see {@link ListTagsForResourceCommand}
|
|
222
259
|
*/
|
|
@@ -253,6 +290,14 @@ interface CloudWatchLogsService$ {
|
|
|
253
290
|
* @see {@link PutDestinationPolicyCommand}
|
|
254
291
|
*/
|
|
255
292
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDestinationPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError>;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link PutIndexPolicyCommand}
|
|
295
|
+
*/
|
|
296
|
+
putIndexPolicy(args: PutIndexPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutIndexPolicyCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
297
|
+
/**
|
|
298
|
+
* @see {@link PutIntegrationCommand}
|
|
299
|
+
*/
|
|
300
|
+
putIntegration(args: PutIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutIntegrationCommandOutput, SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError | ValidationError>;
|
|
256
301
|
/**
|
|
257
302
|
* @see {@link PutLogEventsCommand}
|
|
258
303
|
*/
|
|
@@ -260,7 +305,7 @@ interface CloudWatchLogsService$ {
|
|
|
260
305
|
/**
|
|
261
306
|
* @see {@link PutMetricFilterCommand}
|
|
262
307
|
*/
|
|
263
|
-
putMetricFilter(args: PutMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutMetricFilterCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
308
|
+
putMetricFilter(args: PutMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutMetricFilterCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
264
309
|
/**
|
|
265
310
|
* @see {@link PutQueryDefinitionCommand}
|
|
266
311
|
*/
|
|
@@ -276,7 +321,11 @@ interface CloudWatchLogsService$ {
|
|
|
276
321
|
/**
|
|
277
322
|
* @see {@link PutSubscriptionFilterCommand}
|
|
278
323
|
*/
|
|
279
|
-
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSubscriptionFilterCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
324
|
+
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSubscriptionFilterCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
325
|
+
/**
|
|
326
|
+
* @see {@link PutTransformerCommand}
|
|
327
|
+
*/
|
|
328
|
+
putTransformer(args: PutTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutTransformerCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
280
329
|
/**
|
|
281
330
|
* @see {@link StartLiveTailCommand}
|
|
282
331
|
*/
|
|
@@ -301,6 +350,10 @@ interface CloudWatchLogsService$ {
|
|
|
301
350
|
* @see {@link TestMetricFilterCommand}
|
|
302
351
|
*/
|
|
303
352
|
testMetricFilter(args: TestMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<TestMetricFilterCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
353
|
+
/**
|
|
354
|
+
* @see {@link TestTransformerCommand}
|
|
355
|
+
*/
|
|
356
|
+
testTransformer(args: TestTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<TestTransformerCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | ServiceUnavailableError>;
|
|
304
357
|
/**
|
|
305
358
|
* @see {@link UntagLogGroupCommand}
|
|
306
359
|
*/
|
|
@@ -322,6 +375,11 @@ interface CloudWatchLogsService$ {
|
|
|
322
375
|
*/
|
|
323
376
|
updateLogAnomalyDetector(args: UpdateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLogAnomalyDetectorCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
324
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* @since 1.0.0
|
|
380
|
+
* @category constructors
|
|
381
|
+
*/
|
|
382
|
+
export declare const makeCloudWatchLogsService: Effect.Effect<CloudWatchLogsService$, never, CloudWatchLogsClientInstance>;
|
|
325
383
|
declare const CloudWatchLogsService_base: import("effect/Context").TagClass<CloudWatchLogsService, "@effect-aws/client-cloudwatch-logs/CloudWatchLogsService", CloudWatchLogsService$> & {
|
|
326
384
|
readonly _: Effect.Effect<CloudWatchLogsService$["_"], never, CloudWatchLogsService>;
|
|
327
385
|
associateKmsKey: (args: AssociateKmsKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AssociateKmsKeyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
@@ -338,6 +396,8 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
338
396
|
deleteDeliveryDestinationPolicy: (args: DeleteDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliveryDestinationPolicyCommandOutput, ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
339
397
|
deleteDeliverySource: (args: DeleteDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliverySourceCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
340
398
|
deleteDestination: (args: DeleteDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDestinationCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
399
|
+
deleteIndexPolicy: (args: DeleteIndexPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteIndexPolicyCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
400
|
+
deleteIntegration: (args: DeleteIntegrationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteIntegrationCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
341
401
|
deleteLogAnomalyDetector: (args: DeleteLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogAnomalyDetectorCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
342
402
|
deleteLogGroup: (args: DeleteLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogGroupCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
343
403
|
deleteLogStream: (args: DeleteLogStreamCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogStreamCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
@@ -346,6 +406,7 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
346
406
|
deleteResourcePolicy: (args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteResourcePolicyCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
347
407
|
deleteRetentionPolicy: (args: DeleteRetentionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteRetentionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
348
408
|
deleteSubscriptionFilter: (args: DeleteSubscriptionFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSubscriptionFilterCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
409
|
+
deleteTransformer: (args: DeleteTransformerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteTransformerCommandOutput, InvalidOperationError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
349
410
|
describeAccountPolicies: (args: DescribeAccountPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAccountPoliciesCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
350
411
|
describeConfigurationTemplates: (args: DescribeConfigurationTemplatesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeConfigurationTemplatesCommandOutput, ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
351
412
|
describeDeliveries: (args: DescribeDeliveriesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDeliveriesCommandOutput, ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
@@ -353,6 +414,8 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
353
414
|
describeDeliverySources: (args: DescribeDeliverySourcesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDeliverySourcesCommandOutput, ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
354
415
|
describeDestinations: (args: DescribeDestinationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDestinationsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
355
416
|
describeExportTasks: (args: DescribeExportTasksCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeExportTasksCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
417
|
+
describeFieldIndexes: (args: DescribeFieldIndexesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeFieldIndexesCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
418
|
+
describeIndexPolicies: (args: DescribeIndexPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeIndexPoliciesCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
356
419
|
describeLogGroups: (args: DescribeLogGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLogGroupsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
357
420
|
describeLogStreams: (args: DescribeLogStreamsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLogStreamsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
358
421
|
describeMetricFilters: (args: DescribeMetricFiltersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeMetricFiltersCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
@@ -367,13 +430,17 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
367
430
|
getDeliveryDestination: (args: GetDeliveryDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliveryDestinationCommandOutput, ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
368
431
|
getDeliveryDestinationPolicy: (args: GetDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliveryDestinationPolicyCommandOutput, ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
369
432
|
getDeliverySource: (args: GetDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliverySourceCommandOutput, ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
433
|
+
getIntegration: (args: GetIntegrationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetIntegrationCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
370
434
|
getLogAnomalyDetector: (args: GetLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogAnomalyDetectorCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
371
435
|
getLogEvents: (args: GetLogEventsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogEventsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
372
436
|
getLogGroupFields: (args: GetLogGroupFieldsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogGroupFieldsCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
373
437
|
getLogRecord: (args: GetLogRecordCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogRecordCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
374
438
|
getQueryResults: (args: GetQueryResultsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetQueryResultsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
439
|
+
getTransformer: (args: GetTransformerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetTransformerCommandOutput, InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
375
440
|
listAnomalies: (args: ListAnomaliesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListAnomaliesCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
441
|
+
listIntegrations: (args: ListIntegrationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListIntegrationsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
376
442
|
listLogAnomalyDetectors: (args: ListLogAnomalyDetectorsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListLogAnomalyDetectorsCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
443
|
+
listLogGroupsForQuery: (args: ListLogGroupsForQueryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListLogGroupsForQueryCommandOutput, AccessDeniedError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
377
444
|
listTagsForResource: (args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsForResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
378
445
|
listTagsLogGroup: (args: ListTagsLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsLogGroupCommandOutput, ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
379
446
|
putAccountPolicy: (args: PutAccountPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutAccountPolicyCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
@@ -383,18 +450,22 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
383
450
|
putDeliverySource: (args: PutDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDeliverySourceCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
384
451
|
putDestination: (args: PutDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDestinationCommandOutput, InvalidParameterError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
385
452
|
putDestinationPolicy: (args: PutDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDestinationPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
453
|
+
putIndexPolicy: (args: PutIndexPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutIndexPolicyCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
454
|
+
putIntegration: (args: PutIntegrationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutIntegrationCommandOutput, InvalidParameterError | LimitExceededError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
386
455
|
putLogEvents: (args: PutLogEventsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutLogEventsCommandOutput, DataAlreadyAcceptedError | InvalidParameterError | InvalidSequenceTokenError | ResourceNotFoundError | ServiceUnavailableError | UnrecognizedClientError | SdkError, CloudWatchLogsService>;
|
|
387
|
-
putMetricFilter: (args: PutMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutMetricFilterCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
456
|
+
putMetricFilter: (args: PutMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutMetricFilterCommandOutput, InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
388
457
|
putQueryDefinition: (args: PutQueryDefinitionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutQueryDefinitionCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
389
458
|
putResourcePolicy: (args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutResourcePolicyCommandOutput, InvalidParameterError | LimitExceededError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
390
459
|
putRetentionPolicy: (args: PutRetentionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutRetentionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
391
|
-
putSubscriptionFilter: (args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutSubscriptionFilterCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
460
|
+
putSubscriptionFilter: (args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutSubscriptionFilterCommandOutput, InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
461
|
+
putTransformer: (args: PutTransformerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutTransformerCommandOutput, InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
392
462
|
startLiveTail: (args: StartLiveTailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartLiveTailCommandOutput, AccessDeniedError | InvalidOperationError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
393
463
|
startQuery: (args: StartQueryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartQueryCommandOutput, InvalidParameterError | LimitExceededError | MalformedQueryError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
394
464
|
stopQuery: (args: StopQueryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopQueryCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
395
465
|
tagLogGroup: (args: TagLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagLogGroupCommandOutput, InvalidParameterError | ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
396
466
|
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError | SdkError, CloudWatchLogsService>;
|
|
397
467
|
testMetricFilter: (args: TestMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TestMetricFilterCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
468
|
+
testTransformer: (args: TestTransformerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TestTransformerCommandOutput, InvalidOperationError | InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
398
469
|
untagLogGroup: (args: UntagLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagLogGroupCommandOutput, ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
399
470
|
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
400
471
|
updateAnomaly: (args: UpdateAnomalyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateAnomalyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
@@ -408,25 +479,32 @@ declare const CloudWatchLogsService_base: import("effect/Context").TagClass<Clou
|
|
|
408
479
|
* @category models
|
|
409
480
|
*/
|
|
410
481
|
export declare class CloudWatchLogsService extends CloudWatchLogsService_base {
|
|
482
|
+
static readonly defaultLayer: Layer.Layer<CloudWatchLogsService, never, never>;
|
|
483
|
+
static readonly layer: (config: CloudWatchLogsClientConfig) => Layer.Layer<CloudWatchLogsService, never, never>;
|
|
484
|
+
static readonly baseLayer: (evaluate: (defaultConfig: CloudWatchLogsClientConfig) => CloudWatchLogsClient) => Layer.Layer<CloudWatchLogsService, never, never>;
|
|
411
485
|
}
|
|
412
486
|
/**
|
|
413
487
|
* @since 1.0.0
|
|
414
|
-
* @category
|
|
488
|
+
* @category models
|
|
489
|
+
* @alias CloudWatchLogsService
|
|
415
490
|
*/
|
|
416
|
-
export declare const
|
|
491
|
+
export declare const CloudWatchLogs: typeof CloudWatchLogsService;
|
|
417
492
|
/**
|
|
418
493
|
* @since 1.0.0
|
|
419
494
|
* @category layers
|
|
495
|
+
* @deprecated use CloudWatchLogs.baseLayer instead
|
|
420
496
|
*/
|
|
421
497
|
export declare const BaseCloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, CloudWatchLogsClientInstance>;
|
|
422
498
|
/**
|
|
423
499
|
* @since 1.0.0
|
|
424
500
|
* @category layers
|
|
501
|
+
* @deprecated use CloudWatchLogs.layer instead
|
|
425
502
|
*/
|
|
426
|
-
export declare const CloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never,
|
|
503
|
+
export declare const CloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, CloudWatchLogsClientInstanceConfig>;
|
|
427
504
|
/**
|
|
428
505
|
* @since 1.0.0
|
|
429
506
|
* @category layers
|
|
507
|
+
* @deprecated use CloudWatchLogs.defaultLayer instead
|
|
430
508
|
*/
|
|
431
509
|
export declare const DefaultCloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, never>;
|
|
432
510
|
export {};
|