aws-sdk-cloudwatchlogs 1.77.0 → 1.79.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1183 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CloudWatchLogs
9
+ module Types
10
+
11
+ class AccessDeniedException < Aws::EmptyStructure
12
+ end
13
+
14
+ class AccountPolicy
15
+ attr_accessor policy_name: ::String
16
+ attr_accessor policy_document: ::String
17
+ attr_accessor last_updated_time: ::Integer
18
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
19
+ attr_accessor scope: ("ALL")
20
+ attr_accessor selection_criteria: ::String
21
+ attr_accessor account_id: ::String
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class Anomaly
26
+ attr_accessor anomaly_id: ::String
27
+ attr_accessor pattern_id: ::String
28
+ attr_accessor anomaly_detector_arn: ::String
29
+ attr_accessor pattern_string: ::String
30
+ attr_accessor pattern_regex: ::String
31
+ attr_accessor priority: ::String
32
+ attr_accessor first_seen: ::Integer
33
+ attr_accessor last_seen: ::Integer
34
+ attr_accessor description: ::String
35
+ attr_accessor active: bool
36
+ attr_accessor state: ("Active" | "Suppressed" | "Baseline")
37
+ attr_accessor histogram: ::Hash[::String, ::Integer]
38
+ attr_accessor log_samples: ::Array[::String]
39
+ attr_accessor pattern_tokens: ::Array[Types::PatternToken]
40
+ attr_accessor log_group_arn_list: ::Array[::String]
41
+ attr_accessor suppressed: bool
42
+ attr_accessor suppressed_date: ::Integer
43
+ attr_accessor suppressed_until: ::Integer
44
+ attr_accessor is_pattern_level_suppression: bool
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class AnomalyDetector
49
+ attr_accessor anomaly_detector_arn: ::String
50
+ attr_accessor detector_name: ::String
51
+ attr_accessor log_group_arn_list: ::Array[::String]
52
+ attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
53
+ attr_accessor filter_pattern: ::String
54
+ attr_accessor anomaly_detector_status: ("INITIALIZING" | "TRAINING" | "ANALYZING" | "FAILED" | "DELETED" | "PAUSED")
55
+ attr_accessor kms_key_id: ::String
56
+ attr_accessor creation_time_stamp: ::Integer
57
+ attr_accessor last_modified_time_stamp: ::Integer
58
+ attr_accessor anomaly_visibility_time: ::Integer
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class AssociateKmsKeyRequest
63
+ attr_accessor log_group_name: ::String
64
+ attr_accessor kms_key_id: ::String
65
+ attr_accessor resource_identifier: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class CancelExportTaskRequest
70
+ attr_accessor task_id: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class ConflictException < Aws::EmptyStructure
75
+ end
76
+
77
+ class CreateDeliveryRequest
78
+ attr_accessor delivery_source_name: ::String
79
+ attr_accessor delivery_destination_arn: ::String
80
+ attr_accessor tags: ::Hash[::String, ::String]
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class CreateDeliveryResponse
85
+ attr_accessor delivery: Types::Delivery
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class CreateExportTaskRequest
90
+ attr_accessor task_name: ::String
91
+ attr_accessor log_group_name: ::String
92
+ attr_accessor log_stream_name_prefix: ::String
93
+ attr_accessor from: ::Integer
94
+ attr_accessor to: ::Integer
95
+ attr_accessor destination: ::String
96
+ attr_accessor destination_prefix: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class CreateExportTaskResponse
101
+ attr_accessor task_id: ::String
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class CreateLogAnomalyDetectorRequest
106
+ attr_accessor log_group_arn_list: ::Array[::String]
107
+ attr_accessor detector_name: ::String
108
+ attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
109
+ attr_accessor filter_pattern: ::String
110
+ attr_accessor kms_key_id: ::String
111
+ attr_accessor anomaly_visibility_time: ::Integer
112
+ attr_accessor tags: ::Hash[::String, ::String]
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class CreateLogAnomalyDetectorResponse
117
+ attr_accessor anomaly_detector_arn: ::String
118
+ SENSITIVE: []
119
+ end
120
+
121
+ class CreateLogGroupRequest
122
+ attr_accessor log_group_name: ::String
123
+ attr_accessor kms_key_id: ::String
124
+ attr_accessor tags: ::Hash[::String, ::String]
125
+ attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class CreateLogStreamRequest
130
+ attr_accessor log_group_name: ::String
131
+ attr_accessor log_stream_name: ::String
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class DataAlreadyAcceptedException
136
+ attr_accessor expected_sequence_token: ::String
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class DeleteAccountPolicyRequest
141
+ attr_accessor policy_name: ::String
142
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class DeleteDataProtectionPolicyRequest
147
+ attr_accessor log_group_identifier: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class DeleteDeliveryDestinationPolicyRequest
152
+ attr_accessor delivery_destination_name: ::String
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class DeleteDeliveryDestinationRequest
157
+ attr_accessor name: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class DeleteDeliveryRequest
162
+ attr_accessor id: ::String
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class DeleteDeliverySourceRequest
167
+ attr_accessor name: ::String
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class DeleteDestinationRequest
172
+ attr_accessor destination_name: ::String
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class DeleteLogAnomalyDetectorRequest
177
+ attr_accessor anomaly_detector_arn: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class DeleteLogGroupRequest
182
+ attr_accessor log_group_name: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class DeleteLogStreamRequest
187
+ attr_accessor log_group_name: ::String
188
+ attr_accessor log_stream_name: ::String
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class DeleteMetricFilterRequest
193
+ attr_accessor log_group_name: ::String
194
+ attr_accessor filter_name: ::String
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class DeleteQueryDefinitionRequest
199
+ attr_accessor query_definition_id: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class DeleteQueryDefinitionResponse
204
+ attr_accessor success: bool
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class DeleteResourcePolicyRequest
209
+ attr_accessor policy_name: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class DeleteRetentionPolicyRequest
214
+ attr_accessor log_group_name: ::String
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class DeleteSubscriptionFilterRequest
219
+ attr_accessor log_group_name: ::String
220
+ attr_accessor filter_name: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class Delivery
225
+ attr_accessor id: ::String
226
+ attr_accessor arn: ::String
227
+ attr_accessor delivery_source_name: ::String
228
+ attr_accessor delivery_destination_arn: ::String
229
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
230
+ attr_accessor tags: ::Hash[::String, ::String]
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class DeliveryDestination
235
+ attr_accessor name: ::String
236
+ attr_accessor arn: ::String
237
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
238
+ attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
239
+ attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
240
+ attr_accessor tags: ::Hash[::String, ::String]
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class DeliveryDestinationConfiguration
245
+ attr_accessor destination_resource_arn: ::String
246
+ SENSITIVE: []
247
+ end
248
+
249
+ class DeliverySource
250
+ attr_accessor name: ::String
251
+ attr_accessor arn: ::String
252
+ attr_accessor resource_arns: ::Array[::String]
253
+ attr_accessor service: ::String
254
+ attr_accessor log_type: ::String
255
+ attr_accessor tags: ::Hash[::String, ::String]
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class DescribeAccountPoliciesRequest
260
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
261
+ attr_accessor policy_name: ::String
262
+ attr_accessor account_identifiers: ::Array[::String]
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class DescribeAccountPoliciesResponse
267
+ attr_accessor account_policies: ::Array[Types::AccountPolicy]
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class DescribeDeliveriesRequest
272
+ attr_accessor next_token: ::String
273
+ attr_accessor limit: ::Integer
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class DescribeDeliveriesResponse
278
+ attr_accessor deliveries: ::Array[Types::Delivery]
279
+ attr_accessor next_token: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class DescribeDeliveryDestinationsRequest
284
+ attr_accessor next_token: ::String
285
+ attr_accessor limit: ::Integer
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class DescribeDeliveryDestinationsResponse
290
+ attr_accessor delivery_destinations: ::Array[Types::DeliveryDestination]
291
+ attr_accessor next_token: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class DescribeDeliverySourcesRequest
296
+ attr_accessor next_token: ::String
297
+ attr_accessor limit: ::Integer
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class DescribeDeliverySourcesResponse
302
+ attr_accessor delivery_sources: ::Array[Types::DeliverySource]
303
+ attr_accessor next_token: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class DescribeDestinationsRequest
308
+ attr_accessor destination_name_prefix: ::String
309
+ attr_accessor next_token: ::String
310
+ attr_accessor limit: ::Integer
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class DescribeDestinationsResponse
315
+ attr_accessor destinations: ::Array[Types::Destination]
316
+ attr_accessor next_token: ::String
317
+ SENSITIVE: []
318
+ end
319
+
320
+ class DescribeExportTasksRequest
321
+ attr_accessor task_id: ::String
322
+ attr_accessor status_code: ("CANCELLED" | "COMPLETED" | "FAILED" | "PENDING" | "PENDING_CANCEL" | "RUNNING")
323
+ attr_accessor next_token: ::String
324
+ attr_accessor limit: ::Integer
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class DescribeExportTasksResponse
329
+ attr_accessor export_tasks: ::Array[Types::ExportTask]
330
+ attr_accessor next_token: ::String
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class DescribeLogGroupsRequest
335
+ attr_accessor account_identifiers: ::Array[::String]
336
+ attr_accessor log_group_name_prefix: ::String
337
+ attr_accessor log_group_name_pattern: ::String
338
+ attr_accessor next_token: ::String
339
+ attr_accessor limit: ::Integer
340
+ attr_accessor include_linked_accounts: bool
341
+ attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class DescribeLogGroupsResponse
346
+ attr_accessor log_groups: ::Array[Types::LogGroup]
347
+ attr_accessor next_token: ::String
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class DescribeLogStreamsRequest
352
+ attr_accessor log_group_name: ::String
353
+ attr_accessor log_group_identifier: ::String
354
+ attr_accessor log_stream_name_prefix: ::String
355
+ attr_accessor order_by: ("LogStreamName" | "LastEventTime")
356
+ attr_accessor descending: bool
357
+ attr_accessor next_token: ::String
358
+ attr_accessor limit: ::Integer
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class DescribeLogStreamsResponse
363
+ attr_accessor log_streams: ::Array[Types::LogStream]
364
+ attr_accessor next_token: ::String
365
+ SENSITIVE: []
366
+ end
367
+
368
+ class DescribeMetricFiltersRequest
369
+ attr_accessor log_group_name: ::String
370
+ attr_accessor filter_name_prefix: ::String
371
+ attr_accessor next_token: ::String
372
+ attr_accessor limit: ::Integer
373
+ attr_accessor metric_name: ::String
374
+ attr_accessor metric_namespace: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class DescribeMetricFiltersResponse
379
+ attr_accessor metric_filters: ::Array[Types::MetricFilter]
380
+ attr_accessor next_token: ::String
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class DescribeQueriesRequest
385
+ attr_accessor log_group_name: ::String
386
+ attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
387
+ attr_accessor max_results: ::Integer
388
+ attr_accessor next_token: ::String
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class DescribeQueriesResponse
393
+ attr_accessor queries: ::Array[Types::QueryInfo]
394
+ attr_accessor next_token: ::String
395
+ SENSITIVE: []
396
+ end
397
+
398
+ class DescribeQueryDefinitionsRequest
399
+ attr_accessor query_definition_name_prefix: ::String
400
+ attr_accessor max_results: ::Integer
401
+ attr_accessor next_token: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class DescribeQueryDefinitionsResponse
406
+ attr_accessor query_definitions: ::Array[Types::QueryDefinition]
407
+ attr_accessor next_token: ::String
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class DescribeResourcePoliciesRequest
412
+ attr_accessor next_token: ::String
413
+ attr_accessor limit: ::Integer
414
+ SENSITIVE: []
415
+ end
416
+
417
+ class DescribeResourcePoliciesResponse
418
+ attr_accessor resource_policies: ::Array[Types::ResourcePolicy]
419
+ attr_accessor next_token: ::String
420
+ SENSITIVE: []
421
+ end
422
+
423
+ class DescribeSubscriptionFiltersRequest
424
+ attr_accessor log_group_name: ::String
425
+ attr_accessor filter_name_prefix: ::String
426
+ attr_accessor next_token: ::String
427
+ attr_accessor limit: ::Integer
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class DescribeSubscriptionFiltersResponse
432
+ attr_accessor subscription_filters: ::Array[Types::SubscriptionFilter]
433
+ attr_accessor next_token: ::String
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class Destination
438
+ attr_accessor destination_name: ::String
439
+ attr_accessor target_arn: ::String
440
+ attr_accessor role_arn: ::String
441
+ attr_accessor access_policy: ::String
442
+ attr_accessor arn: ::String
443
+ attr_accessor creation_time: ::Integer
444
+ SENSITIVE: []
445
+ end
446
+
447
+ class DisassociateKmsKeyRequest
448
+ attr_accessor log_group_name: ::String
449
+ attr_accessor resource_identifier: ::String
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class ExportTask
454
+ attr_accessor task_id: ::String
455
+ attr_accessor task_name: ::String
456
+ attr_accessor log_group_name: ::String
457
+ attr_accessor from: ::Integer
458
+ attr_accessor to: ::Integer
459
+ attr_accessor destination: ::String
460
+ attr_accessor destination_prefix: ::String
461
+ attr_accessor status: Types::ExportTaskStatus
462
+ attr_accessor execution_info: Types::ExportTaskExecutionInfo
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class ExportTaskExecutionInfo
467
+ attr_accessor creation_time: ::Integer
468
+ attr_accessor completion_time: ::Integer
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class ExportTaskStatus
473
+ attr_accessor code: ("CANCELLED" | "COMPLETED" | "FAILED" | "PENDING" | "PENDING_CANCEL" | "RUNNING")
474
+ attr_accessor message: ::String
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class FilterLogEventsRequest
479
+ attr_accessor log_group_name: ::String
480
+ attr_accessor log_group_identifier: ::String
481
+ attr_accessor log_stream_names: ::Array[::String]
482
+ attr_accessor log_stream_name_prefix: ::String
483
+ attr_accessor start_time: ::Integer
484
+ attr_accessor end_time: ::Integer
485
+ attr_accessor filter_pattern: ::String
486
+ attr_accessor next_token: ::String
487
+ attr_accessor limit: ::Integer
488
+ attr_accessor interleaved: bool
489
+ attr_accessor unmask: bool
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class FilterLogEventsResponse
494
+ attr_accessor events: ::Array[Types::FilteredLogEvent]
495
+ attr_accessor searched_log_streams: ::Array[Types::SearchedLogStream]
496
+ attr_accessor next_token: ::String
497
+ SENSITIVE: []
498
+ end
499
+
500
+ class FilteredLogEvent
501
+ attr_accessor log_stream_name: ::String
502
+ attr_accessor timestamp: ::Integer
503
+ attr_accessor message: ::String
504
+ attr_accessor ingestion_time: ::Integer
505
+ attr_accessor event_id: ::String
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class GetDataProtectionPolicyRequest
510
+ attr_accessor log_group_identifier: ::String
511
+ SENSITIVE: []
512
+ end
513
+
514
+ class GetDataProtectionPolicyResponse
515
+ attr_accessor log_group_identifier: ::String
516
+ attr_accessor policy_document: ::String
517
+ attr_accessor last_updated_time: ::Integer
518
+ SENSITIVE: []
519
+ end
520
+
521
+ class GetDeliveryDestinationPolicyRequest
522
+ attr_accessor delivery_destination_name: ::String
523
+ SENSITIVE: []
524
+ end
525
+
526
+ class GetDeliveryDestinationPolicyResponse
527
+ attr_accessor policy: Types::Policy
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class GetDeliveryDestinationRequest
532
+ attr_accessor name: ::String
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class GetDeliveryDestinationResponse
537
+ attr_accessor delivery_destination: Types::DeliveryDestination
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class GetDeliveryRequest
542
+ attr_accessor id: ::String
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class GetDeliveryResponse
547
+ attr_accessor delivery: Types::Delivery
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class GetDeliverySourceRequest
552
+ attr_accessor name: ::String
553
+ SENSITIVE: []
554
+ end
555
+
556
+ class GetDeliverySourceResponse
557
+ attr_accessor delivery_source: Types::DeliverySource
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class GetLogAnomalyDetectorRequest
562
+ attr_accessor anomaly_detector_arn: ::String
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class GetLogAnomalyDetectorResponse
567
+ attr_accessor detector_name: ::String
568
+ attr_accessor log_group_arn_list: ::Array[::String]
569
+ attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
570
+ attr_accessor filter_pattern: ::String
571
+ attr_accessor anomaly_detector_status: ("INITIALIZING" | "TRAINING" | "ANALYZING" | "FAILED" | "DELETED" | "PAUSED")
572
+ attr_accessor kms_key_id: ::String
573
+ attr_accessor creation_time_stamp: ::Integer
574
+ attr_accessor last_modified_time_stamp: ::Integer
575
+ attr_accessor anomaly_visibility_time: ::Integer
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class GetLogEventsRequest
580
+ attr_accessor log_group_name: ::String
581
+ attr_accessor log_group_identifier: ::String
582
+ attr_accessor log_stream_name: ::String
583
+ attr_accessor start_time: ::Integer
584
+ attr_accessor end_time: ::Integer
585
+ attr_accessor next_token: ::String
586
+ attr_accessor limit: ::Integer
587
+ attr_accessor start_from_head: bool
588
+ attr_accessor unmask: bool
589
+ SENSITIVE: []
590
+ end
591
+
592
+ class GetLogEventsResponse
593
+ attr_accessor events: ::Array[Types::OutputLogEvent]
594
+ attr_accessor next_forward_token: ::String
595
+ attr_accessor next_backward_token: ::String
596
+ SENSITIVE: []
597
+ end
598
+
599
+ class GetLogGroupFieldsRequest
600
+ attr_accessor log_group_name: ::String
601
+ attr_accessor time: ::Integer
602
+ attr_accessor log_group_identifier: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class GetLogGroupFieldsResponse
607
+ attr_accessor log_group_fields: ::Array[Types::LogGroupField]
608
+ SENSITIVE: []
609
+ end
610
+
611
+ class GetLogRecordRequest
612
+ attr_accessor log_record_pointer: ::String
613
+ attr_accessor unmask: bool
614
+ SENSITIVE: []
615
+ end
616
+
617
+ class GetLogRecordResponse
618
+ attr_accessor log_record: ::Hash[::String, ::String]
619
+ SENSITIVE: []
620
+ end
621
+
622
+ class GetQueryResultsRequest
623
+ attr_accessor query_id: ::String
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class GetQueryResultsResponse
628
+ attr_accessor results: ::Array[::Array[Types::ResultField]]
629
+ attr_accessor statistics: Types::QueryStatistics
630
+ attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
631
+ attr_accessor encryption_key: ::String
632
+ SENSITIVE: []
633
+ end
634
+
635
+ class InputLogEvent
636
+ attr_accessor timestamp: ::Integer
637
+ attr_accessor message: ::String
638
+ SENSITIVE: []
639
+ end
640
+
641
+ class InvalidOperationException < Aws::EmptyStructure
642
+ end
643
+
644
+ class InvalidParameterException < Aws::EmptyStructure
645
+ end
646
+
647
+ class InvalidSequenceTokenException
648
+ attr_accessor expected_sequence_token: ::String
649
+ SENSITIVE: []
650
+ end
651
+
652
+ class LimitExceededException < Aws::EmptyStructure
653
+ end
654
+
655
+ class ListAnomaliesRequest
656
+ attr_accessor anomaly_detector_arn: ::String
657
+ attr_accessor suppression_state: ("SUPPRESSED" | "UNSUPPRESSED")
658
+ attr_accessor limit: ::Integer
659
+ attr_accessor next_token: ::String
660
+ SENSITIVE: []
661
+ end
662
+
663
+ class ListAnomaliesResponse
664
+ attr_accessor anomalies: ::Array[Types::Anomaly]
665
+ attr_accessor next_token: ::String
666
+ SENSITIVE: []
667
+ end
668
+
669
+ class ListLogAnomalyDetectorsRequest
670
+ attr_accessor filter_log_group_arn: ::String
671
+ attr_accessor limit: ::Integer
672
+ attr_accessor next_token: ::String
673
+ SENSITIVE: []
674
+ end
675
+
676
+ class ListLogAnomalyDetectorsResponse
677
+ attr_accessor anomaly_detectors: ::Array[Types::AnomalyDetector]
678
+ attr_accessor next_token: ::String
679
+ SENSITIVE: []
680
+ end
681
+
682
+ class ListTagsForResourceRequest
683
+ attr_accessor resource_arn: ::String
684
+ SENSITIVE: []
685
+ end
686
+
687
+ class ListTagsForResourceResponse
688
+ attr_accessor tags: ::Hash[::String, ::String]
689
+ SENSITIVE: []
690
+ end
691
+
692
+ class ListTagsLogGroupRequest
693
+ attr_accessor log_group_name: ::String
694
+ SENSITIVE: []
695
+ end
696
+
697
+ class ListTagsLogGroupResponse
698
+ attr_accessor tags: ::Hash[::String, ::String]
699
+ SENSITIVE: []
700
+ end
701
+
702
+ class LiveTailSessionLogEvent
703
+ attr_accessor log_stream_name: ::String
704
+ attr_accessor log_group_identifier: ::String
705
+ attr_accessor message: ::String
706
+ attr_accessor timestamp: ::Integer
707
+ attr_accessor ingestion_time: ::Integer
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class LiveTailSessionMetadata
712
+ attr_accessor sampled: bool
713
+ SENSITIVE: []
714
+ end
715
+
716
+ class LiveTailSessionStart
717
+ attr_accessor request_id: ::String
718
+ attr_accessor session_id: ::String
719
+ attr_accessor log_group_identifiers: ::Array[::String]
720
+ attr_accessor log_stream_names: ::Array[::String]
721
+ attr_accessor log_stream_name_prefixes: ::Array[::String]
722
+ attr_accessor log_event_filter_pattern: ::String
723
+ attr_accessor event_type: untyped
724
+ SENSITIVE: []
725
+ end
726
+
727
+ class LiveTailSessionUpdate
728
+ attr_accessor session_metadata: Types::LiveTailSessionMetadata
729
+ attr_accessor session_results: ::Array[Types::LiveTailSessionLogEvent]
730
+ attr_accessor event_type: untyped
731
+ SENSITIVE: []
732
+ end
733
+
734
+ class LogGroup
735
+ attr_accessor log_group_name: ::String
736
+ attr_accessor creation_time: ::Integer
737
+ attr_accessor retention_in_days: ::Integer
738
+ attr_accessor metric_filter_count: ::Integer
739
+ attr_accessor arn: ::String
740
+ attr_accessor stored_bytes: ::Integer
741
+ attr_accessor kms_key_id: ::String
742
+ attr_accessor data_protection_status: ("ACTIVATED" | "DELETED" | "ARCHIVED" | "DISABLED")
743
+ attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
744
+ attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
745
+ attr_accessor log_group_arn: ::String
746
+ SENSITIVE: []
747
+ end
748
+
749
+ class LogGroupField
750
+ attr_accessor name: ::String
751
+ attr_accessor percent: ::Integer
752
+ SENSITIVE: []
753
+ end
754
+
755
+ class LogStream
756
+ attr_accessor log_stream_name: ::String
757
+ attr_accessor creation_time: ::Integer
758
+ attr_accessor first_event_timestamp: ::Integer
759
+ attr_accessor last_event_timestamp: ::Integer
760
+ attr_accessor last_ingestion_time: ::Integer
761
+ attr_accessor upload_sequence_token: ::String
762
+ attr_accessor arn: ::String
763
+ attr_accessor stored_bytes: ::Integer
764
+ SENSITIVE: []
765
+ end
766
+
767
+ class MalformedQueryException
768
+ attr_accessor query_compile_error: Types::QueryCompileError
769
+ SENSITIVE: []
770
+ end
771
+
772
+ class MetricFilter
773
+ attr_accessor filter_name: ::String
774
+ attr_accessor filter_pattern: ::String
775
+ attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
776
+ attr_accessor creation_time: ::Integer
777
+ attr_accessor log_group_name: ::String
778
+ SENSITIVE: []
779
+ end
780
+
781
+ class MetricFilterMatchRecord
782
+ attr_accessor event_number: ::Integer
783
+ attr_accessor event_message: ::String
784
+ attr_accessor extracted_values: ::Hash[::String, ::String]
785
+ SENSITIVE: []
786
+ end
787
+
788
+ class MetricTransformation
789
+ attr_accessor metric_name: ::String
790
+ attr_accessor metric_namespace: ::String
791
+ attr_accessor metric_value: ::String
792
+ attr_accessor default_value: ::Float
793
+ attr_accessor dimensions: ::Hash[::String, ::String]
794
+ attr_accessor unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")
795
+ SENSITIVE: []
796
+ end
797
+
798
+ class OperationAbortedException < Aws::EmptyStructure
799
+ end
800
+
801
+ class OutputLogEvent
802
+ attr_accessor timestamp: ::Integer
803
+ attr_accessor message: ::String
804
+ attr_accessor ingestion_time: ::Integer
805
+ SENSITIVE: []
806
+ end
807
+
808
+ class PatternToken
809
+ attr_accessor dynamic_token_position: ::Integer
810
+ attr_accessor is_dynamic: bool
811
+ attr_accessor token_string: ::String
812
+ attr_accessor enumerations: ::Hash[::String, ::Integer]
813
+ SENSITIVE: []
814
+ end
815
+
816
+ class Policy
817
+ attr_accessor delivery_destination_policy: ::String
818
+ SENSITIVE: []
819
+ end
820
+
821
+ class PutAccountPolicyRequest
822
+ attr_accessor policy_name: ::String
823
+ attr_accessor policy_document: ::String
824
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
825
+ attr_accessor scope: ("ALL")
826
+ attr_accessor selection_criteria: ::String
827
+ SENSITIVE: []
828
+ end
829
+
830
+ class PutAccountPolicyResponse
831
+ attr_accessor account_policy: Types::AccountPolicy
832
+ SENSITIVE: []
833
+ end
834
+
835
+ class PutDataProtectionPolicyRequest
836
+ attr_accessor log_group_identifier: ::String
837
+ attr_accessor policy_document: ::String
838
+ SENSITIVE: []
839
+ end
840
+
841
+ class PutDataProtectionPolicyResponse
842
+ attr_accessor log_group_identifier: ::String
843
+ attr_accessor policy_document: ::String
844
+ attr_accessor last_updated_time: ::Integer
845
+ SENSITIVE: []
846
+ end
847
+
848
+ class PutDeliveryDestinationPolicyRequest
849
+ attr_accessor delivery_destination_name: ::String
850
+ attr_accessor delivery_destination_policy: ::String
851
+ SENSITIVE: []
852
+ end
853
+
854
+ class PutDeliveryDestinationPolicyResponse
855
+ attr_accessor policy: Types::Policy
856
+ SENSITIVE: []
857
+ end
858
+
859
+ class PutDeliveryDestinationRequest
860
+ attr_accessor name: ::String
861
+ attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
862
+ attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
863
+ attr_accessor tags: ::Hash[::String, ::String]
864
+ SENSITIVE: []
865
+ end
866
+
867
+ class PutDeliveryDestinationResponse
868
+ attr_accessor delivery_destination: Types::DeliveryDestination
869
+ SENSITIVE: []
870
+ end
871
+
872
+ class PutDeliverySourceRequest
873
+ attr_accessor name: ::String
874
+ attr_accessor resource_arn: ::String
875
+ attr_accessor log_type: ::String
876
+ attr_accessor tags: ::Hash[::String, ::String]
877
+ SENSITIVE: []
878
+ end
879
+
880
+ class PutDeliverySourceResponse
881
+ attr_accessor delivery_source: Types::DeliverySource
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class PutDestinationPolicyRequest
886
+ attr_accessor destination_name: ::String
887
+ attr_accessor access_policy: ::String
888
+ attr_accessor force_update: bool
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class PutDestinationRequest
893
+ attr_accessor destination_name: ::String
894
+ attr_accessor target_arn: ::String
895
+ attr_accessor role_arn: ::String
896
+ attr_accessor tags: ::Hash[::String, ::String]
897
+ SENSITIVE: []
898
+ end
899
+
900
+ class PutDestinationResponse
901
+ attr_accessor destination: Types::Destination
902
+ SENSITIVE: []
903
+ end
904
+
905
+ class PutLogEventsRequest
906
+ attr_accessor log_group_name: ::String
907
+ attr_accessor log_stream_name: ::String
908
+ attr_accessor log_events: ::Array[Types::InputLogEvent]
909
+ attr_accessor sequence_token: ::String
910
+ SENSITIVE: []
911
+ end
912
+
913
+ class PutLogEventsResponse
914
+ attr_accessor next_sequence_token: ::String
915
+ attr_accessor rejected_log_events_info: Types::RejectedLogEventsInfo
916
+ SENSITIVE: []
917
+ end
918
+
919
+ class PutMetricFilterRequest
920
+ attr_accessor log_group_name: ::String
921
+ attr_accessor filter_name: ::String
922
+ attr_accessor filter_pattern: ::String
923
+ attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
924
+ SENSITIVE: []
925
+ end
926
+
927
+ class PutQueryDefinitionRequest
928
+ attr_accessor name: ::String
929
+ attr_accessor query_definition_id: ::String
930
+ attr_accessor log_group_names: ::Array[::String]
931
+ attr_accessor query_string: ::String
932
+ attr_accessor client_token: ::String
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class PutQueryDefinitionResponse
937
+ attr_accessor query_definition_id: ::String
938
+ SENSITIVE: []
939
+ end
940
+
941
+ class PutResourcePolicyRequest
942
+ attr_accessor policy_name: ::String
943
+ attr_accessor policy_document: ::String
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class PutResourcePolicyResponse
948
+ attr_accessor resource_policy: Types::ResourcePolicy
949
+ SENSITIVE: []
950
+ end
951
+
952
+ class PutRetentionPolicyRequest
953
+ attr_accessor log_group_name: ::String
954
+ attr_accessor retention_in_days: ::Integer
955
+ SENSITIVE: []
956
+ end
957
+
958
+ class PutSubscriptionFilterRequest
959
+ attr_accessor log_group_name: ::String
960
+ attr_accessor filter_name: ::String
961
+ attr_accessor filter_pattern: ::String
962
+ attr_accessor destination_arn: ::String
963
+ attr_accessor role_arn: ::String
964
+ attr_accessor distribution: ("Random" | "ByLogStream")
965
+ SENSITIVE: []
966
+ end
967
+
968
+ class QueryCompileError
969
+ attr_accessor location: Types::QueryCompileErrorLocation
970
+ attr_accessor message: ::String
971
+ SENSITIVE: []
972
+ end
973
+
974
+ class QueryCompileErrorLocation
975
+ attr_accessor start_char_offset: ::Integer
976
+ attr_accessor end_char_offset: ::Integer
977
+ SENSITIVE: []
978
+ end
979
+
980
+ class QueryDefinition
981
+ attr_accessor query_definition_id: ::String
982
+ attr_accessor name: ::String
983
+ attr_accessor query_string: ::String
984
+ attr_accessor last_modified: ::Integer
985
+ attr_accessor log_group_names: ::Array[::String]
986
+ SENSITIVE: []
987
+ end
988
+
989
+ class QueryInfo
990
+ attr_accessor query_id: ::String
991
+ attr_accessor query_string: ::String
992
+ attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
993
+ attr_accessor create_time: ::Integer
994
+ attr_accessor log_group_name: ::String
995
+ SENSITIVE: []
996
+ end
997
+
998
+ class QueryStatistics
999
+ attr_accessor records_matched: ::Float
1000
+ attr_accessor records_scanned: ::Float
1001
+ attr_accessor bytes_scanned: ::Float
1002
+ SENSITIVE: []
1003
+ end
1004
+
1005
+ class RejectedLogEventsInfo
1006
+ attr_accessor too_new_log_event_start_index: ::Integer
1007
+ attr_accessor too_old_log_event_end_index: ::Integer
1008
+ attr_accessor expired_log_event_end_index: ::Integer
1009
+ SENSITIVE: []
1010
+ end
1011
+
1012
+ class ResourceAlreadyExistsException < Aws::EmptyStructure
1013
+ end
1014
+
1015
+ class ResourceNotFoundException < Aws::EmptyStructure
1016
+ end
1017
+
1018
+ class ResourcePolicy
1019
+ attr_accessor policy_name: ::String
1020
+ attr_accessor policy_document: ::String
1021
+ attr_accessor last_updated_time: ::Integer
1022
+ SENSITIVE: []
1023
+ end
1024
+
1025
+ class ResultField
1026
+ attr_accessor field: ::String
1027
+ attr_accessor value: ::String
1028
+ SENSITIVE: []
1029
+ end
1030
+
1031
+ class SearchedLogStream
1032
+ attr_accessor log_stream_name: ::String
1033
+ attr_accessor searched_completely: bool
1034
+ SENSITIVE: []
1035
+ end
1036
+
1037
+ class ServiceQuotaExceededException < Aws::EmptyStructure
1038
+ end
1039
+
1040
+ class ServiceUnavailableException < Aws::EmptyStructure
1041
+ end
1042
+
1043
+ class SessionStreamingException
1044
+ attr_accessor message: ::String
1045
+ attr_accessor event_type: untyped
1046
+ SENSITIVE: []
1047
+ end
1048
+
1049
+ class SessionTimeoutException
1050
+ attr_accessor message: ::String
1051
+ attr_accessor event_type: untyped
1052
+ SENSITIVE: []
1053
+ end
1054
+
1055
+ class StartLiveTailRequest
1056
+ attr_accessor log_group_identifiers: ::Array[::String]
1057
+ attr_accessor log_stream_names: ::Array[::String]
1058
+ attr_accessor log_stream_name_prefixes: ::Array[::String]
1059
+ attr_accessor log_event_filter_pattern: ::String
1060
+ SENSITIVE: []
1061
+ end
1062
+
1063
+ class StartLiveTailResponse
1064
+ attr_accessor response_stream: Types::StartLiveTailResponseStream
1065
+ SENSITIVE: []
1066
+ end
1067
+
1068
+ class StartQueryRequest
1069
+ attr_accessor log_group_name: ::String
1070
+ attr_accessor log_group_names: ::Array[::String]
1071
+ attr_accessor log_group_identifiers: ::Array[::String]
1072
+ attr_accessor start_time: ::Integer
1073
+ attr_accessor end_time: ::Integer
1074
+ attr_accessor query_string: ::String
1075
+ attr_accessor limit: ::Integer
1076
+ SENSITIVE: []
1077
+ end
1078
+
1079
+ class StartQueryResponse
1080
+ attr_accessor query_id: ::String
1081
+ SENSITIVE: []
1082
+ end
1083
+
1084
+ class StopQueryRequest
1085
+ attr_accessor query_id: ::String
1086
+ SENSITIVE: []
1087
+ end
1088
+
1089
+ class StopQueryResponse
1090
+ attr_accessor success: bool
1091
+ SENSITIVE: []
1092
+ end
1093
+
1094
+ class SubscriptionFilter
1095
+ attr_accessor filter_name: ::String
1096
+ attr_accessor log_group_name: ::String
1097
+ attr_accessor filter_pattern: ::String
1098
+ attr_accessor destination_arn: ::String
1099
+ attr_accessor role_arn: ::String
1100
+ attr_accessor distribution: ("Random" | "ByLogStream")
1101
+ attr_accessor creation_time: ::Integer
1102
+ SENSITIVE: []
1103
+ end
1104
+
1105
+ class SuppressionPeriod
1106
+ attr_accessor value: ::Integer
1107
+ attr_accessor suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")
1108
+ SENSITIVE: []
1109
+ end
1110
+
1111
+ class TagLogGroupRequest
1112
+ attr_accessor log_group_name: ::String
1113
+ attr_accessor tags: ::Hash[::String, ::String]
1114
+ SENSITIVE: []
1115
+ end
1116
+
1117
+ class TagResourceRequest
1118
+ attr_accessor resource_arn: ::String
1119
+ attr_accessor tags: ::Hash[::String, ::String]
1120
+ SENSITIVE: []
1121
+ end
1122
+
1123
+ class TestMetricFilterRequest
1124
+ attr_accessor filter_pattern: ::String
1125
+ attr_accessor log_event_messages: ::Array[::String]
1126
+ SENSITIVE: []
1127
+ end
1128
+
1129
+ class TestMetricFilterResponse
1130
+ attr_accessor matches: ::Array[Types::MetricFilterMatchRecord]
1131
+ SENSITIVE: []
1132
+ end
1133
+
1134
+ class ThrottlingException < Aws::EmptyStructure
1135
+ end
1136
+
1137
+ class TooManyTagsException
1138
+ attr_accessor message: ::String
1139
+ attr_accessor resource_name: ::String
1140
+ SENSITIVE: []
1141
+ end
1142
+
1143
+ class UnrecognizedClientException < Aws::EmptyStructure
1144
+ end
1145
+
1146
+ class UntagLogGroupRequest
1147
+ attr_accessor log_group_name: ::String
1148
+ attr_accessor tags: ::Array[::String]
1149
+ SENSITIVE: []
1150
+ end
1151
+
1152
+ class UntagResourceRequest
1153
+ attr_accessor resource_arn: ::String
1154
+ attr_accessor tag_keys: ::Array[::String]
1155
+ SENSITIVE: []
1156
+ end
1157
+
1158
+ class UpdateAnomalyRequest
1159
+ attr_accessor anomaly_id: ::String
1160
+ attr_accessor pattern_id: ::String
1161
+ attr_accessor anomaly_detector_arn: ::String
1162
+ attr_accessor suppression_type: ("LIMITED" | "INFINITE")
1163
+ attr_accessor suppression_period: Types::SuppressionPeriod
1164
+ SENSITIVE: []
1165
+ end
1166
+
1167
+ class UpdateLogAnomalyDetectorRequest
1168
+ attr_accessor anomaly_detector_arn: ::String
1169
+ attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
1170
+ attr_accessor filter_pattern: ::String
1171
+ attr_accessor anomaly_visibility_time: ::Integer
1172
+ attr_accessor enabled: bool
1173
+ SENSITIVE: []
1174
+ end
1175
+
1176
+ class ValidationException < Aws::EmptyStructure
1177
+ end
1178
+
1179
+ class StartLiveTailResponseStream < Enumerator[untyped, untyped]
1180
+ def event_types: () -> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
1181
+ end
1182
+ end
1183
+ end