-
Notifications
You must be signed in to change notification settings - Fork 895
/
Copy pathservice-2.json
2666 lines (2666 loc) · 116 KB
/
service-2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version":"2.0",
"metadata":{
"apiVersion":"2014-03-28",
"endpointPrefix":"logs",
"jsonVersion":"1.1",
"protocol":"json",
"serviceFullName":"Amazon CloudWatch Logs",
"serviceId":"CloudWatch Logs",
"signatureVersion":"v4",
"targetPrefix":"Logs_20140328",
"uid":"logs-2014-03-28"
},
"operations":{
"AssociateKmsKey":{
"name":"AssociateKmsKey",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AssociateKmsKeyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group.</p> <p>Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.</p> <important> <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p> </important> <p>It can take up to 5 minutes for this operation to take effect.</p> <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>"
},
"CancelExportTask":{
"name":"CancelExportTask",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CancelExportTaskRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Cancels the specified export task.</p> <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>"
},
"CreateExportTask":{
"name":"CreateExportTask",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateExportTaskRequest"},
"output":{"shape":"CreateExportTaskResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"LimitExceededException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceAlreadyExistsException"}
],
"documentation":"<p>Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.</p> <p>This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p> <p>You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.</p> <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported. </p>"
},
"CreateLogGroup":{
"name":"CreateLogGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateLogGroupRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"LimitExceededException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p> <p>You must use the following guidelines when naming a log group:</p> <ul> <li> <p>Log group names must be unique within a region for an AWS account.</p> </li> <li> <p>Log group names can be between 1 and 512 characters long.</p> </li> <li> <p>Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)</p> </li> </ul> <p>When you create a log group, by default the log events in the log group never expire. To set a retention policy so that events expire and are deleted after a specified time, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html\">PutRetentionPolicy</a>.</p> <p>If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.</p> <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p> <important> <p> CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p> </important>"
},
"CreateLogStream":{
"name":"CreateLogStream",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateLogStreamRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored.</p> <p>There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on <code>CreateLogStream</code> operations, after which transactions are throttled.</p> <p>You must use the following guidelines when naming a log stream:</p> <ul> <li> <p>Log stream names must be unique within the log group.</p> </li> <li> <p>Log stream names can be between 1 and 512 characters long.</p> </li> <li> <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p> </li> </ul>"
},
"DeleteDestination":{
"name":"DeleteDestination",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteDestinationRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.</p>"
},
"DeleteLogGroup":{
"name":"DeleteLogGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteLogGroupRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified log group and permanently deletes all the archived log events associated with the log group.</p>"
},
"DeleteLogStream":{
"name":"DeleteLogStream",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteLogStreamRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.</p>"
},
"DeleteMetricFilter":{
"name":"DeleteMetricFilter",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteMetricFilterRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified metric filter.</p>"
},
"DeleteQueryDefinition":{
"name":"DeleteQueryDefinition",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteQueryDefinitionRequest"},
"output":{"shape":"DeleteQueryDefinitionResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes a saved CloudWatch Logs Insights query definition. A query definition contains details about a saved CloudWatch Logs Insights query.</p> <p>Each <code>DeleteQueryDefinition</code> operation can delete one query definition.</p> <p>You must have the <code>logs:DeleteQueryDefinition</code> permission to be able to perform this operation.</p>"
},
"DeleteResourcePolicy":{
"name":"DeleteResourcePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteResourcePolicyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.</p>"
},
"DeleteRetentionPolicy":{
"name":"DeleteRetentionPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRetentionPolicyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified retention policy.</p> <p>Log events do not expire if they belong to log groups without a retention policy.</p>"
},
"DeleteSubscriptionFilter":{
"name":"DeleteSubscriptionFilter",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSubscriptionFilterRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Deletes the specified subscription filter.</p>"
},
"DescribeDestinations":{
"name":"DescribeDestinations",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeDestinationsRequest"},
"output":{"shape":"DescribeDestinationsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists all your destinations. The results are ASCII-sorted by destination name.</p>"
},
"DescribeExportTasks":{
"name":"DescribeExportTasks",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeExportTasksRequest"},
"output":{"shape":"DescribeExportTasksResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.</p>"
},
"DescribeLogGroups":{
"name":"DescribeLogGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeLogGroupsRequest"},
"output":{"shape":"DescribeLogGroupsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.</p>"
},
"DescribeLogStreams":{
"name":"DescribeLogStreams",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeLogStreamsRequest"},
"output":{"shape":"DescribeLogStreamsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered.</p> <p>This operation has a limit of five transactions per second, after which transactions are throttled.</p>"
},
"DescribeMetricFilters":{
"name":"DescribeMetricFilters",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeMetricFiltersRequest"},
"output":{"shape":"DescribeMetricFiltersResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.</p>"
},
"DescribeQueries":{
"name":"DescribeQueries",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeQueriesRequest"},
"output":{"shape":"DescribeQueriesResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.</p>"
},
"DescribeQueryDefinitions":{
"name":"DescribeQueryDefinitions",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeQueryDefinitionsRequest"},
"output":{"shape":"DescribeQueryDefinitionsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.</p> <p>You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results to only the query definitions that have names that start with a certain string.</p>"
},
"DescribeResourcePolicies":{
"name":"DescribeResourcePolicies",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeResourcePoliciesRequest"},
"output":{"shape":"DescribeResourcePoliciesResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the resource policies in this account.</p>"
},
"DescribeSubscriptionFilters":{
"name":"DescribeSubscriptionFilters",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeSubscriptionFiltersRequest"},
"output":{"shape":"DescribeSubscriptionFiltersResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name.</p>"
},
"DisassociateKmsKey":{
"name":"DisassociateKmsKey",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DisassociateKmsKeyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Disassociates the associated AWS Key Management Service (AWS KMS) customer master key (CMK) from the specified log group.</p> <p>After the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.</p> <p>Note that it can take up to 5 minutes for this operation to take effect.</p>"
},
"FilterLogEvents":{
"name":"FilterLogEvents",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"FilterLogEventsRequest"},
"output":{"shape":"FilterLogEventsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.</p> <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token.</p> <p>The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.</p>"
},
"GetLogEvents":{
"name":"GetLogEvents",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetLogEventsRequest"},
"output":{"shape":"GetLogEventsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists log events from the specified log stream. You can list all of the log events or filter using a time range.</p> <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). You can get additional log events by specifying one of the tokens in a subsequent call. This operation can return empty results while there are more log events available through the token.</p>"
},
"GetLogGroupFields":{
"name":"GetLogGroupFields",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetLogGroupFieldsRequest"},
"output":{"shape":"GetLogGroupFieldsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events that contain each field. The search is limited to a time period that you specify.</p> <p>In the results, fields that start with @ are fields generated by CloudWatch Logs. For example, <code>@timestamp</code> is the timestamp of each log event. For more information about the fields that are generated by CloudWatch logs, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html\">Supported Logs and Discovered Fields</a>.</p> <p>The response results are sorted by the frequency percentage, starting with the highest percentage.</p>"
},
"GetLogRecord":{
"name":"GetLogRecord",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetLogRecordRequest"},
"output":{"shape":"GetLogRecordResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Retrieves all of the fields and values of a single log event. All fields are retrieved, even if the original query that produced the <code>logRecordPointer</code> retrieved only a subset of fields. Fields are returned as field name/field value pairs.</p> <p>The full unparsed log event is returned within <code>@message</code>.</p>"
},
"GetQueryResults":{
"name":"GetQueryResults",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetQueryResultsRequest"},
"output":{"shape":"GetQueryResultsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Returns the results from the specified query.</p> <p>Only the fields requested in the query are returned, along with a <code>@ptr</code> field, which is the identifier for the log record. You can use the value of <code>@ptr</code> in a <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html\">GetLogRecord</a> operation to get the full log record.</p> <p> <code>GetQueryResults</code> does not start a query execution. To run a query, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html\">StartQuery</a>.</p> <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status, you can retry the operation later to see the final results. </p>"
},
"ListTagsLogGroup":{
"name":"ListTagsLogGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListTagsLogGroupRequest"},
"output":{"shape":"ListTagsLogGroupResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the tags for the specified log group.</p>"
},
"PutDestination":{
"name":"PutDestination",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutDestinationRequest"},
"output":{"shape":"PutDestinationResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p> <p>A destination encapsulates a physical resource (such as an Amazon Kinesis stream) and enables you to subscribe to a real-time stream of log events for a different account, ingested using <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a>.</p> <p>Through an access policy, a destination controls what is written to it. By default, <code>PutDestination</code> does not set any access policy with the destination, which means a cross-account user cannot call <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html\">PutSubscriptionFilter</a> against this destination. To enable this, the destination owner must call <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html\">PutDestinationPolicy</a> after <code>PutDestination</code>.</p> <p>To perform a <code>PutDestination</code> operation, you must also have the <code>iam:PassRole</code> permission.</p>"
},
"PutDestinationPolicy":{
"name":"PutDestinationPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutDestinationPolicyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates an access policy associated with an existing destination. An access policy is an <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html\">IAM policy document</a> that is used to authorize claims to register a subscription filter against a given destination.</p> <p>If multiple AWS accounts are sending logs to this destination, each sender account must be listed separately in the policy. The policy does not support specifying <code>*</code> as the Principal or the use of the <code>aws:PrincipalOrgId</code> global key.</p>"
},
"PutLogEvents":{
"name":"PutLogEvents",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutLogEventsRequest"},
"output":{"shape":"PutLogEventsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"InvalidSequenceTokenException"},
{"shape":"DataAlreadyAcceptedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"},
{"shape":"UnrecognizedClientException"}
],
"documentation":"<p>Uploads a batch of log events to the specified log stream.</p> <p>You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the <code>expectedSequenceToken</code> field from <code>InvalidSequenceTokenException</code>. If you call <code>PutLogEvents</code> twice within a narrow time period using the same value for <code>sequenceToken</code>, both calls might be successful or one might be rejected.</p> <p>The batch of events must satisfy the following constraints:</p> <ul> <li> <p>The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.</p> </li> <li> <p>None of the log events in the batch can be more than 2 hours in the future.</p> </li> <li> <p>None of the log events in the batch can be older than 14 days or older than the retention period of the log group.</p> </li> <li> <p>The log events in the batch must be in chronological order by their timestamp. The timestamp is the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.) </p> </li> <li> <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p> </li> <li> <p>The maximum number of log events in a batch is 10,000.</p> </li> <li> <p>There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed.</p> </li> </ul> <p>If a call to <code>PutLogEvents</code> returns \"UnrecognizedClientException\" the most likely cause is an invalid AWS access key ID or secret key. </p>"
},
"PutMetricFilter":{
"name":"PutMetricFilter",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutMetricFilterRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"LimitExceededException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a>.</p> <p>The maximum number of metric filters that can be associated with a log group is 100.</p> <p>When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.</p> <important> <p>Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. </p> <p>To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.</p> <p>You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html\"> Creating a Billing Alarm to Monitor Your Estimated AWS Charges</a>. </p> </important>"
},
"PutQueryDefinition":{
"name":"PutQueryDefinition",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutQueryDefinitionRequest"},
"output":{"shape":"PutQueryDefinitionResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates a query definition for CloudWatch Logs Insights. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html\">Analyzing Log Data with CloudWatch Logs Insights</a>.</p> <p>To update a query definition, specify its <code>queryDefinitionId</code> in your request. The values of <code>name</code>, <code>queryString</code>, and <code>logGroupNames</code> are changed to the values that you specify in your update operation. No current values are retained from the current query definition. For example, if you update a current query definition that includes log groups, and you don't specify the <code>logGroupNames</code> parameter in your update operation, the query definition changes to contain no log groups.</p> <p>You must have the <code>logs:PutQueryDefinition</code> permission to be able to perform this operation.</p>"
},
"PutResourcePolicy":{
"name":"PutResourcePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutResourcePolicyRequest"},
"output":{"shape":"PutResourcePolicyResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"LimitExceededException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per AWS Region.</p>"
},
"PutRetentionPolicy":{
"name":"PutRetentionPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutRetentionPolicyRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Sets the retention of the specified log group. A retention policy allows you to configure the number of days for which to retain log events in the specified log group.</p>"
},
"PutSubscriptionFilter":{
"name":"PutSubscriptionFilter",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutSubscriptionFilterRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OperationAbortedException"},
{"shape":"LimitExceededException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a> and have them delivered to a specific destination. When log events are sent to the receiving service, they are Base64 encoded and compressed with the gzip format.</p> <p>The following destinations are supported for subscription filters:</p> <ul> <li> <p>An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.</p> </li> <li> <p>A logical destination that belongs to a different account, for cross-account delivery.</p> </li> <li> <p>An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery.</p> </li> <li> <p>An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery.</p> </li> </ul> <p>Each log group can have up to two subscription filters associated with it. If you are updating an existing filter, you must specify the correct name in <code>filterName</code>. </p> <p>To perform a <code>PutSubscriptionFilter</code> operation, you must also have the <code>iam:PassRole</code> permission.</p>"
},
"StartQuery":{
"name":"StartQuery",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"StartQueryRequest"},
"output":{"shape":"StartQueryResponse"},
"errors":[
{"shape":"MalformedQueryException"},
{"shape":"InvalidParameterException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group and time range to query and the query string to use.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p> <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched or partition your query into a number of queries.</p>"
},
"StopQuery":{
"name":"StopQuery",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"StopQueryRequest"},
"output":{"shape":"StopQueryResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation returns an error indicating that the specified query is not running.</p>"
},
"TagLogGroup":{
"name":"TagLogGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"TagLogGroupRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterException"}
],
"documentation":"<p>Adds or updates the specified tags for the specified log group.</p> <p>To list the tags for a log group, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html\">ListTagsLogGroup</a>. To remove tags, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html\">UntagLogGroup</a>.</p> <p>For more information about tags, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging\">Tag Log Groups in Amazon CloudWatch Logs</a> in the <i>Amazon CloudWatch Logs User Guide</i>.</p>"
},
"TestMetricFilter":{
"name":"TestMetricFilter",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"TestMetricFilterRequest"},
"output":{"shape":"TestMetricFilterResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern.</p>"
},
"UntagLogGroup":{
"name":"UntagLogGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UntagLogGroupRequest"},
"errors":[
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Removes the specified tags from the specified log group.</p> <p>To list the tags for a log group, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html\">ListTagsLogGroup</a>. To add tags, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html\">TagLogGroup</a>.</p>"
}
},
"shapes":{
"AccessPolicy":{
"type":"string",
"min":1
},
"Arn":{"type":"string"},
"AssociateKmsKeyRequest":{
"type":"structure",
"required":[
"logGroupName",
"kmsKeyId"
],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"kmsKeyId":{
"shape":"KmsKeyId",
"documentation":"<p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms\">Amazon Resource Names - AWS Key Management Service (AWS KMS)</a> and <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p>"
}
}
},
"CancelExportTaskRequest":{
"type":"structure",
"required":["taskId"],
"members":{
"taskId":{
"shape":"ExportTaskId",
"documentation":"<p>The ID of the export task.</p>"
}
}
},
"CreateExportTaskRequest":{
"type":"structure",
"required":[
"logGroupName",
"from",
"to",
"destination"
],
"members":{
"taskName":{
"shape":"ExportTaskName",
"documentation":"<p>The name of the export task.</p>"
},
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"logStreamNamePrefix":{
"shape":"LogStreamName",
"documentation":"<p>Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.</p>"
},
"from":{
"shape":"Timestamp",
"documentation":"<p>The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.</p>"
},
"to":{
"shape":"Timestamp",
"documentation":"<p>The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>"
},
"destination":{
"shape":"ExportDestinationBucket",
"documentation":"<p>The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.</p>"
},
"destinationPrefix":{
"shape":"ExportDestinationPrefix",
"documentation":"<p>The prefix used as the start of the key for every object exported. If you don't specify a value, the default is <code>exportedlogs</code>.</p>"
}
}
},
"CreateExportTaskResponse":{
"type":"structure",
"members":{
"taskId":{
"shape":"ExportTaskId",
"documentation":"<p>The ID of the export task.</p>"
}
}
},
"CreateLogGroupRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"kmsKeyId":{
"shape":"KmsKeyId",
"documentation":"<p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms\">Amazon Resource Names - AWS Key Management Service (AWS KMS)</a>.</p>"
},
"tags":{
"shape":"Tags",
"documentation":"<p>The key-value pairs to use for the tags.</p>"
}
}
},
"CreateLogStreamRequest":{
"type":"structure",
"required":[
"logGroupName",
"logStreamName"
],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"logStreamName":{
"shape":"LogStreamName",
"documentation":"<p>The name of the log stream.</p>"
}
}
},
"DataAlreadyAcceptedException":{
"type":"structure",
"members":{
"expectedSequenceToken":{"shape":"SequenceToken"}
},
"documentation":"<p>The event was already logged.</p>",
"exception":true
},
"Days":{
"type":"integer",
"documentation":"<p>The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p> <p>If you omit <code>retentionInDays</code> in a <code>PutRetentionPolicy</code> operation, the events in the log group are always retained and never expire.</p>"
},
"DefaultValue":{"type":"double"},
"DeleteDestinationRequest":{
"type":"structure",
"required":["destinationName"],
"members":{
"destinationName":{
"shape":"DestinationName",
"documentation":"<p>The name of the destination.</p>"
}
}
},
"DeleteLogGroupRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
}
}
},
"DeleteLogStreamRequest":{
"type":"structure",
"required":[
"logGroupName",
"logStreamName"
],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"logStreamName":{
"shape":"LogStreamName",
"documentation":"<p>The name of the log stream.</p>"
}
}
},
"DeleteMetricFilterRequest":{
"type":"structure",
"required":[
"logGroupName",
"filterName"
],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"filterName":{
"shape":"FilterName",
"documentation":"<p>The name of the metric filter.</p>"
}
}
},
"DeleteQueryDefinitionRequest":{
"type":"structure",
"required":["queryDefinitionId"],
"members":{
"queryDefinitionId":{
"shape":"QueryId",
"documentation":"<p>The ID of the query definition that you want to delete. You can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html\">DescribeQueryDefinitions</a> to retrieve the IDs of your saved query definitions.</p>"
}
}
},
"DeleteQueryDefinitionResponse":{
"type":"structure",
"members":{
"success":{
"shape":"Success",
"documentation":"<p>A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation failed.</p>"
}
}
},
"DeleteResourcePolicyRequest":{
"type":"structure",
"members":{
"policyName":{
"shape":"PolicyName",
"documentation":"<p>The name of the policy to be revoked. This parameter is required.</p>"
}
}
},
"DeleteRetentionPolicyRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
}
}
},
"DeleteSubscriptionFilterRequest":{
"type":"structure",
"required":[
"logGroupName",
"filterName"
],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"filterName":{
"shape":"FilterName",
"documentation":"<p>The name of the subscription filter.</p>"
}
}
},
"Descending":{"type":"boolean"},
"DescribeDestinationsRequest":{
"type":"structure",
"members":{
"DestinationNamePrefix":{
"shape":"DestinationName",
"documentation":"<p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
},
"limit":{
"shape":"DescribeLimit",
"documentation":"<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
},
"DescribeDestinationsResponse":{
"type":"structure",
"members":{
"destinations":{
"shape":"Destinations",
"documentation":"<p>The destinations.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeExportTasksRequest":{
"type":"structure",
"members":{
"taskId":{
"shape":"ExportTaskId",
"documentation":"<p>The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.</p>"
},
"statusCode":{
"shape":"ExportTaskStatusCode",
"documentation":"<p>The status code of the export task. Specifying a status code filters the results to zero or more export tasks.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
},
"limit":{
"shape":"DescribeLimit",
"documentation":"<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
},
"DescribeExportTasksResponse":{
"type":"structure",
"members":{
"exportTasks":{
"shape":"ExportTasks",
"documentation":"<p>The export tasks.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeLimit":{
"type":"integer",
"max":50,
"min":1
},
"DescribeLogGroupsRequest":{
"type":"structure",
"members":{
"logGroupNamePrefix":{
"shape":"LogGroupName",
"documentation":"<p>The prefix to match.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
},
"limit":{
"shape":"DescribeLimit",
"documentation":"<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
},
"DescribeLogGroupsResponse":{
"type":"structure",
"members":{
"logGroups":{
"shape":"LogGroups",
"documentation":"<p>The log groups.</p> <p>If the <code>retentionInDays</code> value if not included for a log group, then that log group is set to have its events never expire.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeLogStreamsRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"logStreamNamePrefix":{
"shape":"LogStreamName",
"documentation":"<p>The prefix to match.</p> <p>If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this parameter.</p>"
},
"orderBy":{
"shape":"OrderBy",
"documentation":"<p>If the value is <code>LogStreamName</code>, the results are ordered by log stream name. If the value is <code>LastEventTime</code>, the results are ordered by the event time. The default value is <code>LogStreamName</code>.</p> <p>If you order the results by event time, you cannot specify the <code>logStreamNamePrefix</code> parameter.</p> <p> <code>lastEventTimestamp</code> represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. <code>lastEventTimestamp</code> updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.</p>"
},
"descending":{
"shape":"Descending",
"documentation":"<p>If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
},
"limit":{
"shape":"DescribeLimit",
"documentation":"<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"