forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogs-2014-03-28.normal.json
1816 lines (1816 loc) · 67.1 KB
/
logs-2014-03-28.normal.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",
"signatureVersion":"v4",
"targetPrefix":"Logs_20140328",
"uid":"logs-2014-03-28"
},
"operations":{
"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.</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>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>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 that will be used as the Amazon S3 key prefix for all exported objects.</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.</p> <p>You can create up to 5000 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), and '.' (period).</p> </li> </ul>"
},
"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.</p> <p>There is no limit on the number of log streams that you can create for a log group.</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>"
},
"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 the metric filters or filter the results by log name, prefix, metric name, and metric namespace. The results are ASCII-sorted by filter name.</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>"
},
"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 1MB (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.</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 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). If the results include tokens, there are more log events available. You can get additional log events by specifying one of the tokens in a subsequent call.</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> <p>To add tags, use <a>TagLogGroup</a>. To remove tags, use <a>UntagLogGroup</a>.</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. A destination encapsulates a physical resource (such as a Kinesis stream) and enables you to subscribe to a real-time stream of log events of a different account, ingested using <a>PutLogEvents</a>. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination.</p> <p>A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, <code>PutDestination</code> does not set any access policy with the destination, which means a cross-account user cannot call <a>PutSubscriptionFilter</a> against this destination. To enable this, the destination owner must call <a>PutDestinationPolicy</a> after <code>PutDestination</code>.</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=\"http://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>"
},
"PutLogEvents":{
"name":"PutLogEvents",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutLogEventsRequest"},
"output":{"shape":"PutLogEventsResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"InvalidSequenceTokenException"},
{"shape":"DataAlreadyAcceptedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceUnavailableException"}
],
"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 using <a>DescribeLogStreams</a>.</p> <p>The batch of events must satisfy the following constraints:</p> <ul> <li> <p>The maximum batch size is 1,048,576 bytes, and 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 the retention period of the log group.</p> </li> <li> <p>The log events in the batch must be in chronological ordered by their timestamp (the time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC).</p> </li> <li> <p>The maximum number of log events in a batch is 10,000.</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> </ul>"
},
"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>PutLogEvents</a>.</p> <p>The maximum number of metric filters that can be associated with a log group is 100.</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 you want 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>PutLogEvents</a> and have them delivered to a specific destination. Currently, the supported destinations are:</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 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>There can only be one subscription filter associated with a log group.</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>ListTagsLogGroup</a>. To remove tags, use <a>UntagLogGroup</a>.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/log-group-tagging.html\">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>ListTagsLogGroup</a>. To add tags, use <a>UntagLogGroup</a>.</p>"
}
},
"shapes":{
"AccessPolicy":{
"type":"string",
"min":1
},
"Arn":{"type":"string"},
"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 since 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, expressed as the number of milliseconds since 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>"
},
"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>"
},
"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>"
}
}
},
"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>"
},
"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>You cannot specify this parameter if <code>orderBy</code> is <code>LastEventTime</code>.</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>"
},
"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>"
}
}
},
"DescribeLogStreamsResponse":{
"type":"structure",
"members":{
"logStreams":{
"shape":"LogStreams",
"documentation":"<p>The log streams.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeMetricFiltersRequest":{
"type":"structure",
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"filterNamePrefix":{
"shape":"FilterName",
"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>"
},
"metricName":{
"shape":"MetricName",
"documentation":"<p>The name of the CloudWatch metric.</p>"
},
"metricNamespace":{
"shape":"MetricNamespace",
"documentation":"<p>The namespace of the CloudWatch metric.</p>"
}
}
},
"DescribeMetricFiltersResponse":{
"type":"structure",
"members":{
"metricFilters":{
"shape":"MetricFilters",
"documentation":"<p>The metric filters.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeSubscriptionFiltersRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},
"filterNamePrefix":{
"shape":"FilterName",
"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>"
}
}
},
"DescribeSubscriptionFiltersResponse":{
"type":"structure",
"members":{
"subscriptionFilters":{
"shape":"SubscriptionFilters",
"documentation":"<p>The subscription filters.</p>"
},
"nextToken":{"shape":"NextToken"}
}
},
"Destination":{
"type":"structure",
"members":{
"destinationName":{
"shape":"DestinationName",
"documentation":"<p>The name of the destination.</p>"
},
"targetArn":{
"shape":"TargetArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a Kinesis stream).</p>"
},
"roleArn":{
"shape":"RoleArn",
"documentation":"<p>A role for impersonation, used when delivering log events to the target.</p>"
},
"accessPolicy":{
"shape":"AccessPolicy",
"documentation":"<p>An IAM policy document that governs which AWS accounts can create subscription filters against this destination.</p>"
},
"arn":{
"shape":"Arn",
"documentation":"<p>The ARN of this destination.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The creation time of the destination.</p>"
}
},
"documentation":"<p>Represents a cross-account destination that receives subscription log events.</p>"
},
"DestinationArn":{
"type":"string",
"min":1
},
"DestinationName":{
"type":"string",
"max":512,
"min":1,
"pattern":"[^:*]*"
},
"Destinations":{
"type":"list",
"member":{"shape":"Destination"}
},
"Distribution":{
"type":"string",
"enum":[
"Random",
"ByLogStream"
]
},
"EventId":{"type":"string"},
"EventMessage":{
"type":"string",
"min":1
},
"EventNumber":{"type":"long"},
"EventsLimit":{
"type":"integer",
"max":10000,
"min":1
},
"ExportDestinationBucket":{
"type":"string",
"max":512,
"min":1
},
"ExportDestinationPrefix":{"type":"string"},
"ExportTask":{
"type":"structure",
"members":{
"taskId":{
"shape":"ExportTaskId",
"documentation":"<p>The ID of the export task.</p>"
},
"taskName":{
"shape":"ExportTaskName",
"documentation":"<p>The name of the export task.</p>"
},
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group from which logs data was exported.</p>"
},
"from":{
"shape":"Timestamp",
"documentation":"<p>The start time, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.</p>"
},
"to":{
"shape":"Timestamp",
"documentation":"<p>The end time, expressed as the number of milliseconds since 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 Amazon S3 bucket to which the log data was exported.</p>"
},
"destinationPrefix":{
"shape":"ExportDestinationPrefix",
"documentation":"<p>The prefix that was used as the start of Amazon S3 key for every object exported.</p>"
},
"status":{
"shape":"ExportTaskStatus",
"documentation":"<p>The status of the export task.</p>"
},
"executionInfo":{
"shape":"ExportTaskExecutionInfo",
"documentation":"<p>Execution info about the export task.</p>"
}
},
"documentation":"<p>Represents an export task.</p>"
},
"ExportTaskExecutionInfo":{
"type":"structure",
"members":{
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The creation time of the export task.</p>"
},
"completionTime":{
"shape":"Timestamp",
"documentation":"<p>The completion time of the export task.</p>"
}
},
"documentation":"<p>Represents the status of an export task.</p>"
},
"ExportTaskId":{
"type":"string",
"max":512,
"min":1
},
"ExportTaskName":{
"type":"string",
"max":512,
"min":1
},
"ExportTaskStatus":{
"type":"structure",
"members":{
"code":{
"shape":"ExportTaskStatusCode",
"documentation":"<p>The status code of the export task.</p>"
},
"message":{
"shape":"ExportTaskStatusMessage",
"documentation":"<p>The status message related to the status code.</p>"
}
},
"documentation":"<p>Represents the status of an export task.</p>"
},
"ExportTaskStatusCode":{
"type":"string",
"enum":[
"CANCELLED",
"COMPLETED",
"FAILED",
"PENDING",
"PENDING_CANCEL",
"RUNNING"
]
},
"ExportTaskStatusMessage":{"type":"string"},
"ExportTasks":{
"type":"list",
"member":{"shape":"ExportTask"}
},
"ExtractedValues":{
"type":"map",
"key":{"shape":"Token"},
"value":{"shape":"Value"}
},
"FilterCount":{"type":"integer"},
"FilterLogEventsRequest":{
"type":"structure",
"required":["logGroupName"],
"members":{
"logGroupName":{
"shape":"LogGroupName",
"documentation":"<p>The name of the log group.</p>"
},