aws-sdk-cloudwatchlogs 1.77.0 → 1.78.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,1182 @@
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
+ SENSITIVE: []
746
+ end
747
+
748
+ class LogGroupField
749
+ attr_accessor name: ::String
750
+ attr_accessor percent: ::Integer
751
+ SENSITIVE: []
752
+ end
753
+
754
+ class LogStream
755
+ attr_accessor log_stream_name: ::String
756
+ attr_accessor creation_time: ::Integer
757
+ attr_accessor first_event_timestamp: ::Integer
758
+ attr_accessor last_event_timestamp: ::Integer
759
+ attr_accessor last_ingestion_time: ::Integer
760
+ attr_accessor upload_sequence_token: ::String
761
+ attr_accessor arn: ::String
762
+ attr_accessor stored_bytes: ::Integer
763
+ SENSITIVE: []
764
+ end
765
+
766
+ class MalformedQueryException
767
+ attr_accessor query_compile_error: Types::QueryCompileError
768
+ SENSITIVE: []
769
+ end
770
+
771
+ class MetricFilter
772
+ attr_accessor filter_name: ::String
773
+ attr_accessor filter_pattern: ::String
774
+ attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
775
+ attr_accessor creation_time: ::Integer
776
+ attr_accessor log_group_name: ::String
777
+ SENSITIVE: []
778
+ end
779
+
780
+ class MetricFilterMatchRecord
781
+ attr_accessor event_number: ::Integer
782
+ attr_accessor event_message: ::String
783
+ attr_accessor extracted_values: ::Hash[::String, ::String]
784
+ SENSITIVE: []
785
+ end
786
+
787
+ class MetricTransformation
788
+ attr_accessor metric_name: ::String
789
+ attr_accessor metric_namespace: ::String
790
+ attr_accessor metric_value: ::String
791
+ attr_accessor default_value: ::Float
792
+ attr_accessor dimensions: ::Hash[::String, ::String]
793
+ 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")
794
+ SENSITIVE: []
795
+ end
796
+
797
+ class OperationAbortedException < Aws::EmptyStructure
798
+ end
799
+
800
+ class OutputLogEvent
801
+ attr_accessor timestamp: ::Integer
802
+ attr_accessor message: ::String
803
+ attr_accessor ingestion_time: ::Integer
804
+ SENSITIVE: []
805
+ end
806
+
807
+ class PatternToken
808
+ attr_accessor dynamic_token_position: ::Integer
809
+ attr_accessor is_dynamic: bool
810
+ attr_accessor token_string: ::String
811
+ attr_accessor enumerations: ::Hash[::String, ::Integer]
812
+ SENSITIVE: []
813
+ end
814
+
815
+ class Policy
816
+ attr_accessor delivery_destination_policy: ::String
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class PutAccountPolicyRequest
821
+ attr_accessor policy_name: ::String
822
+ attr_accessor policy_document: ::String
823
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
824
+ attr_accessor scope: ("ALL")
825
+ attr_accessor selection_criteria: ::String
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class PutAccountPolicyResponse
830
+ attr_accessor account_policy: Types::AccountPolicy
831
+ SENSITIVE: []
832
+ end
833
+
834
+ class PutDataProtectionPolicyRequest
835
+ attr_accessor log_group_identifier: ::String
836
+ attr_accessor policy_document: ::String
837
+ SENSITIVE: []
838
+ end
839
+
840
+ class PutDataProtectionPolicyResponse
841
+ attr_accessor log_group_identifier: ::String
842
+ attr_accessor policy_document: ::String
843
+ attr_accessor last_updated_time: ::Integer
844
+ SENSITIVE: []
845
+ end
846
+
847
+ class PutDeliveryDestinationPolicyRequest
848
+ attr_accessor delivery_destination_name: ::String
849
+ attr_accessor delivery_destination_policy: ::String
850
+ SENSITIVE: []
851
+ end
852
+
853
+ class PutDeliveryDestinationPolicyResponse
854
+ attr_accessor policy: Types::Policy
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class PutDeliveryDestinationRequest
859
+ attr_accessor name: ::String
860
+ attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
861
+ attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
862
+ attr_accessor tags: ::Hash[::String, ::String]
863
+ SENSITIVE: []
864
+ end
865
+
866
+ class PutDeliveryDestinationResponse
867
+ attr_accessor delivery_destination: Types::DeliveryDestination
868
+ SENSITIVE: []
869
+ end
870
+
871
+ class PutDeliverySourceRequest
872
+ attr_accessor name: ::String
873
+ attr_accessor resource_arn: ::String
874
+ attr_accessor log_type: ::String
875
+ attr_accessor tags: ::Hash[::String, ::String]
876
+ SENSITIVE: []
877
+ end
878
+
879
+ class PutDeliverySourceResponse
880
+ attr_accessor delivery_source: Types::DeliverySource
881
+ SENSITIVE: []
882
+ end
883
+
884
+ class PutDestinationPolicyRequest
885
+ attr_accessor destination_name: ::String
886
+ attr_accessor access_policy: ::String
887
+ attr_accessor force_update: bool
888
+ SENSITIVE: []
889
+ end
890
+
891
+ class PutDestinationRequest
892
+ attr_accessor destination_name: ::String
893
+ attr_accessor target_arn: ::String
894
+ attr_accessor role_arn: ::String
895
+ attr_accessor tags: ::Hash[::String, ::String]
896
+ SENSITIVE: []
897
+ end
898
+
899
+ class PutDestinationResponse
900
+ attr_accessor destination: Types::Destination
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class PutLogEventsRequest
905
+ attr_accessor log_group_name: ::String
906
+ attr_accessor log_stream_name: ::String
907
+ attr_accessor log_events: ::Array[Types::InputLogEvent]
908
+ attr_accessor sequence_token: ::String
909
+ SENSITIVE: []
910
+ end
911
+
912
+ class PutLogEventsResponse
913
+ attr_accessor next_sequence_token: ::String
914
+ attr_accessor rejected_log_events_info: Types::RejectedLogEventsInfo
915
+ SENSITIVE: []
916
+ end
917
+
918
+ class PutMetricFilterRequest
919
+ attr_accessor log_group_name: ::String
920
+ attr_accessor filter_name: ::String
921
+ attr_accessor filter_pattern: ::String
922
+ attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
923
+ SENSITIVE: []
924
+ end
925
+
926
+ class PutQueryDefinitionRequest
927
+ attr_accessor name: ::String
928
+ attr_accessor query_definition_id: ::String
929
+ attr_accessor log_group_names: ::Array[::String]
930
+ attr_accessor query_string: ::String
931
+ attr_accessor client_token: ::String
932
+ SENSITIVE: []
933
+ end
934
+
935
+ class PutQueryDefinitionResponse
936
+ attr_accessor query_definition_id: ::String
937
+ SENSITIVE: []
938
+ end
939
+
940
+ class PutResourcePolicyRequest
941
+ attr_accessor policy_name: ::String
942
+ attr_accessor policy_document: ::String
943
+ SENSITIVE: []
944
+ end
945
+
946
+ class PutResourcePolicyResponse
947
+ attr_accessor resource_policy: Types::ResourcePolicy
948
+ SENSITIVE: []
949
+ end
950
+
951
+ class PutRetentionPolicyRequest
952
+ attr_accessor log_group_name: ::String
953
+ attr_accessor retention_in_days: ::Integer
954
+ SENSITIVE: []
955
+ end
956
+
957
+ class PutSubscriptionFilterRequest
958
+ attr_accessor log_group_name: ::String
959
+ attr_accessor filter_name: ::String
960
+ attr_accessor filter_pattern: ::String
961
+ attr_accessor destination_arn: ::String
962
+ attr_accessor role_arn: ::String
963
+ attr_accessor distribution: ("Random" | "ByLogStream")
964
+ SENSITIVE: []
965
+ end
966
+
967
+ class QueryCompileError
968
+ attr_accessor location: Types::QueryCompileErrorLocation
969
+ attr_accessor message: ::String
970
+ SENSITIVE: []
971
+ end
972
+
973
+ class QueryCompileErrorLocation
974
+ attr_accessor start_char_offset: ::Integer
975
+ attr_accessor end_char_offset: ::Integer
976
+ SENSITIVE: []
977
+ end
978
+
979
+ class QueryDefinition
980
+ attr_accessor query_definition_id: ::String
981
+ attr_accessor name: ::String
982
+ attr_accessor query_string: ::String
983
+ attr_accessor last_modified: ::Integer
984
+ attr_accessor log_group_names: ::Array[::String]
985
+ SENSITIVE: []
986
+ end
987
+
988
+ class QueryInfo
989
+ attr_accessor query_id: ::String
990
+ attr_accessor query_string: ::String
991
+ attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
992
+ attr_accessor create_time: ::Integer
993
+ attr_accessor log_group_name: ::String
994
+ SENSITIVE: []
995
+ end
996
+
997
+ class QueryStatistics
998
+ attr_accessor records_matched: ::Float
999
+ attr_accessor records_scanned: ::Float
1000
+ attr_accessor bytes_scanned: ::Float
1001
+ SENSITIVE: []
1002
+ end
1003
+
1004
+ class RejectedLogEventsInfo
1005
+ attr_accessor too_new_log_event_start_index: ::Integer
1006
+ attr_accessor too_old_log_event_end_index: ::Integer
1007
+ attr_accessor expired_log_event_end_index: ::Integer
1008
+ SENSITIVE: []
1009
+ end
1010
+
1011
+ class ResourceAlreadyExistsException < Aws::EmptyStructure
1012
+ end
1013
+
1014
+ class ResourceNotFoundException < Aws::EmptyStructure
1015
+ end
1016
+
1017
+ class ResourcePolicy
1018
+ attr_accessor policy_name: ::String
1019
+ attr_accessor policy_document: ::String
1020
+ attr_accessor last_updated_time: ::Integer
1021
+ SENSITIVE: []
1022
+ end
1023
+
1024
+ class ResultField
1025
+ attr_accessor field: ::String
1026
+ attr_accessor value: ::String
1027
+ SENSITIVE: []
1028
+ end
1029
+
1030
+ class SearchedLogStream
1031
+ attr_accessor log_stream_name: ::String
1032
+ attr_accessor searched_completely: bool
1033
+ SENSITIVE: []
1034
+ end
1035
+
1036
+ class ServiceQuotaExceededException < Aws::EmptyStructure
1037
+ end
1038
+
1039
+ class ServiceUnavailableException < Aws::EmptyStructure
1040
+ end
1041
+
1042
+ class SessionStreamingException
1043
+ attr_accessor message: ::String
1044
+ attr_accessor event_type: untyped
1045
+ SENSITIVE: []
1046
+ end
1047
+
1048
+ class SessionTimeoutException
1049
+ attr_accessor message: ::String
1050
+ attr_accessor event_type: untyped
1051
+ SENSITIVE: []
1052
+ end
1053
+
1054
+ class StartLiveTailRequest
1055
+ attr_accessor log_group_identifiers: ::Array[::String]
1056
+ attr_accessor log_stream_names: ::Array[::String]
1057
+ attr_accessor log_stream_name_prefixes: ::Array[::String]
1058
+ attr_accessor log_event_filter_pattern: ::String
1059
+ SENSITIVE: []
1060
+ end
1061
+
1062
+ class StartLiveTailResponse
1063
+ attr_accessor response_stream: Types::StartLiveTailResponseStream
1064
+ SENSITIVE: []
1065
+ end
1066
+
1067
+ class StartQueryRequest
1068
+ attr_accessor log_group_name: ::String
1069
+ attr_accessor log_group_names: ::Array[::String]
1070
+ attr_accessor log_group_identifiers: ::Array[::String]
1071
+ attr_accessor start_time: ::Integer
1072
+ attr_accessor end_time: ::Integer
1073
+ attr_accessor query_string: ::String
1074
+ attr_accessor limit: ::Integer
1075
+ SENSITIVE: []
1076
+ end
1077
+
1078
+ class StartQueryResponse
1079
+ attr_accessor query_id: ::String
1080
+ SENSITIVE: []
1081
+ end
1082
+
1083
+ class StopQueryRequest
1084
+ attr_accessor query_id: ::String
1085
+ SENSITIVE: []
1086
+ end
1087
+
1088
+ class StopQueryResponse
1089
+ attr_accessor success: bool
1090
+ SENSITIVE: []
1091
+ end
1092
+
1093
+ class SubscriptionFilter
1094
+ attr_accessor filter_name: ::String
1095
+ attr_accessor log_group_name: ::String
1096
+ attr_accessor filter_pattern: ::String
1097
+ attr_accessor destination_arn: ::String
1098
+ attr_accessor role_arn: ::String
1099
+ attr_accessor distribution: ("Random" | "ByLogStream")
1100
+ attr_accessor creation_time: ::Integer
1101
+ SENSITIVE: []
1102
+ end
1103
+
1104
+ class SuppressionPeriod
1105
+ attr_accessor value: ::Integer
1106
+ attr_accessor suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")
1107
+ SENSITIVE: []
1108
+ end
1109
+
1110
+ class TagLogGroupRequest
1111
+ attr_accessor log_group_name: ::String
1112
+ attr_accessor tags: ::Hash[::String, ::String]
1113
+ SENSITIVE: []
1114
+ end
1115
+
1116
+ class TagResourceRequest
1117
+ attr_accessor resource_arn: ::String
1118
+ attr_accessor tags: ::Hash[::String, ::String]
1119
+ SENSITIVE: []
1120
+ end
1121
+
1122
+ class TestMetricFilterRequest
1123
+ attr_accessor filter_pattern: ::String
1124
+ attr_accessor log_event_messages: ::Array[::String]
1125
+ SENSITIVE: []
1126
+ end
1127
+
1128
+ class TestMetricFilterResponse
1129
+ attr_accessor matches: ::Array[Types::MetricFilterMatchRecord]
1130
+ SENSITIVE: []
1131
+ end
1132
+
1133
+ class ThrottlingException < Aws::EmptyStructure
1134
+ end
1135
+
1136
+ class TooManyTagsException
1137
+ attr_accessor message: ::String
1138
+ attr_accessor resource_name: ::String
1139
+ SENSITIVE: []
1140
+ end
1141
+
1142
+ class UnrecognizedClientException < Aws::EmptyStructure
1143
+ end
1144
+
1145
+ class UntagLogGroupRequest
1146
+ attr_accessor log_group_name: ::String
1147
+ attr_accessor tags: ::Array[::String]
1148
+ SENSITIVE: []
1149
+ end
1150
+
1151
+ class UntagResourceRequest
1152
+ attr_accessor resource_arn: ::String
1153
+ attr_accessor tag_keys: ::Array[::String]
1154
+ SENSITIVE: []
1155
+ end
1156
+
1157
+ class UpdateAnomalyRequest
1158
+ attr_accessor anomaly_id: ::String
1159
+ attr_accessor pattern_id: ::String
1160
+ attr_accessor anomaly_detector_arn: ::String
1161
+ attr_accessor suppression_type: ("LIMITED" | "INFINITE")
1162
+ attr_accessor suppression_period: Types::SuppressionPeriod
1163
+ SENSITIVE: []
1164
+ end
1165
+
1166
+ class UpdateLogAnomalyDetectorRequest
1167
+ attr_accessor anomaly_detector_arn: ::String
1168
+ attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
1169
+ attr_accessor filter_pattern: ::String
1170
+ attr_accessor anomaly_visibility_time: ::Integer
1171
+ attr_accessor enabled: bool
1172
+ SENSITIVE: []
1173
+ end
1174
+
1175
+ class ValidationException < Aws::EmptyStructure
1176
+ end
1177
+
1178
+ class StartLiveTailResponseStream < Enumerator[untyped, untyped]
1179
+ def event_types: () -> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
1180
+ end
1181
+ end
1182
+ end