@aws-sdk/client-cloudwatch-logs 3.170.0 → 3.178.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  3. package/dist-types/runtimeConfig.d.ts +1 -1
  4. package/dist-types/runtimeConfig.native.d.ts +1 -1
  5. package/dist-types/ts3.4/CloudWatchLogs.d.ts +0 -42
  6. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +0 -25
  7. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +0 -2
  47. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +0 -2
  48. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +0 -2
  49. package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +0 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +0 -304
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  55. package/package.json +26 -26
@@ -2,41 +2,32 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
3
3
  export interface AssociateKmsKeyRequest {
4
4
  logGroupName: string | undefined;
5
-
6
5
  kmsKeyId: string | undefined;
7
6
  }
8
-
9
7
  export declare class InvalidParameterException extends __BaseException {
10
8
  readonly name: "InvalidParameterException";
11
9
  readonly $fault: "client";
12
-
13
10
  constructor(
14
11
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
15
12
  );
16
13
  }
17
-
18
14
  export declare class OperationAbortedException extends __BaseException {
19
15
  readonly name: "OperationAbortedException";
20
16
  readonly $fault: "client";
21
-
22
17
  constructor(
23
18
  opts: __ExceptionOptionType<OperationAbortedException, __BaseException>
24
19
  );
25
20
  }
26
-
27
21
  export declare class ResourceNotFoundException extends __BaseException {
28
22
  readonly name: "ResourceNotFoundException";
29
23
  readonly $fault: "client";
30
-
31
24
  constructor(
32
25
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
33
26
  );
34
27
  }
35
-
36
28
  export declare class ServiceUnavailableException extends __BaseException {
37
29
  readonly name: "ServiceUnavailableException";
38
30
  readonly $fault: "server";
39
-
40
31
  constructor(
41
32
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
42
33
  );
@@ -44,69 +35,52 @@ export declare class ServiceUnavailableException extends __BaseException {
44
35
  export interface CancelExportTaskRequest {
45
36
  taskId: string | undefined;
46
37
  }
47
-
48
38
  export declare class InvalidOperationException extends __BaseException {
49
39
  readonly name: "InvalidOperationException";
50
40
  readonly $fault: "client";
51
-
52
41
  constructor(
53
42
  opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
54
43
  );
55
44
  }
56
45
  export interface CreateExportTaskRequest {
57
46
  taskName?: string;
58
-
59
47
  logGroupName: string | undefined;
60
-
61
48
  logStreamNamePrefix?: string;
62
-
63
49
  from: number | undefined;
64
-
65
50
  to: number | undefined;
66
-
67
51
  destination: string | undefined;
68
-
69
52
  destinationPrefix?: string;
70
53
  }
71
54
  export interface CreateExportTaskResponse {
72
55
  taskId?: string;
73
56
  }
74
-
75
57
  export declare class LimitExceededException extends __BaseException {
76
58
  readonly name: "LimitExceededException";
77
59
  readonly $fault: "client";
78
-
79
60
  constructor(
80
61
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
81
62
  );
82
63
  }
83
-
84
64
  export declare class ResourceAlreadyExistsException extends __BaseException {
85
65
  readonly name: "ResourceAlreadyExistsException";
86
66
  readonly $fault: "client";
87
-
88
67
  constructor(
89
68
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
90
69
  );
91
70
  }
92
71
  export interface CreateLogGroupRequest {
93
72
  logGroupName: string | undefined;
94
-
95
73
  kmsKeyId?: string;
96
-
97
74
  tags?: Record<string, string>;
98
75
  }
99
76
  export interface CreateLogStreamRequest {
100
77
  logGroupName: string | undefined;
101
-
102
78
  logStreamName: string | undefined;
103
79
  }
104
-
105
80
  export declare class DataAlreadyAcceptedException extends __BaseException {
106
81
  readonly name: "DataAlreadyAcceptedException";
107
82
  readonly $fault: "client";
108
83
  expectedSequenceToken?: string;
109
-
110
84
  constructor(
111
85
  opts: __ExceptionOptionType<DataAlreadyAcceptedException, __BaseException>
112
86
  );
@@ -119,12 +93,10 @@ export interface DeleteLogGroupRequest {
119
93
  }
120
94
  export interface DeleteLogStreamRequest {
121
95
  logGroupName: string | undefined;
122
-
123
96
  logStreamName: string | undefined;
124
97
  }
125
98
  export interface DeleteMetricFilterRequest {
126
99
  logGroupName: string | undefined;
127
-
128
100
  filterName: string | undefined;
129
101
  }
130
102
  export interface DeleteQueryDefinitionRequest {
@@ -141,33 +113,23 @@ export interface DeleteRetentionPolicyRequest {
141
113
  }
142
114
  export interface DeleteSubscriptionFilterRequest {
143
115
  logGroupName: string | undefined;
144
-
145
116
  filterName: string | undefined;
146
117
  }
147
118
  export interface DescribeDestinationsRequest {
148
119
  DestinationNamePrefix?: string;
149
-
150
120
  nextToken?: string;
151
-
152
121
  limit?: number;
153
122
  }
154
-
155
123
  export interface Destination {
156
124
  destinationName?: string;
157
-
158
125
  targetArn?: string;
159
-
160
126
  roleArn?: string;
161
-
162
127
  accessPolicy?: string;
163
-
164
128
  arn?: string;
165
-
166
129
  creationTime?: number;
167
130
  }
168
131
  export interface DescribeDestinationsResponse {
169
132
  destinations?: Destination[];
170
-
171
133
  nextToken?: string;
172
134
  }
173
135
  export declare enum ExportTaskStatusCode {
@@ -180,76 +142,49 @@ export declare enum ExportTaskStatusCode {
180
142
  }
181
143
  export interface DescribeExportTasksRequest {
182
144
  taskId?: string;
183
-
184
145
  statusCode?: ExportTaskStatusCode | string;
185
-
186
146
  nextToken?: string;
187
-
188
147
  limit?: number;
189
148
  }
190
-
191
149
  export interface ExportTaskExecutionInfo {
192
150
  creationTime?: number;
193
-
194
151
  completionTime?: number;
195
152
  }
196
-
197
153
  export interface ExportTaskStatus {
198
154
  code?: ExportTaskStatusCode | string;
199
-
200
155
  message?: string;
201
156
  }
202
-
203
157
  export interface ExportTask {
204
158
  taskId?: string;
205
-
206
159
  taskName?: string;
207
-
208
160
  logGroupName?: string;
209
-
210
161
  from?: number;
211
-
212
162
  to?: number;
213
-
214
163
  destination?: string;
215
-
216
164
  destinationPrefix?: string;
217
-
218
165
  status?: ExportTaskStatus;
219
-
220
166
  executionInfo?: ExportTaskExecutionInfo;
221
167
  }
222
168
  export interface DescribeExportTasksResponse {
223
169
  exportTasks?: ExportTask[];
224
-
225
170
  nextToken?: string;
226
171
  }
227
172
  export interface DescribeLogGroupsRequest {
228
173
  logGroupNamePrefix?: string;
229
-
230
174
  nextToken?: string;
231
-
232
175
  limit?: number;
233
176
  }
234
-
235
177
  export interface LogGroup {
236
178
  logGroupName?: string;
237
-
238
179
  creationTime?: number;
239
-
240
180
  retentionInDays?: number;
241
-
242
181
  metricFilterCount?: number;
243
-
244
182
  arn?: string;
245
-
246
183
  storedBytes?: number;
247
-
248
184
  kmsKeyId?: string;
249
185
  }
250
186
  export interface DescribeLogGroupsResponse {
251
187
  logGroups?: LogGroup[];
252
-
253
188
  nextToken?: string;
254
189
  }
255
190
  export declare enum OrderBy {
@@ -258,51 +193,32 @@ export declare enum OrderBy {
258
193
  }
259
194
  export interface DescribeLogStreamsRequest {
260
195
  logGroupName: string | undefined;
261
-
262
196
  logStreamNamePrefix?: string;
263
-
264
197
  orderBy?: OrderBy | string;
265
-
266
198
  descending?: boolean;
267
-
268
199
  nextToken?: string;
269
-
270
200
  limit?: number;
271
201
  }
272
-
273
202
  export interface LogStream {
274
203
  logStreamName?: string;
275
-
276
204
  creationTime?: number;
277
-
278
205
  firstEventTimestamp?: number;
279
-
280
206
  lastEventTimestamp?: number;
281
-
282
207
  lastIngestionTime?: number;
283
-
284
208
  uploadSequenceToken?: string;
285
-
286
209
  arn?: string;
287
-
288
210
  storedBytes?: number;
289
211
  }
290
212
  export interface DescribeLogStreamsResponse {
291
213
  logStreams?: LogStream[];
292
-
293
214
  nextToken?: string;
294
215
  }
295
216
  export interface DescribeMetricFiltersRequest {
296
217
  logGroupName?: string;
297
-
298
218
  filterNamePrefix?: string;
299
-
300
219
  nextToken?: string;
301
-
302
220
  limit?: number;
303
-
304
221
  metricName?: string;
305
-
306
222
  metricNamespace?: string;
307
223
  }
308
224
  export declare enum StandardUnit {
@@ -334,35 +250,23 @@ export declare enum StandardUnit {
334
250
  Terabytes = "Terabytes",
335
251
  TerabytesSecond = "Terabytes/Second",
336
252
  }
337
-
338
253
  export interface MetricTransformation {
339
254
  metricName: string | undefined;
340
-
341
255
  metricNamespace: string | undefined;
342
-
343
256
  metricValue: string | undefined;
344
-
345
257
  defaultValue?: number;
346
-
347
258
  dimensions?: Record<string, string>;
348
-
349
259
  unit?: StandardUnit | string;
350
260
  }
351
-
352
261
  export interface MetricFilter {
353
262
  filterName?: string;
354
-
355
263
  filterPattern?: string;
356
-
357
264
  metricTransformations?: MetricTransformation[];
358
-
359
265
  creationTime?: number;
360
-
361
266
  logGroupName?: string;
362
267
  }
363
268
  export interface DescribeMetricFiltersResponse {
364
269
  metricFilters?: MetricFilter[];
365
-
366
270
  nextToken?: string;
367
271
  }
368
272
  export declare enum QueryStatus {
@@ -376,192 +280,128 @@ export declare enum QueryStatus {
376
280
  }
377
281
  export interface DescribeQueriesRequest {
378
282
  logGroupName?: string;
379
-
380
283
  status?: QueryStatus | string;
381
-
382
284
  maxResults?: number;
383
-
384
285
  nextToken?: string;
385
286
  }
386
-
387
287
  export interface QueryInfo {
388
288
  queryId?: string;
389
-
390
289
  queryString?: string;
391
-
392
290
  status?: QueryStatus | string;
393
-
394
291
  createTime?: number;
395
-
396
292
  logGroupName?: string;
397
293
  }
398
294
  export interface DescribeQueriesResponse {
399
295
  queries?: QueryInfo[];
400
-
401
296
  nextToken?: string;
402
297
  }
403
298
  export interface DescribeQueryDefinitionsRequest {
404
299
  queryDefinitionNamePrefix?: string;
405
-
406
300
  maxResults?: number;
407
-
408
301
  nextToken?: string;
409
302
  }
410
-
411
303
  export interface QueryDefinition {
412
304
  queryDefinitionId?: string;
413
-
414
305
  name?: string;
415
-
416
306
  queryString?: string;
417
-
418
307
  lastModified?: number;
419
-
420
308
  logGroupNames?: string[];
421
309
  }
422
310
  export interface DescribeQueryDefinitionsResponse {
423
311
  queryDefinitions?: QueryDefinition[];
424
-
425
312
  nextToken?: string;
426
313
  }
427
314
  export interface DescribeResourcePoliciesRequest {
428
315
  nextToken?: string;
429
-
430
316
  limit?: number;
431
317
  }
432
-
433
318
  export interface ResourcePolicy {
434
319
  policyName?: string;
435
-
436
320
  policyDocument?: string;
437
-
438
321
  lastUpdatedTime?: number;
439
322
  }
440
323
  export interface DescribeResourcePoliciesResponse {
441
324
  resourcePolicies?: ResourcePolicy[];
442
-
443
325
  nextToken?: string;
444
326
  }
445
327
  export interface DescribeSubscriptionFiltersRequest {
446
328
  logGroupName: string | undefined;
447
-
448
329
  filterNamePrefix?: string;
449
-
450
330
  nextToken?: string;
451
-
452
331
  limit?: number;
453
332
  }
454
333
  export declare enum Distribution {
455
334
  ByLogStream = "ByLogStream",
456
335
  Random = "Random",
457
336
  }
458
-
459
337
  export interface SubscriptionFilter {
460
338
  filterName?: string;
461
-
462
339
  logGroupName?: string;
463
-
464
340
  filterPattern?: string;
465
-
466
341
  destinationArn?: string;
467
-
468
342
  roleArn?: string;
469
-
470
343
  distribution?: Distribution | string;
471
-
472
344
  creationTime?: number;
473
345
  }
474
346
  export interface DescribeSubscriptionFiltersResponse {
475
347
  subscriptionFilters?: SubscriptionFilter[];
476
-
477
348
  nextToken?: string;
478
349
  }
479
350
  export interface DisassociateKmsKeyRequest {
480
351
  logGroupName: string | undefined;
481
352
  }
482
-
483
353
  export interface FilteredLogEvent {
484
354
  logStreamName?: string;
485
-
486
355
  timestamp?: number;
487
-
488
356
  message?: string;
489
-
490
357
  ingestionTime?: number;
491
-
492
358
  eventId?: string;
493
359
  }
494
360
  export interface FilterLogEventsRequest {
495
361
  logGroupName: string | undefined;
496
-
497
362
  logStreamNames?: string[];
498
-
499
363
  logStreamNamePrefix?: string;
500
-
501
364
  startTime?: number;
502
-
503
365
  endTime?: number;
504
-
505
366
  filterPattern?: string;
506
-
507
367
  nextToken?: string;
508
-
509
368
  limit?: number;
510
-
511
369
  interleaved?: boolean;
512
370
  }
513
-
514
371
  export interface SearchedLogStream {
515
372
  logStreamName?: string;
516
-
517
373
  searchedCompletely?: boolean;
518
374
  }
519
375
  export interface FilterLogEventsResponse {
520
376
  events?: FilteredLogEvent[];
521
-
522
377
  searchedLogStreams?: SearchedLogStream[];
523
-
524
378
  nextToken?: string;
525
379
  }
526
380
  export interface GetLogEventsRequest {
527
381
  logGroupName: string | undefined;
528
-
529
382
  logStreamName: string | undefined;
530
-
531
383
  startTime?: number;
532
-
533
384
  endTime?: number;
534
-
535
385
  nextToken?: string;
536
-
537
386
  limit?: number;
538
-
539
387
  startFromHead?: boolean;
540
388
  }
541
-
542
389
  export interface OutputLogEvent {
543
390
  timestamp?: number;
544
-
545
391
  message?: string;
546
-
547
392
  ingestionTime?: number;
548
393
  }
549
394
  export interface GetLogEventsResponse {
550
395
  events?: OutputLogEvent[];
551
-
552
396
  nextForwardToken?: string;
553
-
554
397
  nextBackwardToken?: string;
555
398
  }
556
399
  export interface GetLogGroupFieldsRequest {
557
400
  logGroupName: string | undefined;
558
-
559
401
  time?: number;
560
402
  }
561
-
562
403
  export interface LogGroupField {
563
404
  name?: string;
564
-
565
405
  percent?: number;
566
406
  }
567
407
  export interface GetLogGroupFieldsResponse {
@@ -576,39 +416,28 @@ export interface GetLogRecordResponse {
576
416
  export interface GetQueryResultsRequest {
577
417
  queryId: string | undefined;
578
418
  }
579
-
580
419
  export interface ResultField {
581
420
  field?: string;
582
-
583
421
  value?: string;
584
422
  }
585
-
586
423
  export interface QueryStatistics {
587
424
  recordsMatched?: number;
588
-
589
425
  recordsScanned?: number;
590
-
591
426
  bytesScanned?: number;
592
427
  }
593
428
  export interface GetQueryResultsResponse {
594
429
  results?: ResultField[][];
595
-
596
430
  statistics?: QueryStatistics;
597
-
598
431
  status?: QueryStatus | string;
599
432
  }
600
-
601
433
  export interface InputLogEvent {
602
434
  timestamp: number | undefined;
603
-
604
435
  message: string | undefined;
605
436
  }
606
-
607
437
  export declare class InvalidSequenceTokenException extends __BaseException {
608
438
  readonly name: "InvalidSequenceTokenException";
609
439
  readonly $fault: "client";
610
440
  expectedSequenceToken?: string;
611
-
612
441
  constructor(
613
442
  opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>
614
443
  );
@@ -621,9 +450,7 @@ export interface ListTagsLogGroupResponse {
621
450
  }
622
451
  export interface PutDestinationRequest {
623
452
  destinationName: string | undefined;
624
-
625
453
  targetArn: string | undefined;
626
-
627
454
  roleArn: string | undefined;
628
455
  }
629
456
  export interface PutDestinationResponse {
@@ -631,58 +458,41 @@ export interface PutDestinationResponse {
631
458
  }
632
459
  export interface PutDestinationPolicyRequest {
633
460
  destinationName: string | undefined;
634
-
635
461
  accessPolicy: string | undefined;
636
-
637
462
  forceUpdate?: boolean;
638
463
  }
639
464
  export interface PutLogEventsRequest {
640
465
  logGroupName: string | undefined;
641
-
642
466
  logStreamName: string | undefined;
643
-
644
467
  logEvents: InputLogEvent[] | undefined;
645
-
646
468
  sequenceToken?: string;
647
469
  }
648
-
649
470
  export interface RejectedLogEventsInfo {
650
471
  tooNewLogEventStartIndex?: number;
651
-
652
472
  tooOldLogEventEndIndex?: number;
653
-
654
473
  expiredLogEventEndIndex?: number;
655
474
  }
656
475
  export interface PutLogEventsResponse {
657
476
  nextSequenceToken?: string;
658
-
659
477
  rejectedLogEventsInfo?: RejectedLogEventsInfo;
660
478
  }
661
-
662
479
  export declare class UnrecognizedClientException extends __BaseException {
663
480
  readonly name: "UnrecognizedClientException";
664
481
  readonly $fault: "client";
665
-
666
482
  constructor(
667
483
  opts: __ExceptionOptionType<UnrecognizedClientException, __BaseException>
668
484
  );
669
485
  }
670
486
  export interface PutMetricFilterRequest {
671
487
  logGroupName: string | undefined;
672
-
673
488
  filterName: string | undefined;
674
-
675
489
  filterPattern: string | undefined;
676
-
677
490
  metricTransformations: MetricTransformation[] | undefined;
678
491
  }
679
492
  export interface PutQueryDefinitionRequest {
680
493
  name: string | undefined;
681
-
682
494
  queryDefinitionId?: string;
683
-
684
495
  logGroupNames?: string[];
685
-
686
496
  queryString: string | undefined;
687
497
  }
688
498
  export interface PutQueryDefinitionResponse {
@@ -690,7 +500,6 @@ export interface PutQueryDefinitionResponse {
690
500
  }
691
501
  export interface PutResourcePolicyRequest {
692
502
  policyName?: string;
693
-
694
503
  policyDocument?: string;
695
504
  }
696
505
  export interface PutResourcePolicyResponse {
@@ -698,56 +507,38 @@ export interface PutResourcePolicyResponse {
698
507
  }
699
508
  export interface PutRetentionPolicyRequest {
700
509
  logGroupName: string | undefined;
701
-
702
510
  retentionInDays: number | undefined;
703
511
  }
704
512
  export interface PutSubscriptionFilterRequest {
705
513
  logGroupName: string | undefined;
706
-
707
514
  filterName: string | undefined;
708
-
709
515
  filterPattern: string | undefined;
710
-
711
516
  destinationArn: string | undefined;
712
-
713
517
  roleArn?: string;
714
-
715
518
  distribution?: Distribution | string;
716
519
  }
717
-
718
520
  export interface QueryCompileErrorLocation {
719
521
  startCharOffset?: number;
720
-
721
522
  endCharOffset?: number;
722
523
  }
723
-
724
524
  export interface QueryCompileError {
725
525
  location?: QueryCompileErrorLocation;
726
-
727
526
  message?: string;
728
527
  }
729
-
730
528
  export declare class MalformedQueryException extends __BaseException {
731
529
  readonly name: "MalformedQueryException";
732
530
  readonly $fault: "client";
733
-
734
531
  queryCompileError?: QueryCompileError;
735
-
736
532
  constructor(
737
533
  opts: __ExceptionOptionType<MalformedQueryException, __BaseException>
738
534
  );
739
535
  }
740
536
  export interface StartQueryRequest {
741
537
  logGroupName?: string;
742
-
743
538
  logGroupNames?: string[];
744
-
745
539
  startTime: number | undefined;
746
-
747
540
  endTime: number | undefined;
748
-
749
541
  queryString: string | undefined;
750
-
751
542
  limit?: number;
752
543
  }
753
544
  export interface StartQueryResponse {
@@ -761,20 +552,15 @@ export interface StopQueryResponse {
761
552
  }
762
553
  export interface TagLogGroupRequest {
763
554
  logGroupName: string | undefined;
764
-
765
555
  tags: Record<string, string> | undefined;
766
556
  }
767
557
  export interface TestMetricFilterRequest {
768
558
  filterPattern: string | undefined;
769
-
770
559
  logEventMessages: string[] | undefined;
771
560
  }
772
-
773
561
  export interface MetricFilterMatchRecord {
774
562
  eventNumber?: number;
775
-
776
563
  eventMessage?: string;
777
-
778
564
  extractedValues?: Record<string, string>;
779
565
  }
780
566
  export interface TestMetricFilterResponse {
@@ -782,348 +568,258 @@ export interface TestMetricFilterResponse {
782
568
  }
783
569
  export interface UntagLogGroupRequest {
784
570
  logGroupName: string | undefined;
785
-
786
571
  tags: string[] | undefined;
787
572
  }
788
-
789
573
  export declare const AssociateKmsKeyRequestFilterSensitiveLog: (
790
574
  obj: AssociateKmsKeyRequest
791
575
  ) => any;
792
-
793
576
  export declare const CancelExportTaskRequestFilterSensitiveLog: (
794
577
  obj: CancelExportTaskRequest
795
578
  ) => any;
796
-
797
579
  export declare const CreateExportTaskRequestFilterSensitiveLog: (
798
580
  obj: CreateExportTaskRequest
799
581
  ) => any;
800
-
801
582
  export declare const CreateExportTaskResponseFilterSensitiveLog: (
802
583
  obj: CreateExportTaskResponse
803
584
  ) => any;
804
-
805
585
  export declare const CreateLogGroupRequestFilterSensitiveLog: (
806
586
  obj: CreateLogGroupRequest
807
587
  ) => any;
808
-
809
588
  export declare const CreateLogStreamRequestFilterSensitiveLog: (
810
589
  obj: CreateLogStreamRequest
811
590
  ) => any;
812
-
813
591
  export declare const DeleteDestinationRequestFilterSensitiveLog: (
814
592
  obj: DeleteDestinationRequest
815
593
  ) => any;
816
-
817
594
  export declare const DeleteLogGroupRequestFilterSensitiveLog: (
818
595
  obj: DeleteLogGroupRequest
819
596
  ) => any;
820
-
821
597
  export declare const DeleteLogStreamRequestFilterSensitiveLog: (
822
598
  obj: DeleteLogStreamRequest
823
599
  ) => any;
824
-
825
600
  export declare const DeleteMetricFilterRequestFilterSensitiveLog: (
826
601
  obj: DeleteMetricFilterRequest
827
602
  ) => any;
828
-
829
603
  export declare const DeleteQueryDefinitionRequestFilterSensitiveLog: (
830
604
  obj: DeleteQueryDefinitionRequest
831
605
  ) => any;
832
-
833
606
  export declare const DeleteQueryDefinitionResponseFilterSensitiveLog: (
834
607
  obj: DeleteQueryDefinitionResponse
835
608
  ) => any;
836
-
837
609
  export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (
838
610
  obj: DeleteResourcePolicyRequest
839
611
  ) => any;
840
-
841
612
  export declare const DeleteRetentionPolicyRequestFilterSensitiveLog: (
842
613
  obj: DeleteRetentionPolicyRequest
843
614
  ) => any;
844
-
845
615
  export declare const DeleteSubscriptionFilterRequestFilterSensitiveLog: (
846
616
  obj: DeleteSubscriptionFilterRequest
847
617
  ) => any;
848
-
849
618
  export declare const DescribeDestinationsRequestFilterSensitiveLog: (
850
619
  obj: DescribeDestinationsRequest
851
620
  ) => any;
852
-
853
621
  export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
854
-
855
622
  export declare const DescribeDestinationsResponseFilterSensitiveLog: (
856
623
  obj: DescribeDestinationsResponse
857
624
  ) => any;
858
-
859
625
  export declare const DescribeExportTasksRequestFilterSensitiveLog: (
860
626
  obj: DescribeExportTasksRequest
861
627
  ) => any;
862
-
863
628
  export declare const ExportTaskExecutionInfoFilterSensitiveLog: (
864
629
  obj: ExportTaskExecutionInfo
865
630
  ) => any;
866
-
867
631
  export declare const ExportTaskStatusFilterSensitiveLog: (
868
632
  obj: ExportTaskStatus
869
633
  ) => any;
870
-
871
634
  export declare const ExportTaskFilterSensitiveLog: (obj: ExportTask) => any;
872
-
873
635
  export declare const DescribeExportTasksResponseFilterSensitiveLog: (
874
636
  obj: DescribeExportTasksResponse
875
637
  ) => any;
876
-
877
638
  export declare const DescribeLogGroupsRequestFilterSensitiveLog: (
878
639
  obj: DescribeLogGroupsRequest
879
640
  ) => any;
880
-
881
641
  export declare const LogGroupFilterSensitiveLog: (obj: LogGroup) => any;
882
-
883
642
  export declare const DescribeLogGroupsResponseFilterSensitiveLog: (
884
643
  obj: DescribeLogGroupsResponse
885
644
  ) => any;
886
-
887
645
  export declare const DescribeLogStreamsRequestFilterSensitiveLog: (
888
646
  obj: DescribeLogStreamsRequest
889
647
  ) => any;
890
-
891
648
  export declare const LogStreamFilterSensitiveLog: (obj: LogStream) => any;
892
-
893
649
  export declare const DescribeLogStreamsResponseFilterSensitiveLog: (
894
650
  obj: DescribeLogStreamsResponse
895
651
  ) => any;
896
-
897
652
  export declare const DescribeMetricFiltersRequestFilterSensitiveLog: (
898
653
  obj: DescribeMetricFiltersRequest
899
654
  ) => any;
900
-
901
655
  export declare const MetricTransformationFilterSensitiveLog: (
902
656
  obj: MetricTransformation
903
657
  ) => any;
904
-
905
658
  export declare const MetricFilterFilterSensitiveLog: (obj: MetricFilter) => any;
906
-
907
659
  export declare const DescribeMetricFiltersResponseFilterSensitiveLog: (
908
660
  obj: DescribeMetricFiltersResponse
909
661
  ) => any;
910
-
911
662
  export declare const DescribeQueriesRequestFilterSensitiveLog: (
912
663
  obj: DescribeQueriesRequest
913
664
  ) => any;
914
-
915
665
  export declare const QueryInfoFilterSensitiveLog: (obj: QueryInfo) => any;
916
-
917
666
  export declare const DescribeQueriesResponseFilterSensitiveLog: (
918
667
  obj: DescribeQueriesResponse
919
668
  ) => any;
920
-
921
669
  export declare const DescribeQueryDefinitionsRequestFilterSensitiveLog: (
922
670
  obj: DescribeQueryDefinitionsRequest
923
671
  ) => any;
924
-
925
672
  export declare const QueryDefinitionFilterSensitiveLog: (
926
673
  obj: QueryDefinition
927
674
  ) => any;
928
-
929
675
  export declare const DescribeQueryDefinitionsResponseFilterSensitiveLog: (
930
676
  obj: DescribeQueryDefinitionsResponse
931
677
  ) => any;
932
-
933
678
  export declare const DescribeResourcePoliciesRequestFilterSensitiveLog: (
934
679
  obj: DescribeResourcePoliciesRequest
935
680
  ) => any;
936
-
937
681
  export declare const ResourcePolicyFilterSensitiveLog: (
938
682
  obj: ResourcePolicy
939
683
  ) => any;
940
-
941
684
  export declare const DescribeResourcePoliciesResponseFilterSensitiveLog: (
942
685
  obj: DescribeResourcePoliciesResponse
943
686
  ) => any;
944
-
945
687
  export declare const DescribeSubscriptionFiltersRequestFilterSensitiveLog: (
946
688
  obj: DescribeSubscriptionFiltersRequest
947
689
  ) => any;
948
-
949
690
  export declare const SubscriptionFilterFilterSensitiveLog: (
950
691
  obj: SubscriptionFilter
951
692
  ) => any;
952
-
953
693
  export declare const DescribeSubscriptionFiltersResponseFilterSensitiveLog: (
954
694
  obj: DescribeSubscriptionFiltersResponse
955
695
  ) => any;
956
-
957
696
  export declare const DisassociateKmsKeyRequestFilterSensitiveLog: (
958
697
  obj: DisassociateKmsKeyRequest
959
698
  ) => any;
960
-
961
699
  export declare const FilteredLogEventFilterSensitiveLog: (
962
700
  obj: FilteredLogEvent
963
701
  ) => any;
964
-
965
702
  export declare const FilterLogEventsRequestFilterSensitiveLog: (
966
703
  obj: FilterLogEventsRequest
967
704
  ) => any;
968
-
969
705
  export declare const SearchedLogStreamFilterSensitiveLog: (
970
706
  obj: SearchedLogStream
971
707
  ) => any;
972
-
973
708
  export declare const FilterLogEventsResponseFilterSensitiveLog: (
974
709
  obj: FilterLogEventsResponse
975
710
  ) => any;
976
-
977
711
  export declare const GetLogEventsRequestFilterSensitiveLog: (
978
712
  obj: GetLogEventsRequest
979
713
  ) => any;
980
-
981
714
  export declare const OutputLogEventFilterSensitiveLog: (
982
715
  obj: OutputLogEvent
983
716
  ) => any;
984
-
985
717
  export declare const GetLogEventsResponseFilterSensitiveLog: (
986
718
  obj: GetLogEventsResponse
987
719
  ) => any;
988
-
989
720
  export declare const GetLogGroupFieldsRequestFilterSensitiveLog: (
990
721
  obj: GetLogGroupFieldsRequest
991
722
  ) => any;
992
-
993
723
  export declare const LogGroupFieldFilterSensitiveLog: (
994
724
  obj: LogGroupField
995
725
  ) => any;
996
-
997
726
  export declare const GetLogGroupFieldsResponseFilterSensitiveLog: (
998
727
  obj: GetLogGroupFieldsResponse
999
728
  ) => any;
1000
-
1001
729
  export declare const GetLogRecordRequestFilterSensitiveLog: (
1002
730
  obj: GetLogRecordRequest
1003
731
  ) => any;
1004
-
1005
732
  export declare const GetLogRecordResponseFilterSensitiveLog: (
1006
733
  obj: GetLogRecordResponse
1007
734
  ) => any;
1008
-
1009
735
  export declare const GetQueryResultsRequestFilterSensitiveLog: (
1010
736
  obj: GetQueryResultsRequest
1011
737
  ) => any;
1012
-
1013
738
  export declare const ResultFieldFilterSensitiveLog: (obj: ResultField) => any;
1014
-
1015
739
  export declare const QueryStatisticsFilterSensitiveLog: (
1016
740
  obj: QueryStatistics
1017
741
  ) => any;
1018
-
1019
742
  export declare const GetQueryResultsResponseFilterSensitiveLog: (
1020
743
  obj: GetQueryResultsResponse
1021
744
  ) => any;
1022
-
1023
745
  export declare const InputLogEventFilterSensitiveLog: (
1024
746
  obj: InputLogEvent
1025
747
  ) => any;
1026
-
1027
748
  export declare const ListTagsLogGroupRequestFilterSensitiveLog: (
1028
749
  obj: ListTagsLogGroupRequest
1029
750
  ) => any;
1030
-
1031
751
  export declare const ListTagsLogGroupResponseFilterSensitiveLog: (
1032
752
  obj: ListTagsLogGroupResponse
1033
753
  ) => any;
1034
-
1035
754
  export declare const PutDestinationRequestFilterSensitiveLog: (
1036
755
  obj: PutDestinationRequest
1037
756
  ) => any;
1038
-
1039
757
  export declare const PutDestinationResponseFilterSensitiveLog: (
1040
758
  obj: PutDestinationResponse
1041
759
  ) => any;
1042
-
1043
760
  export declare const PutDestinationPolicyRequestFilterSensitiveLog: (
1044
761
  obj: PutDestinationPolicyRequest
1045
762
  ) => any;
1046
-
1047
763
  export declare const PutLogEventsRequestFilterSensitiveLog: (
1048
764
  obj: PutLogEventsRequest
1049
765
  ) => any;
1050
-
1051
766
  export declare const RejectedLogEventsInfoFilterSensitiveLog: (
1052
767
  obj: RejectedLogEventsInfo
1053
768
  ) => any;
1054
-
1055
769
  export declare const PutLogEventsResponseFilterSensitiveLog: (
1056
770
  obj: PutLogEventsResponse
1057
771
  ) => any;
1058
-
1059
772
  export declare const PutMetricFilterRequestFilterSensitiveLog: (
1060
773
  obj: PutMetricFilterRequest
1061
774
  ) => any;
1062
-
1063
775
  export declare const PutQueryDefinitionRequestFilterSensitiveLog: (
1064
776
  obj: PutQueryDefinitionRequest
1065
777
  ) => any;
1066
-
1067
778
  export declare const PutQueryDefinitionResponseFilterSensitiveLog: (
1068
779
  obj: PutQueryDefinitionResponse
1069
780
  ) => any;
1070
-
1071
781
  export declare const PutResourcePolicyRequestFilterSensitiveLog: (
1072
782
  obj: PutResourcePolicyRequest
1073
783
  ) => any;
1074
-
1075
784
  export declare const PutResourcePolicyResponseFilterSensitiveLog: (
1076
785
  obj: PutResourcePolicyResponse
1077
786
  ) => any;
1078
-
1079
787
  export declare const PutRetentionPolicyRequestFilterSensitiveLog: (
1080
788
  obj: PutRetentionPolicyRequest
1081
789
  ) => any;
1082
-
1083
790
  export declare const PutSubscriptionFilterRequestFilterSensitiveLog: (
1084
791
  obj: PutSubscriptionFilterRequest
1085
792
  ) => any;
1086
-
1087
793
  export declare const QueryCompileErrorLocationFilterSensitiveLog: (
1088
794
  obj: QueryCompileErrorLocation
1089
795
  ) => any;
1090
-
1091
796
  export declare const QueryCompileErrorFilterSensitiveLog: (
1092
797
  obj: QueryCompileError
1093
798
  ) => any;
1094
-
1095
799
  export declare const StartQueryRequestFilterSensitiveLog: (
1096
800
  obj: StartQueryRequest
1097
801
  ) => any;
1098
-
1099
802
  export declare const StartQueryResponseFilterSensitiveLog: (
1100
803
  obj: StartQueryResponse
1101
804
  ) => any;
1102
-
1103
805
  export declare const StopQueryRequestFilterSensitiveLog: (
1104
806
  obj: StopQueryRequest
1105
807
  ) => any;
1106
-
1107
808
  export declare const StopQueryResponseFilterSensitiveLog: (
1108
809
  obj: StopQueryResponse
1109
810
  ) => any;
1110
-
1111
811
  export declare const TagLogGroupRequestFilterSensitiveLog: (
1112
812
  obj: TagLogGroupRequest
1113
813
  ) => any;
1114
-
1115
814
  export declare const TestMetricFilterRequestFilterSensitiveLog: (
1116
815
  obj: TestMetricFilterRequest
1117
816
  ) => any;
1118
-
1119
817
  export declare const MetricFilterMatchRecordFilterSensitiveLog: (
1120
818
  obj: MetricFilterMatchRecord
1121
819
  ) => any;
1122
-
1123
820
  export declare const TestMetricFilterResponseFilterSensitiveLog: (
1124
821
  obj: TestMetricFilterResponse
1125
822
  ) => any;
1126
-
1127
823
  export declare const UntagLogGroupRequestFilterSensitiveLog: (
1128
824
  obj: UntagLogGroupRequest
1129
825
  ) => any;