@effect-aws/client-cloudwatch-logs 1.0.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 +17 -0
- package/LICENSE +19 -0
- package/README.md +85 -0
- package/docgen.json +8 -0
- package/lib/CloudWatchLogsClientInstance.d.ts +31 -0
- package/lib/CloudWatchLogsClientInstance.js +57 -0
- package/lib/CloudWatchLogsClientInstanceConfig.d.ts +23 -0
- package/lib/CloudWatchLogsClientInstanceConfig.js +44 -0
- package/lib/CloudWatchLogsService.d.ts +429 -0
- package/lib/CloudWatchLogsService.js +150 -0
- package/lib/Errors.d.ts +31 -0
- package/lib/Errors.js +27 -0
- package/lib/esm/CloudWatchLogsClientInstance.js +30 -0
- package/lib/esm/CloudWatchLogsClientInstanceConfig.js +40 -0
- package/lib/esm/CloudWatchLogsService.js +146 -0
- package/lib/esm/Errors.js +24 -0
- package/lib/esm/index.js +5 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +21 -0
- package/package.json +54 -0
- package/project.json +77 -0
- package/vitest.config.ts +3 -0
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
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";
|
|
5
|
+
import { Effect, Layer } from "effect";
|
|
6
|
+
import { CloudWatchLogsClientInstance } from "./CloudWatchLogsClientInstance";
|
|
7
|
+
import { AccessDeniedError, ConflictError, DataAlreadyAcceptedError, InvalidOperationError, InvalidParameterError, InvalidSequenceTokenError, LimitExceededError, MalformedQueryError, OperationAbortedError, ResourceAlreadyExistsError, ResourceNotFoundError, ServiceQuotaExceededError, ServiceUnavailableError, ThrottlingError, TooManyTagsError, UnrecognizedClientError, ValidationError, SdkError } from "./Errors";
|
|
8
|
+
interface HttpHandlerOptions {
|
|
9
|
+
/**
|
|
10
|
+
* The maximum time in milliseconds that the connection phase of a request
|
|
11
|
+
* may take before the connection attempt is abandoned.
|
|
12
|
+
*/
|
|
13
|
+
requestTimeout?: number;
|
|
14
|
+
}
|
|
15
|
+
interface CloudWatchLogsService$ {
|
|
16
|
+
readonly _: unique symbol;
|
|
17
|
+
/**
|
|
18
|
+
* @see {@link AssociateKmsKeyCommand}
|
|
19
|
+
*/
|
|
20
|
+
associateKmsKey(args: AssociateKmsKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<AssociateKmsKeyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CancelExportTaskCommand}
|
|
23
|
+
*/
|
|
24
|
+
cancelExportTask(args: CancelExportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelExportTaskCommandOutput, SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
25
|
+
/**
|
|
26
|
+
* @see {@link CreateDeliveryCommand}
|
|
27
|
+
*/
|
|
28
|
+
createDelivery(args: CreateDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryCommandOutput, SdkError | AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link CreateExportTaskCommand}
|
|
31
|
+
*/
|
|
32
|
+
createExportTask(args: CreateExportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateExportTaskCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link CreateLogAnomalyDetectorCommand}
|
|
35
|
+
*/
|
|
36
|
+
createLogAnomalyDetector(args: CreateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogAnomalyDetectorCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
37
|
+
/**
|
|
38
|
+
* @see {@link CreateLogGroupCommand}
|
|
39
|
+
*/
|
|
40
|
+
createLogGroup(args: CreateLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogGroupCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ServiceUnavailableError>;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link CreateLogStreamCommand}
|
|
43
|
+
*/
|
|
44
|
+
createLogStream(args: CreateLogStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogStreamCommandOutput, SdkError | InvalidParameterError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link DeleteAccountPolicyCommand}
|
|
47
|
+
*/
|
|
48
|
+
deleteAccountPolicy(args: DeleteAccountPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccountPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link DeleteDataProtectionPolicyCommand}
|
|
51
|
+
*/
|
|
52
|
+
deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDataProtectionPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link DeleteDeliveryCommand}
|
|
55
|
+
*/
|
|
56
|
+
deleteDelivery(args: DeleteDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link DeleteDeliveryDestinationCommand}
|
|
59
|
+
*/
|
|
60
|
+
deleteDeliveryDestination(args: DeleteDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryDestinationCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link DeleteDeliveryDestinationPolicyCommand}
|
|
63
|
+
*/
|
|
64
|
+
deleteDeliveryDestinationPolicy(args: DeleteDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryDestinationPolicyCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link DeleteDeliverySourceCommand}
|
|
67
|
+
*/
|
|
68
|
+
deleteDeliverySource(args: DeleteDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliverySourceCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link DeleteDestinationCommand}
|
|
71
|
+
*/
|
|
72
|
+
deleteDestination(args: DeleteDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDestinationCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link DeleteLogAnomalyDetectorCommand}
|
|
75
|
+
*/
|
|
76
|
+
deleteLogAnomalyDetector(args: DeleteLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogAnomalyDetectorCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link DeleteLogGroupCommand}
|
|
79
|
+
*/
|
|
80
|
+
deleteLogGroup(args: DeleteLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogGroupCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link DeleteLogStreamCommand}
|
|
83
|
+
*/
|
|
84
|
+
deleteLogStream(args: DeleteLogStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogStreamCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link DeleteMetricFilterCommand}
|
|
87
|
+
*/
|
|
88
|
+
deleteMetricFilter(args: DeleteMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMetricFilterCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link DeleteQueryDefinitionCommand}
|
|
91
|
+
*/
|
|
92
|
+
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteQueryDefinitionCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link DeleteResourcePolicyCommand}
|
|
95
|
+
*/
|
|
96
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link DeleteRetentionPolicyCommand}
|
|
99
|
+
*/
|
|
100
|
+
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteRetentionPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link DeleteSubscriptionFilterCommand}
|
|
103
|
+
*/
|
|
104
|
+
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSubscriptionFilterCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
105
|
+
/**
|
|
106
|
+
* @see {@link DescribeAccountPoliciesCommand}
|
|
107
|
+
*/
|
|
108
|
+
describeAccountPolicies(args: DescribeAccountPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAccountPoliciesCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link DescribeConfigurationTemplatesCommand}
|
|
111
|
+
*/
|
|
112
|
+
describeConfigurationTemplates(args: DescribeConfigurationTemplatesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationTemplatesCommandOutput, SdkError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link DescribeDeliveriesCommand}
|
|
115
|
+
*/
|
|
116
|
+
describeDeliveries(args: DescribeDeliveriesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveriesCommandOutput, SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link DescribeDeliveryDestinationsCommand}
|
|
119
|
+
*/
|
|
120
|
+
describeDeliveryDestinations(args: DescribeDeliveryDestinationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryDestinationsCommandOutput, SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link DescribeDeliverySourcesCommand}
|
|
123
|
+
*/
|
|
124
|
+
describeDeliverySources(args: DescribeDeliverySourcesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliverySourcesCommandOutput, SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link DescribeDestinationsCommand}
|
|
127
|
+
*/
|
|
128
|
+
describeDestinations(args: DescribeDestinationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDestinationsCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
129
|
+
/**
|
|
130
|
+
* @see {@link DescribeExportTasksCommand}
|
|
131
|
+
*/
|
|
132
|
+
describeExportTasks(args: DescribeExportTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExportTasksCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link DescribeLogGroupsCommand}
|
|
135
|
+
*/
|
|
136
|
+
describeLogGroups(args: DescribeLogGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeLogGroupsCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link DescribeLogStreamsCommand}
|
|
139
|
+
*/
|
|
140
|
+
describeLogStreams(args: DescribeLogStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeLogStreamsCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
141
|
+
/**
|
|
142
|
+
* @see {@link DescribeMetricFiltersCommand}
|
|
143
|
+
*/
|
|
144
|
+
describeMetricFilters(args: DescribeMetricFiltersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeMetricFiltersCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link DescribeQueriesCommand}
|
|
147
|
+
*/
|
|
148
|
+
describeQueries(args: DescribeQueriesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeQueriesCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link DescribeQueryDefinitionsCommand}
|
|
151
|
+
*/
|
|
152
|
+
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeQueryDefinitionsCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link DescribeResourcePoliciesCommand}
|
|
155
|
+
*/
|
|
156
|
+
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeResourcePoliciesCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link DescribeSubscriptionFiltersCommand}
|
|
159
|
+
*/
|
|
160
|
+
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSubscriptionFiltersCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link DisassociateKmsKeyCommand}
|
|
163
|
+
*/
|
|
164
|
+
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisassociateKmsKeyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link FilterLogEventsCommand}
|
|
167
|
+
*/
|
|
168
|
+
filterLogEvents(args: FilterLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<FilterLogEventsCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
169
|
+
/**
|
|
170
|
+
* @see {@link GetDataProtectionPolicyCommand}
|
|
171
|
+
*/
|
|
172
|
+
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDataProtectionPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link GetDeliveryCommand}
|
|
175
|
+
*/
|
|
176
|
+
getDelivery(args: GetDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
177
|
+
/**
|
|
178
|
+
* @see {@link GetDeliveryDestinationCommand}
|
|
179
|
+
*/
|
|
180
|
+
getDeliveryDestination(args: GetDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryDestinationCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
181
|
+
/**
|
|
182
|
+
* @see {@link GetDeliveryDestinationPolicyCommand}
|
|
183
|
+
*/
|
|
184
|
+
getDeliveryDestinationPolicy(args: GetDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryDestinationPolicyCommandOutput, SdkError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
|
|
185
|
+
/**
|
|
186
|
+
* @see {@link GetDeliverySourceCommand}
|
|
187
|
+
*/
|
|
188
|
+
getDeliverySource(args: GetDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliverySourceCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link GetLogAnomalyDetectorCommand}
|
|
191
|
+
*/
|
|
192
|
+
getLogAnomalyDetector(args: GetLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogAnomalyDetectorCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
193
|
+
/**
|
|
194
|
+
* @see {@link GetLogEventsCommand}
|
|
195
|
+
*/
|
|
196
|
+
getLogEvents(args: GetLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogEventsCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link GetLogGroupFieldsCommand}
|
|
199
|
+
*/
|
|
200
|
+
getLogGroupFields(args: GetLogGroupFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogGroupFieldsCommandOutput, SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
201
|
+
/**
|
|
202
|
+
* @see {@link GetLogRecordCommand}
|
|
203
|
+
*/
|
|
204
|
+
getLogRecord(args: GetLogRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogRecordCommandOutput, SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
205
|
+
/**
|
|
206
|
+
* @see {@link GetQueryResultsCommand}
|
|
207
|
+
*/
|
|
208
|
+
getQueryResults(args: GetQueryResultsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueryResultsCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
209
|
+
/**
|
|
210
|
+
* @see {@link ListAnomaliesCommand}
|
|
211
|
+
*/
|
|
212
|
+
listAnomalies(args: ListAnomaliesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAnomaliesCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
213
|
+
/**
|
|
214
|
+
* @see {@link ListLogAnomalyDetectorsCommand}
|
|
215
|
+
*/
|
|
216
|
+
listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogAnomalyDetectorsCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
217
|
+
/**
|
|
218
|
+
* @see {@link ListTagsForResourceCommand}
|
|
219
|
+
*/
|
|
220
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
221
|
+
/**
|
|
222
|
+
* @see {@link ListTagsLogGroupCommand}
|
|
223
|
+
*/
|
|
224
|
+
listTagsLogGroup(args: ListTagsLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsLogGroupCommandOutput, SdkError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link PutAccountPolicyCommand}
|
|
227
|
+
*/
|
|
228
|
+
putAccountPolicy(args: PutAccountPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAccountPolicyCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError>;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link PutDataProtectionPolicyCommand}
|
|
231
|
+
*/
|
|
232
|
+
putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDataProtectionPolicyCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link PutDeliveryDestinationCommand}
|
|
235
|
+
*/
|
|
236
|
+
putDeliveryDestination(args: PutDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliveryDestinationCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link PutDeliveryDestinationPolicyCommand}
|
|
239
|
+
*/
|
|
240
|
+
putDeliveryDestinationPolicy(args: PutDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliveryDestinationPolicyCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
|
|
241
|
+
/**
|
|
242
|
+
* @see {@link PutDeliverySourceCommand}
|
|
243
|
+
*/
|
|
244
|
+
putDeliverySource(args: PutDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliverySourceCommandOutput, SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link PutDestinationCommand}
|
|
247
|
+
*/
|
|
248
|
+
putDestination(args: PutDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDestinationCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError>;
|
|
249
|
+
/**
|
|
250
|
+
* @see {@link PutDestinationPolicyCommand}
|
|
251
|
+
*/
|
|
252
|
+
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDestinationPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError>;
|
|
253
|
+
/**
|
|
254
|
+
* @see {@link PutLogEventsCommand}
|
|
255
|
+
*/
|
|
256
|
+
putLogEvents(args: PutLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutLogEventsCommandOutput, SdkError | DataAlreadyAcceptedError | InvalidParameterError | InvalidSequenceTokenError | ResourceNotFoundError | ServiceUnavailableError | UnrecognizedClientError>;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link PutMetricFilterCommand}
|
|
259
|
+
*/
|
|
260
|
+
putMetricFilter(args: PutMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutMetricFilterCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link PutQueryDefinitionCommand}
|
|
263
|
+
*/
|
|
264
|
+
putQueryDefinition(args: PutQueryDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutQueryDefinitionCommandOutput, SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
265
|
+
/**
|
|
266
|
+
* @see {@link PutResourcePolicyCommand}
|
|
267
|
+
*/
|
|
268
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError>;
|
|
269
|
+
/**
|
|
270
|
+
* @see {@link PutRetentionPolicyCommand}
|
|
271
|
+
*/
|
|
272
|
+
putRetentionPolicy(args: PutRetentionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRetentionPolicyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
273
|
+
/**
|
|
274
|
+
* @see {@link PutSubscriptionFilterCommand}
|
|
275
|
+
*/
|
|
276
|
+
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSubscriptionFilterCommandOutput, SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
277
|
+
/**
|
|
278
|
+
* @see {@link StartLiveTailCommand}
|
|
279
|
+
*/
|
|
280
|
+
startLiveTail(args: StartLiveTailCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLiveTailCommandOutput, SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | LimitExceededError | ResourceNotFoundError>;
|
|
281
|
+
/**
|
|
282
|
+
* @see {@link StartQueryCommand}
|
|
283
|
+
*/
|
|
284
|
+
startQuery(args: StartQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartQueryCommandOutput, SdkError | InvalidParameterError | LimitExceededError | MalformedQueryError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
285
|
+
/**
|
|
286
|
+
* @see {@link StopQueryCommand}
|
|
287
|
+
*/
|
|
288
|
+
stopQuery(args: StopQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopQueryCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
289
|
+
/**
|
|
290
|
+
* @see {@link TagLogGroupCommand}
|
|
291
|
+
*/
|
|
292
|
+
tagLogGroup(args: TagLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagLogGroupCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError>;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link TagResourceCommand}
|
|
295
|
+
*/
|
|
296
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError>;
|
|
297
|
+
/**
|
|
298
|
+
* @see {@link TestMetricFilterCommand}
|
|
299
|
+
*/
|
|
300
|
+
testMetricFilter(args: TestMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<TestMetricFilterCommandOutput, SdkError | InvalidParameterError | ServiceUnavailableError>;
|
|
301
|
+
/**
|
|
302
|
+
* @see {@link UntagLogGroupCommand}
|
|
303
|
+
*/
|
|
304
|
+
untagLogGroup(args: UntagLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagLogGroupCommandOutput, SdkError | ResourceNotFoundError>;
|
|
305
|
+
/**
|
|
306
|
+
* @see {@link UntagResourceCommand}
|
|
307
|
+
*/
|
|
308
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
309
|
+
/**
|
|
310
|
+
* @see {@link UpdateAnomalyCommand}
|
|
311
|
+
*/
|
|
312
|
+
updateAnomaly(args: UpdateAnomalyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAnomalyCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
313
|
+
/**
|
|
314
|
+
* @see {@link UpdateDeliveryConfigurationCommand}
|
|
315
|
+
*/
|
|
316
|
+
updateDeliveryConfiguration(args: UpdateDeliveryConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDeliveryConfigurationCommandOutput, SdkError | AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
317
|
+
/**
|
|
318
|
+
* @see {@link UpdateLogAnomalyDetectorCommand}
|
|
319
|
+
*/
|
|
320
|
+
updateLogAnomalyDetector(args: UpdateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLogAnomalyDetectorCommandOutput, SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
321
|
+
}
|
|
322
|
+
declare const CloudWatchLogsService_base: import("effect/Context").TagClass<CloudWatchLogsService, "@effect-aws/client-cloudwatch-logs/CloudWatchLogsService", CloudWatchLogsService$> & {
|
|
323
|
+
readonly _: Effect.Effect<CloudWatchLogsService$["_"], never, CloudWatchLogsService>;
|
|
324
|
+
associateKmsKey: (args: AssociateKmsKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AssociateKmsKeyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
325
|
+
cancelExportTask: (args: CancelExportTaskCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CancelExportTaskCommandOutput, InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
326
|
+
createDelivery: (args: CreateDeliveryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateDeliveryCommandOutput, AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
327
|
+
createExportTask: (args: CreateExportTaskCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateExportTaskCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
328
|
+
createLogAnomalyDetector: (args: CreateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateLogAnomalyDetectorCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
329
|
+
createLogGroup: (args: CreateLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateLogGroupCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
330
|
+
createLogStream: (args: CreateLogStreamCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateLogStreamCommandOutput, InvalidParameterError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
331
|
+
deleteAccountPolicy: (args: DeleteAccountPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteAccountPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
332
|
+
deleteDataProtectionPolicy: (args: DeleteDataProtectionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDataProtectionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
333
|
+
deleteDelivery: (args: DeleteDeliveryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliveryCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
334
|
+
deleteDeliveryDestination: (args: DeleteDeliveryDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliveryDestinationCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
335
|
+
deleteDeliveryDestinationPolicy: (args: DeleteDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliveryDestinationPolicyCommandOutput, ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
336
|
+
deleteDeliverySource: (args: DeleteDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDeliverySourceCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
337
|
+
deleteDestination: (args: DeleteDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteDestinationCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
338
|
+
deleteLogAnomalyDetector: (args: DeleteLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogAnomalyDetectorCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
339
|
+
deleteLogGroup: (args: DeleteLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogGroupCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
340
|
+
deleteLogStream: (args: DeleteLogStreamCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLogStreamCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
341
|
+
deleteMetricFilter: (args: DeleteMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteMetricFilterCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
342
|
+
deleteQueryDefinition: (args: DeleteQueryDefinitionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteQueryDefinitionCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
343
|
+
deleteResourcePolicy: (args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteResourcePolicyCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
344
|
+
deleteRetentionPolicy: (args: DeleteRetentionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteRetentionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
345
|
+
deleteSubscriptionFilter: (args: DeleteSubscriptionFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSubscriptionFilterCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
346
|
+
describeAccountPolicies: (args: DescribeAccountPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAccountPoliciesCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
347
|
+
describeConfigurationTemplates: (args: DescribeConfigurationTemplatesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeConfigurationTemplatesCommandOutput, ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
348
|
+
describeDeliveries: (args: DescribeDeliveriesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDeliveriesCommandOutput, ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
349
|
+
describeDeliveryDestinations: (args: DescribeDeliveryDestinationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDeliveryDestinationsCommandOutput, ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
350
|
+
describeDeliverySources: (args: DescribeDeliverySourcesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDeliverySourcesCommandOutput, ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
351
|
+
describeDestinations: (args: DescribeDestinationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeDestinationsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
352
|
+
describeExportTasks: (args: DescribeExportTasksCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeExportTasksCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
353
|
+
describeLogGroups: (args: DescribeLogGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLogGroupsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
354
|
+
describeLogStreams: (args: DescribeLogStreamsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLogStreamsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
355
|
+
describeMetricFilters: (args: DescribeMetricFiltersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeMetricFiltersCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
356
|
+
describeQueries: (args: DescribeQueriesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeQueriesCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
357
|
+
describeQueryDefinitions: (args: DescribeQueryDefinitionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeQueryDefinitionsCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
358
|
+
describeResourcePolicies: (args: DescribeResourcePoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeResourcePoliciesCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
359
|
+
describeSubscriptionFilters: (args: DescribeSubscriptionFiltersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeSubscriptionFiltersCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
360
|
+
disassociateKmsKey: (args: DisassociateKmsKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisassociateKmsKeyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
361
|
+
filterLogEvents: (args: FilterLogEventsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<FilterLogEventsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
362
|
+
getDataProtectionPolicy: (args: GetDataProtectionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDataProtectionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
363
|
+
getDelivery: (args: GetDeliveryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliveryCommandOutput, ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
364
|
+
getDeliveryDestination: (args: GetDeliveryDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliveryDestinationCommandOutput, ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
365
|
+
getDeliveryDestinationPolicy: (args: GetDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliveryDestinationPolicyCommandOutput, ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
366
|
+
getDeliverySource: (args: GetDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetDeliverySourceCommandOutput, ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
367
|
+
getLogAnomalyDetector: (args: GetLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogAnomalyDetectorCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
368
|
+
getLogEvents: (args: GetLogEventsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogEventsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
369
|
+
getLogGroupFields: (args: GetLogGroupFieldsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogGroupFieldsCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
370
|
+
getLogRecord: (args: GetLogRecordCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLogRecordCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
371
|
+
getQueryResults: (args: GetQueryResultsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetQueryResultsCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
372
|
+
listAnomalies: (args: ListAnomaliesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListAnomaliesCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
373
|
+
listLogAnomalyDetectors: (args: ListLogAnomalyDetectorsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListLogAnomalyDetectorsCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
374
|
+
listTagsForResource: (args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsForResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
375
|
+
listTagsLogGroup: (args: ListTagsLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsLogGroupCommandOutput, ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
376
|
+
putAccountPolicy: (args: PutAccountPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutAccountPolicyCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
377
|
+
putDataProtectionPolicy: (args: PutDataProtectionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDataProtectionPolicyCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
378
|
+
putDeliveryDestination: (args: PutDeliveryDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDeliveryDestinationCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
379
|
+
putDeliveryDestinationPolicy: (args: PutDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDeliveryDestinationPolicyCommandOutput, ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
380
|
+
putDeliverySource: (args: PutDeliverySourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDeliverySourceCommandOutput, ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
381
|
+
putDestination: (args: PutDestinationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDestinationCommandOutput, InvalidParameterError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
382
|
+
putDestinationPolicy: (args: PutDestinationPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutDestinationPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
383
|
+
putLogEvents: (args: PutLogEventsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutLogEventsCommandOutput, DataAlreadyAcceptedError | InvalidParameterError | InvalidSequenceTokenError | ResourceNotFoundError | ServiceUnavailableError | UnrecognizedClientError | SdkError, CloudWatchLogsService>;
|
|
384
|
+
putMetricFilter: (args: PutMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutMetricFilterCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
385
|
+
putQueryDefinition: (args: PutQueryDefinitionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutQueryDefinitionCommandOutput, InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
386
|
+
putResourcePolicy: (args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutResourcePolicyCommandOutput, InvalidParameterError | LimitExceededError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
387
|
+
putRetentionPolicy: (args: PutRetentionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutRetentionPolicyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
388
|
+
putSubscriptionFilter: (args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutSubscriptionFilterCommandOutput, InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
389
|
+
startLiveTail: (args: StartLiveTailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartLiveTailCommandOutput, AccessDeniedError | InvalidOperationError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
390
|
+
startQuery: (args: StartQueryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartQueryCommandOutput, InvalidParameterError | LimitExceededError | MalformedQueryError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
391
|
+
stopQuery: (args: StopQueryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopQueryCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
392
|
+
tagLogGroup: (args: TagLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagLogGroupCommandOutput, InvalidParameterError | ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
393
|
+
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError | SdkError, CloudWatchLogsService>;
|
|
394
|
+
testMetricFilter: (args: TestMetricFilterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TestMetricFilterCommandOutput, InvalidParameterError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
395
|
+
untagLogGroup: (args: UntagLogGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagLogGroupCommandOutput, ResourceNotFoundError | SdkError, CloudWatchLogsService>;
|
|
396
|
+
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
397
|
+
updateAnomaly: (args: UpdateAnomalyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateAnomalyCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
398
|
+
updateDeliveryConfiguration: (args: UpdateDeliveryConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateDeliveryConfigurationCommandOutput, AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, CloudWatchLogsService>;
|
|
399
|
+
updateLogAnomalyDetector: (args: UpdateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateLogAnomalyDetectorCommandOutput, InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | SdkError, CloudWatchLogsService>;
|
|
400
|
+
} & {
|
|
401
|
+
use: <X>(body: (_: CloudWatchLogsService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | CloudWatchLogsService> : Effect.Effect<X, never, CloudWatchLogsService>;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* @since 1.0.0
|
|
405
|
+
* @category models
|
|
406
|
+
*/
|
|
407
|
+
export declare class CloudWatchLogsService extends CloudWatchLogsService_base {
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* @since 1.0.0
|
|
411
|
+
* @category constructors
|
|
412
|
+
*/
|
|
413
|
+
export declare const makeCloudWatchLogsService: Effect.Effect<CloudWatchLogsService$, never, CloudWatchLogsClientInstance>;
|
|
414
|
+
/**
|
|
415
|
+
* @since 1.0.0
|
|
416
|
+
* @category layers
|
|
417
|
+
*/
|
|
418
|
+
export declare const BaseCloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, CloudWatchLogsClientInstance>;
|
|
419
|
+
/**
|
|
420
|
+
* @since 1.0.0
|
|
421
|
+
* @category layers
|
|
422
|
+
*/
|
|
423
|
+
export declare const CloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, import("./CloudWatchLogsClientInstanceConfig").CloudWatchLogsClientInstanceConfig>;
|
|
424
|
+
/**
|
|
425
|
+
* @since 1.0.0
|
|
426
|
+
* @category layers
|
|
427
|
+
*/
|
|
428
|
+
export declare const DefaultCloudWatchLogsServiceLayer: Layer.Layer<CloudWatchLogsService, never, never>;
|
|
429
|
+
export {};
|