@aws-sdk/client-cloudwatch-logs 3.296.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/CloudWatchLogs.d.ts +49 -0
- package/dist-types/CloudWatchLogsClient.d.ts +24 -4
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +16 -0
- package/dist-types/commands/CancelExportTaskCommand.d.ts +16 -0
- package/dist-types/commands/CreateExportTaskCommand.d.ts +16 -0
- package/dist-types/commands/CreateLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateLogStreamCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDestinationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +16 -0
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +16 -0
- package/dist-types/commands/FilterLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +16 -0
- package/dist-types/commands/GetLogRecordCommand.d.ts +16 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutDestinationCommand.d.ts +16 -0
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +16 -0
- package/dist-types/commands/StartQueryCommand.d.ts +16 -0
- package/dist-types/commands/StopQueryCommand.d.ts +16 -0
- package/dist-types/commands/TagLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TestMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/UntagLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/CloudWatchLogsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +292 -14
- package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +3 -0
- package/dist-types/pagination/FilterLogEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLogEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +3 -3
|
@@ -49,6 +49,7 @@ import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./c
|
|
|
49
49
|
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
50
50
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
51
51
|
/**
|
|
52
|
+
* @public
|
|
52
53
|
* <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
|
|
53
54
|
* EC2 instances, CloudTrail, and other sources. You can then retrieve the associated
|
|
54
55
|
* log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
|
|
@@ -87,6 +88,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
87
88
|
*/
|
|
88
89
|
export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
89
90
|
/**
|
|
91
|
+
* @public
|
|
90
92
|
* <p>Associates the specified KMS key with the specified log
|
|
91
93
|
* group.</p>
|
|
92
94
|
* <p>Associating a KMS key with a log group overrides any existing
|
|
@@ -106,6 +108,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
106
108
|
associateKmsKey(args: AssociateKmsKeyCommandInput, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
107
109
|
associateKmsKey(args: AssociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
108
110
|
/**
|
|
111
|
+
* @public
|
|
109
112
|
* <p>Cancels the specified export task.</p>
|
|
110
113
|
* <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>
|
|
111
114
|
*/
|
|
@@ -113,6 +116,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
113
116
|
cancelExportTask(args: CancelExportTaskCommandInput, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
|
|
114
117
|
cancelExportTask(args: CancelExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
|
|
115
118
|
/**
|
|
119
|
+
* @public
|
|
116
120
|
* <p>Creates an export task so that you can efficiently export data from a log group to an
|
|
117
121
|
* Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use
|
|
118
122
|
* credentials that have permission to write to the S3 bucket that you specify as the
|
|
@@ -138,6 +142,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
138
142
|
createExportTask(args: CreateExportTaskCommandInput, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
139
143
|
createExportTask(args: CreateExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
140
144
|
/**
|
|
145
|
+
* @public
|
|
141
146
|
* <p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p>
|
|
142
147
|
* <p>You must use the following guidelines when naming a log group:</p>
|
|
143
148
|
* <ul>
|
|
@@ -172,6 +177,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
172
177
|
createLogGroup(args: CreateLogGroupCommandInput, cb: (err: any, data?: CreateLogGroupCommandOutput) => void): void;
|
|
173
178
|
createLogGroup(args: CreateLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogGroupCommandOutput) => void): void;
|
|
174
179
|
/**
|
|
180
|
+
* @public
|
|
175
181
|
* <p>Creates a log stream for the specified log group. A log stream is a sequence of log events
|
|
176
182
|
* that originate from a single source, such as an application instance or a resource that is
|
|
177
183
|
* being monitored.</p>
|
|
@@ -194,6 +200,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
194
200
|
createLogStream(args: CreateLogStreamCommandInput, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
|
|
195
201
|
createLogStream(args: CreateLogStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
|
|
196
202
|
/**
|
|
203
|
+
* @public
|
|
197
204
|
* <p>Deletes the data protection policy from the specified log group. </p>
|
|
198
205
|
* <p>For more information about data protection policies, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html">PutDataProtectionPolicy</a>.</p>
|
|
199
206
|
*/
|
|
@@ -201,6 +208,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
201
208
|
deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, cb: (err: any, data?: DeleteDataProtectionPolicyCommandOutput) => void): void;
|
|
202
209
|
deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataProtectionPolicyCommandOutput) => void): void;
|
|
203
210
|
/**
|
|
211
|
+
* @public
|
|
204
212
|
* <p>Deletes the specified destination, and eventually disables all the
|
|
205
213
|
* subscription filters that publish to it. This operation does not delete the
|
|
206
214
|
* physical resource encapsulated by the destination.</p>
|
|
@@ -209,6 +217,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
209
217
|
deleteDestination(args: DeleteDestinationCommandInput, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
210
218
|
deleteDestination(args: DeleteDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
211
219
|
/**
|
|
220
|
+
* @public
|
|
212
221
|
* <p>Deletes the specified log group and permanently deletes all the archived
|
|
213
222
|
* log events associated with the log group.</p>
|
|
214
223
|
*/
|
|
@@ -216,6 +225,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
216
225
|
deleteLogGroup(args: DeleteLogGroupCommandInput, cb: (err: any, data?: DeleteLogGroupCommandOutput) => void): void;
|
|
217
226
|
deleteLogGroup(args: DeleteLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLogGroupCommandOutput) => void): void;
|
|
218
227
|
/**
|
|
228
|
+
* @public
|
|
219
229
|
* <p>Deletes the specified log stream and permanently deletes all the archived log events associated
|
|
220
230
|
* with the log stream.</p>
|
|
221
231
|
*/
|
|
@@ -223,12 +233,14 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
223
233
|
deleteLogStream(args: DeleteLogStreamCommandInput, cb: (err: any, data?: DeleteLogStreamCommandOutput) => void): void;
|
|
224
234
|
deleteLogStream(args: DeleteLogStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLogStreamCommandOutput) => void): void;
|
|
225
235
|
/**
|
|
236
|
+
* @public
|
|
226
237
|
* <p>Deletes the specified metric filter.</p>
|
|
227
238
|
*/
|
|
228
239
|
deleteMetricFilter(args: DeleteMetricFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMetricFilterCommandOutput>;
|
|
229
240
|
deleteMetricFilter(args: DeleteMetricFilterCommandInput, cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void): void;
|
|
230
241
|
deleteMetricFilter(args: DeleteMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void): void;
|
|
231
242
|
/**
|
|
243
|
+
* @public
|
|
232
244
|
* <p>Deletes a saved CloudWatch Logs Insights query definition.
|
|
233
245
|
* A query definition contains details about a saved CloudWatch Logs Insights query.</p>
|
|
234
246
|
* <p>Each <code>DeleteQueryDefinition</code> operation can delete one query definition.</p>
|
|
@@ -239,6 +251,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
239
251
|
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void): void;
|
|
240
252
|
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void): void;
|
|
241
253
|
/**
|
|
254
|
+
* @public
|
|
242
255
|
* <p>Deletes a resource policy from this account. This revokes
|
|
243
256
|
* the access of the identities in that policy to put log events to this account.</p>
|
|
244
257
|
*/
|
|
@@ -246,6 +259,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
246
259
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
247
260
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
248
261
|
/**
|
|
262
|
+
* @public
|
|
249
263
|
* <p>Deletes the specified retention policy.</p>
|
|
250
264
|
* <p>Log events do not expire if they belong to log groups without a retention policy.</p>
|
|
251
265
|
*/
|
|
@@ -253,18 +267,21 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
253
267
|
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void): void;
|
|
254
268
|
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void): void;
|
|
255
269
|
/**
|
|
270
|
+
* @public
|
|
256
271
|
* <p>Deletes the specified subscription filter.</p>
|
|
257
272
|
*/
|
|
258
273
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionFilterCommandOutput>;
|
|
259
274
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
260
275
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
261
276
|
/**
|
|
277
|
+
* @public
|
|
262
278
|
* <p>Lists all your destinations. The results are ASCII-sorted by destination name.</p>
|
|
263
279
|
*/
|
|
264
280
|
describeDestinations(args: DescribeDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDestinationsCommandOutput>;
|
|
265
281
|
describeDestinations(args: DescribeDestinationsCommandInput, cb: (err: any, data?: DescribeDestinationsCommandOutput) => void): void;
|
|
266
282
|
describeDestinations(args: DescribeDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDestinationsCommandOutput) => void): void;
|
|
267
283
|
/**
|
|
284
|
+
* @public
|
|
268
285
|
* <p>Lists the specified export tasks. You can list all your export tasks or filter
|
|
269
286
|
* the results based on task ID or task status.</p>
|
|
270
287
|
*/
|
|
@@ -272,6 +289,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
272
289
|
describeExportTasks(args: DescribeExportTasksCommandInput, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
273
290
|
describeExportTasks(args: DescribeExportTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
274
291
|
/**
|
|
292
|
+
* @public
|
|
275
293
|
* <p>Lists the specified log groups. You can list all your log groups or filter the results by prefix.
|
|
276
294
|
* The results are ASCII-sorted by log group name.</p>
|
|
277
295
|
* <p>CloudWatch Logs doesn’t support IAM policies that control access to the <code>DescribeLogGroups</code> action by using the
|
|
@@ -289,6 +307,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
289
307
|
describeLogGroups(args: DescribeLogGroupsCommandInput, cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void): void;
|
|
290
308
|
describeLogGroups(args: DescribeLogGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void): void;
|
|
291
309
|
/**
|
|
310
|
+
* @public
|
|
292
311
|
* <p>Lists the log streams for the specified log group.
|
|
293
312
|
* You can list all the log streams or filter the results by prefix.
|
|
294
313
|
* You can also control how the results are ordered.</p>
|
|
@@ -304,6 +323,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
304
323
|
describeLogStreams(args: DescribeLogStreamsCommandInput, cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void): void;
|
|
305
324
|
describeLogStreams(args: DescribeLogStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void): void;
|
|
306
325
|
/**
|
|
326
|
+
* @public
|
|
307
327
|
* <p>Lists the specified metric filters. You can list all of the metric filters or filter
|
|
308
328
|
* the results by log name, prefix, metric name, or metric namespace. The results are
|
|
309
329
|
* ASCII-sorted by filter name.</p>
|
|
@@ -312,6 +332,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
312
332
|
describeMetricFilters(args: DescribeMetricFiltersCommandInput, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
|
|
313
333
|
describeMetricFilters(args: DescribeMetricFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
|
|
314
334
|
/**
|
|
335
|
+
* @public
|
|
315
336
|
* <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have
|
|
316
337
|
* been run recently in this account. You can request all queries or limit it to queries of a
|
|
317
338
|
* specific log group or queries with a certain status.</p>
|
|
@@ -320,6 +341,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
320
341
|
describeQueries(args: DescribeQueriesCommandInput, cb: (err: any, data?: DescribeQueriesCommandOutput) => void): void;
|
|
321
342
|
describeQueries(args: DescribeQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueriesCommandOutput) => void): void;
|
|
322
343
|
/**
|
|
344
|
+
* @public
|
|
323
345
|
* <p>This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.</p>
|
|
324
346
|
* <p>You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results to only the
|
|
325
347
|
* query definitions that have names that start with a certain string.</p>
|
|
@@ -328,12 +350,14 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
328
350
|
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void): void;
|
|
329
351
|
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void): void;
|
|
330
352
|
/**
|
|
353
|
+
* @public
|
|
331
354
|
* <p>Lists the resource policies in this account.</p>
|
|
332
355
|
*/
|
|
333
356
|
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePoliciesCommandOutput>;
|
|
334
357
|
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void): void;
|
|
335
358
|
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void): void;
|
|
336
359
|
/**
|
|
360
|
+
* @public
|
|
337
361
|
* <p>Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix.
|
|
338
362
|
* The results are ASCII-sorted by filter name.</p>
|
|
339
363
|
*/
|
|
@@ -341,6 +365,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
341
365
|
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
|
|
342
366
|
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
|
|
343
367
|
/**
|
|
368
|
+
* @public
|
|
344
369
|
* <p>Disassociates the associated KMS key from the specified log
|
|
345
370
|
* group.</p>
|
|
346
371
|
* <p>After the KMS key is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data
|
|
@@ -352,6 +377,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
352
377
|
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
353
378
|
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
354
379
|
/**
|
|
380
|
+
* @public
|
|
355
381
|
* <p>Lists log events from the specified log group. You can list all the log events or filter the results
|
|
356
382
|
* using a filter pattern, a time range, and the name of the log stream.</p>
|
|
357
383
|
* <p>You must have the <code>logs;FilterLogEvents</code> permission to perform this operation.</p>
|
|
@@ -373,12 +399,14 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
373
399
|
filterLogEvents(args: FilterLogEventsCommandInput, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
|
|
374
400
|
filterLogEvents(args: FilterLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
|
|
375
401
|
/**
|
|
402
|
+
* @public
|
|
376
403
|
* <p>Returns information about a log group data protection policy.</p>
|
|
377
404
|
*/
|
|
378
405
|
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetDataProtectionPolicyCommandOutput>;
|
|
379
406
|
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
|
|
380
407
|
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
|
|
381
408
|
/**
|
|
409
|
+
* @public
|
|
382
410
|
* <p>Lists log events from the specified log stream. You can list all of the log events or
|
|
383
411
|
* filter using a time range.</p>
|
|
384
412
|
* <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events).
|
|
@@ -395,6 +423,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
395
423
|
getLogEvents(args: GetLogEventsCommandInput, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
396
424
|
getLogEvents(args: GetLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
397
425
|
/**
|
|
426
|
+
* @public
|
|
398
427
|
* <p>Returns a list of the fields that are included in log events in the specified log group.
|
|
399
428
|
* Includes the percentage of log events that contain each field. The search is limited to a time
|
|
400
429
|
* period that you specify.</p>
|
|
@@ -415,6 +444,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
415
444
|
getLogGroupFields(args: GetLogGroupFieldsCommandInput, cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void): void;
|
|
416
445
|
getLogGroupFields(args: GetLogGroupFieldsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void): void;
|
|
417
446
|
/**
|
|
447
|
+
* @public
|
|
418
448
|
* <p>Retrieves all of the fields and values of a single log event. All fields are retrieved,
|
|
419
449
|
* even if the original query that produced the <code>logRecordPointer</code> retrieved only a
|
|
420
450
|
* subset of fields. Fields are returned as field name/field value pairs.</p>
|
|
@@ -424,6 +454,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
424
454
|
getLogRecord(args: GetLogRecordCommandInput, cb: (err: any, data?: GetLogRecordCommandOutput) => void): void;
|
|
425
455
|
getLogRecord(args: GetLogRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogRecordCommandOutput) => void): void;
|
|
426
456
|
/**
|
|
457
|
+
* @public
|
|
427
458
|
* <p>Returns the results from the specified query.</p>
|
|
428
459
|
* <p>Only the fields requested in the query are returned, along with a <code>@ptr</code>
|
|
429
460
|
* field, which is the identifier for the log record. You can use the value of <code>@ptr</code>
|
|
@@ -442,6 +473,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
442
473
|
getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
443
474
|
getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
444
475
|
/**
|
|
476
|
+
* @public
|
|
445
477
|
* <p>Displays the tags associated with a CloudWatch Logs resource. Currently, log groups
|
|
446
478
|
* and destinations support tagging.</p>
|
|
447
479
|
*/
|
|
@@ -449,6 +481,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
449
481
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
450
482
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
451
483
|
/**
|
|
484
|
+
* @public
|
|
452
485
|
* @deprecated
|
|
453
486
|
*
|
|
454
487
|
* <important>
|
|
@@ -461,6 +494,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
461
494
|
listTagsLogGroup(args: ListTagsLogGroupCommandInput, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
|
|
462
495
|
listTagsLogGroup(args: ListTagsLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
|
|
463
496
|
/**
|
|
497
|
+
* @public
|
|
464
498
|
* <p>Creates a data protection policy for the specified log group. A data protection policy can help safeguard sensitive
|
|
465
499
|
* data that's ingested by the log group by auditing and masking the sensitive log data.</p>
|
|
466
500
|
* <important>
|
|
@@ -481,6 +515,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
481
515
|
putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
|
|
482
516
|
putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
|
|
483
517
|
/**
|
|
518
|
+
* @public
|
|
484
519
|
* <p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>
|
|
485
520
|
* <p>A destination encapsulates a physical resource (such as an Amazon Kinesis stream). With
|
|
486
521
|
* a destination, you can subscribe to a real-time stream of log events for a different account,
|
|
@@ -496,6 +531,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
496
531
|
putDestination(args: PutDestinationCommandInput, cb: (err: any, data?: PutDestinationCommandOutput) => void): void;
|
|
497
532
|
putDestination(args: PutDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDestinationCommandOutput) => void): void;
|
|
498
533
|
/**
|
|
534
|
+
* @public
|
|
499
535
|
* <p>Creates or updates an access policy associated with an existing
|
|
500
536
|
* destination. An access policy is an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html">IAM policy document</a> that is used
|
|
501
537
|
* to authorize claims to register a subscription filter against a given destination.</p>
|
|
@@ -504,6 +540,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
504
540
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
505
541
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
506
542
|
/**
|
|
543
|
+
* @public
|
|
507
544
|
* <p>Uploads a batch of log events to the specified log stream.</p>
|
|
508
545
|
* <important>
|
|
509
546
|
* <p>The sequence token is now ignored in <code>PutLogEvents</code>
|
|
@@ -555,6 +592,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
555
592
|
putLogEvents(args: PutLogEventsCommandInput, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
|
|
556
593
|
putLogEvents(args: PutLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
|
|
557
594
|
/**
|
|
595
|
+
* @public
|
|
558
596
|
* <p>Creates or updates a metric filter and associates it with the specified log group. With
|
|
559
597
|
* metric filters, you can configure rules to extract metric data from log events ingested
|
|
560
598
|
* through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
|
|
@@ -583,6 +621,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
583
621
|
putMetricFilter(args: PutMetricFilterCommandInput, cb: (err: any, data?: PutMetricFilterCommandOutput) => void): void;
|
|
584
622
|
putMetricFilter(args: PutMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricFilterCommandOutput) => void): void;
|
|
585
623
|
/**
|
|
624
|
+
* @public
|
|
586
625
|
* <p>Creates or updates a query definition for CloudWatch Logs Insights. For
|
|
587
626
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>
|
|
588
627
|
* <p>To update a query definition, specify its <code>queryDefinitionId</code> in your request.
|
|
@@ -599,6 +638,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
599
638
|
putQueryDefinition(args: PutQueryDefinitionCommandInput, cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void): void;
|
|
600
639
|
putQueryDefinition(args: PutQueryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void): void;
|
|
601
640
|
/**
|
|
641
|
+
* @public
|
|
602
642
|
* <p>Creates or updates a resource policy allowing other Amazon Web Services services to put log events to
|
|
603
643
|
* this account, such as Amazon Route 53. An account can have up to 10 resource policies per Amazon Web Services
|
|
604
644
|
* Region.</p>
|
|
@@ -607,6 +647,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
607
647
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
608
648
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
609
649
|
/**
|
|
650
|
+
* @public
|
|
610
651
|
* <p>Sets the retention of the specified log group. With a retention policy, you can
|
|
611
652
|
* configure the number of days for which to retain log events in the specified log
|
|
612
653
|
* group.</p>
|
|
@@ -627,6 +668,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
627
668
|
putRetentionPolicy(args: PutRetentionPolicyCommandInput, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
|
|
628
669
|
putRetentionPolicy(args: PutRetentionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
|
|
629
670
|
/**
|
|
671
|
+
* @public
|
|
630
672
|
* <p>Creates or updates a subscription filter and associates it with the specified log
|
|
631
673
|
* group. With subscription filters, you can subscribe to a real-time stream of log events
|
|
632
674
|
* ingested through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>
|
|
@@ -660,6 +702,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
660
702
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
661
703
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
662
704
|
/**
|
|
705
|
+
* @public
|
|
663
706
|
* <p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group
|
|
664
707
|
* and time range to query and the query string to use.</p>
|
|
665
708
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
@@ -677,6 +720,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
677
720
|
startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
678
721
|
startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
679
722
|
/**
|
|
723
|
+
* @public
|
|
680
724
|
* <p>Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation
|
|
681
725
|
* returns an error indicating that the specified query is not running.</p>
|
|
682
726
|
*/
|
|
@@ -684,6 +728,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
684
728
|
stopQuery(args: StopQueryCommandInput, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
|
|
685
729
|
stopQuery(args: StopQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
|
|
686
730
|
/**
|
|
731
|
+
* @public
|
|
687
732
|
* @deprecated
|
|
688
733
|
*
|
|
689
734
|
* <important>
|
|
@@ -705,6 +750,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
705
750
|
tagLogGroup(args: TagLogGroupCommandInput, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
|
|
706
751
|
tagLogGroup(args: TagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
|
|
707
752
|
/**
|
|
753
|
+
* @public
|
|
708
754
|
* <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs resource.
|
|
709
755
|
* Currently, the only CloudWatch Logs resources that
|
|
710
756
|
* can be tagged are log groups and destinations. </p>
|
|
@@ -722,6 +768,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
722
768
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
723
769
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
724
770
|
/**
|
|
771
|
+
* @public
|
|
725
772
|
* <p>Tests the filter pattern of a metric filter against a sample of log event messages. You
|
|
726
773
|
* can use this operation to validate the correctness of a metric filter pattern.</p>
|
|
727
774
|
*/
|
|
@@ -729,6 +776,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
729
776
|
testMetricFilter(args: TestMetricFilterCommandInput, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
730
777
|
testMetricFilter(args: TestMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
731
778
|
/**
|
|
779
|
+
* @public
|
|
732
780
|
* @deprecated
|
|
733
781
|
*
|
|
734
782
|
* <important>
|
|
@@ -747,6 +795,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
747
795
|
untagLogGroup(args: UntagLogGroupCommandInput, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
|
|
748
796
|
untagLogGroup(args: UntagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
|
|
749
797
|
/**
|
|
798
|
+
* @public
|
|
750
799
|
* <p>Removes one or more tags from the specified resource.</p>
|
|
751
800
|
*/
|
|
752
801
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
@@ -56,15 +56,24 @@ import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./c
|
|
|
56
56
|
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
57
57
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
58
58
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
59
62
|
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateExportTaskCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDestinationCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutDataProtectionPolicyCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
60
66
|
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateExportTaskCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDestinationCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutDataProtectionPolicyCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
61
70
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
62
71
|
/**
|
|
63
72
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
64
73
|
*/
|
|
65
74
|
requestHandler?: __HttpHandler;
|
|
66
75
|
/**
|
|
67
|
-
* A constructor for a class implementing the {@link
|
|
76
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
68
77
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
69
78
|
* @internal
|
|
70
79
|
*/
|
|
@@ -154,23 +163,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
154
163
|
*/
|
|
155
164
|
logger?: __Logger;
|
|
156
165
|
/**
|
|
157
|
-
* The {@link
|
|
166
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
158
167
|
*/
|
|
159
168
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
160
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
161
173
|
type CloudWatchLogsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
162
174
|
/**
|
|
163
|
-
*
|
|
175
|
+
* @public
|
|
176
|
+
*
|
|
177
|
+
* The configuration interface of CloudWatchLogsClient class constructor that set the region, credentials and other options.
|
|
164
178
|
*/
|
|
165
179
|
export interface CloudWatchLogsClientConfig extends CloudWatchLogsClientConfigType {
|
|
166
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
167
184
|
type CloudWatchLogsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
168
185
|
/**
|
|
169
|
-
*
|
|
186
|
+
* @public
|
|
187
|
+
*
|
|
188
|
+
* The resolved configuration interface of CloudWatchLogsClient class. This is resolved and normalized from the {@link CloudWatchLogsClientConfig | constructor configuration interface}.
|
|
170
189
|
*/
|
|
171
190
|
export interface CloudWatchLogsClientResolvedConfig extends CloudWatchLogsClientResolvedConfigType {
|
|
172
191
|
}
|
|
173
192
|
/**
|
|
193
|
+
* @public
|
|
174
194
|
* <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
|
|
175
195
|
* EC2 instances, CloudTrail, and other sources. You can then retrieve the associated
|
|
176
196
|
* log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { AssociateKmsKeyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateKmsKeyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateKmsKeyCommandInput extends AssociateKmsKeyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateKmsKeyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Associates the specified KMS key with the specified log
|
|
18
23
|
* group.</p>
|
|
19
24
|
* <p>Associating a KMS key with a log group overrides any existing
|
|
@@ -38,6 +43,8 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
40
45
|
*
|
|
46
|
+
* @param AssociateKmsKeyCommandInput - {@link AssociateKmsKeyCommandInput}
|
|
47
|
+
* @returns {@link AssociateKmsKeyCommandOutput}
|
|
41
48
|
* @see {@link AssociateKmsKeyCommandInput} for command's `input` shape.
|
|
42
49
|
* @see {@link AssociateKmsKeyCommandOutput} for command's `response` shape.
|
|
43
50
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
59
66
|
export declare class AssociateKmsKeyCommand extends $Command<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
60
67
|
readonly input: AssociateKmsKeyCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: AssociateKmsKeyCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CancelExportTaskRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelExportTaskCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelExportTaskCommandInput extends CancelExportTaskRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelExportTaskCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels the specified export task.</p>
|
|
18
23
|
* <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param CancelExportTaskCommandInput - {@link CancelExportTaskCommandInput}
|
|
35
|
+
* @returns {@link CancelExportTaskCommandOutput}
|
|
29
36
|
* @see {@link CancelExportTaskCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link CancelExportTaskCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
|
47
54
|
export declare class CancelExportTaskCommand extends $Command<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
48
55
|
readonly input: CancelExportTaskCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: CancelExportTaskCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelExportTaskCommandInput, CancelExportTaskCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CreateExportTaskRequest, CreateExportTaskResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateExportTaskCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateExportTaskCommandInput extends CreateExportTaskRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateExportTaskCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an export task so that you can efficiently export data from a log group to an
|
|
18
23
|
* Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use
|
|
19
24
|
* credentials that have permission to write to the S3 bucket that you specify as the
|
|
@@ -44,6 +49,8 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
44
49
|
* const response = await client.send(command);
|
|
45
50
|
* ```
|
|
46
51
|
*
|
|
52
|
+
* @param CreateExportTaskCommandInput - {@link CreateExportTaskCommandInput}
|
|
53
|
+
* @returns {@link CreateExportTaskCommandOutput}
|
|
47
54
|
* @see {@link CreateExportTaskCommandInput} for command's `input` shape.
|
|
48
55
|
* @see {@link CreateExportTaskCommandOutput} for command's `response` shape.
|
|
49
56
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -71,11 +78,20 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
71
78
|
export declare class CreateExportTaskCommand extends $Command<CreateExportTaskCommandInput, CreateExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
72
79
|
readonly input: CreateExportTaskCommandInput;
|
|
73
80
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
74
84
|
constructor(input: CreateExportTaskCommandInput);
|
|
75
85
|
/**
|
|
76
86
|
* @internal
|
|
77
87
|
*/
|
|
78
88
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportTaskCommandInput, CreateExportTaskCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
79
92
|
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
80
96
|
private deserialize;
|
|
81
97
|
}
|