forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents-2015-10-07.normal.json
998 lines (998 loc) · 38 KB
/
events-2015-10-07.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
{
"version":"2.0",
"metadata":{
"uid":"events-2015-10-07",
"apiVersion":"2015-10-07",
"endpointPrefix":"events",
"jsonVersion":"1.1",
"serviceFullName":"Amazon CloudWatch Events",
"signatureVersion":"v4",
"targetPrefix":"AWSEvents",
"protocol":"json"
},
"documentation":"<p>Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a pre-determined schedule. For example, you can configure rules to: </p> <ul> <li>Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.</li> <li>Direct specific API records from CloudTrail to an Amazon Kinesis stream for detailed analysis of potential security or availability risks.</li> <li>Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.</li> </ul> <p> For more information about Amazon CloudWatch Events features, see the <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide\">Amazon CloudWatch Developer Guide</a>. </p>",
"operations":{
"DeleteRule":{
"name":"DeleteRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"DeleteRuleRequest",
"documentation":"<p>Container for the parameters to the <a>DeleteRule</a> operation.</p>"
},
"errors":[
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Deletes a rule. You must remove all targets from a rule using <a>RemoveTargets</a> before you can delete the rule.</p> <p> <b>Note:</b> When you delete a rule, incoming events might still continue to match to the deleted rule. Please allow a short period of time for changes to take effect. </p>"
},
"DescribeRule":{
"name":"DescribeRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"DescribeRuleRequest",
"documentation":"<p>Container for the parameters to the <a>DescribeRule</a> operation.</p>"
},
"output":{
"shape":"DescribeRuleResponse",
"documentation":"<p>The result of the <a>DescribeRule</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Describes the details of the specified rule.</p>"
},
"DisableRule":{
"name":"DisableRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"DisableRuleRequest",
"documentation":"<p>Container for the parameters to the <a>DisableRule</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Disables a rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.</p> <p> <b>Note:</b> When you disable a rule, incoming events might still continue to match to the disabled rule. Please allow a short period of time for changes to take effect. </p>"
},
"EnableRule":{
"name":"EnableRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"EnableRuleRequest",
"documentation":"<p>Container for the parameters to the <a>EnableRule</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Enables a rule. If the rule does not exist, the operation fails.</p> <p> <b>Note:</b> When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect. </p>"
},
"ListRuleNamesByTarget":{
"name":"ListRuleNamesByTarget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"ListRuleNamesByTargetRequest",
"documentation":"<p>Container for the parameters to the <a>ListRuleNamesByTarget</a> operation.</p>"
},
"output":{
"shape":"ListRuleNamesByTargetResponse",
"documentation":"<p>The result of the <a>ListRuleNamesByTarget</a> operation.</p>"
},
"errors":[
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Lists the names of the rules that the given target is put to. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRulesByTarget until the NextToken in the response is returned as null.</p>"
},
"ListRules":{
"name":"ListRules",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"ListRulesRequest",
"documentation":"<p>Container for the parameters to the <a>ListRules</a> operation.</p>"
},
"output":{
"shape":"ListRulesResponse",
"documentation":"<p>The result of the <a>ListRules</a> operation.</p>"
},
"errors":[
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Lists the Amazon CloudWatch Events rules in your account. You can either list all the rules or you can provide a prefix to match to the rule names. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRules until the NextToken in the response is returned as null.</p>"
},
"ListTargetsByRule":{
"name":"ListTargetsByRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"ListTargetsByRuleRequest",
"documentation":"<p>Container for the parameters to the <a>ListTargetsByRule</a> operation.</p>"
},
"output":{
"shape":"ListTargetsByRuleResponse",
"documentation":"<p>The result of the <a>ListTargetsByRule</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Lists of targets assigned to the rule.</p>"
},
"PutEvents":{
"name":"PutEvents",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"PutEventsRequest",
"documentation":"<p>Container for the parameters to the <a>PutEvents</a> operation.</p>"
},
"output":{
"shape":"PutEventsResponse",
"documentation":"<p>The result of the <a>PutEvents</a> operation.</p>"
},
"errors":[
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.</p>"
},
"PutRule":{
"name":"PutRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"PutRuleRequest",
"documentation":"<p>Container for the parameters to the <a>PutRule</a> operation.</p>"
},
"output":{
"shape":"PutRuleResponse",
"documentation":"<p>The result of the <a>PutRule</a> operation.</p>"
},
"errors":[
{
"shape":"InvalidEventPatternException",
"exception":true,
"documentation":"<p>The event pattern is invalid.</p>"
},
{
"shape":"LimitExceededException",
"exception":true,
"documentation":"<p>This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.</p>"
},
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Creates or updates a rule. Rules are enabled by default, or based on value of the State parameter. You can disable a rule using <a>DisableRule</a>.</p> <p> <b>Note:</b> When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect.</p> <p>A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule will trigger on matching events as well as on a schedule.</p> <p> <b>Note:</b> Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. </p>"
},
"PutTargets":{
"name":"PutTargets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"PutTargetsRequest",
"documentation":"<p>Container for the parameters to the <a>PutTargets</a> operation.</p>"
},
"output":{
"shape":"PutTargetsResponse",
"documentation":"<p>The result of the <a>PutTargets</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"LimitExceededException",
"exception":true,
"documentation":"<p>This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Adds target(s) to a rule. Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets. Updates the target(s) if they are already associated with the role. In other words, if there is already a target with the given target ID, then the target associated with that ID is updated.</p> <p>In order to be able to make API calls against the resources you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For Amazon Kinesis streams, CloudWatch Events relies on IAM roles. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/EventsTargetPermissions.html\">Permissions for Sending Events to Targets</a> in the <b><i>Amazon CloudWatch Developer Guide</i></b>.</p> <p><b>Input</b> and <b>InputPath</b> are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:</p> <ul> <li>Neither <b>Input</b> nor <b>InputPath</b> is specified, then the entire event is passed to the target in JSON form.</li> <li> <b>InputPath</b> is specified in the form of JSONPath (e.g. <b>$.detail</b>), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed). </li> <li> <b>Input</b> is specified in the form of a valid JSON, then the matched event is overridden with this constant.</li> </ul> <p> <b>Note:</b> When you add targets to a rule, when the associated rule triggers, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect. </p>"
},
"RemoveTargets":{
"name":"RemoveTargets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"RemoveTargetsRequest",
"documentation":"<p>Container for the parameters to the <a>RemoveTargets</a> operation.</p>"
},
"output":{
"shape":"RemoveTargetsResponse",
"documentation":"<p>The result of the <a>RemoveTargets</a> operation.</p>"
},
"errors":[
{
"shape":"ResourceNotFoundException",
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
{
"shape":"ConcurrentModificationException",
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Removes target(s) from a rule so that when the rule is triggered, those targets will no longer be invoked.</p> <p> <b>Note:</b> When you remove a target, when the associated rule triggers, removed targets might still continue to be invoked. Please allow a short period of time for changes to take effect. </p>"
},
"TestEventPattern":{
"name":"TestEventPattern",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{
"shape":"TestEventPatternRequest",
"documentation":"<p>Container for the parameters to the <a>TestEventPattern</a> operation.</p>"
},
"output":{
"shape":"TestEventPatternResponse",
"documentation":"<p>The result of the <a>TestEventPattern</a> operation.</p>"
},
"errors":[
{
"shape":"InvalidEventPatternException",
"exception":true,
"documentation":"<p>The event pattern is invalid.</p>"
},
{
"shape":"InternalException",
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
}
],
"documentation":"<p>Tests whether an event pattern matches the provided event.</p> <p> <b>Note:</b> Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. </p>"
}
},
"shapes":{
"Boolean":{"type":"boolean"},
"ConcurrentModificationException":{
"type":"structure",
"members":{
},
"exception":true,
"documentation":"<p>This exception occurs if there is concurrent modification on rule or target.</p>"
},
"DeleteRuleRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The name of the rule to be deleted.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>DeleteRule</a> operation.</p>"
},
"DescribeRuleRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The name of the rule you want to describe details for.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>DescribeRule</a> operation.</p>"
},
"DescribeRuleResponse":{
"type":"structure",
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The rule's name.</p>"
},
"Arn":{
"shape":"RuleArn",
"documentation":"<p>The Amazon Resource Name (ARN) associated with the rule.</p>"
},
"EventPattern":{
"shape":"EventPattern",
"documentation":"<p>The event pattern.</p>"
},
"ScheduleExpression":{
"shape":"ScheduleExpression",
"documentation":"<p>The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".</p>"
},
"State":{
"shape":"RuleState",
"documentation":"<p>Specifies whether the rule is enabled or disabled.</p>"
},
"Description":{
"shape":"RuleDescription",
"documentation":"<p>The rule's description.</p>"
},
"RoleArn":{
"shape":"RoleArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>"
}
},
"documentation":"<p>The result of the <a>DescribeRule</a> operation.</p>"
},
"DisableRuleRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The name of the rule you want to disable.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>DisableRule</a> operation.</p>"
},
"EnableRuleRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The name of the rule that you want to enable.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>EnableRule</a> operation.</p>"
},
"ErrorCode":{"type":"string"},
"ErrorMessage":{"type":"string"},
"EventId":{"type":"string"},
"EventPattern":{
"type":"string",
"max":2048
},
"EventResource":{"type":"string"},
"EventResourceList":{
"type":"list",
"member":{"shape":"EventResource"}
},
"EventTime":{"type":"timestamp"},
"Integer":{"type":"integer"},
"InternalException":{
"type":"structure",
"members":{
},
"exception":true,
"fault":true,
"documentation":"<p>This exception occurs due to unexpected causes.</p>"
},
"InvalidEventPatternException":{
"type":"structure",
"members":{
},
"exception":true,
"documentation":"<p>The event pattern is invalid.</p>"
},
"LimitExceededException":{
"type":"structure",
"members":{
},
"exception":true,
"documentation":"<p>This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.</p>"
},
"LimitMax100":{
"type":"integer",
"min":1,
"max":100
},
"ListRuleNamesByTargetRequest":{
"type":"structure",
"required":["TargetArn"],
"members":{
"TargetArn":{
"shape":"TargetArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
},
"Limit":{
"shape":"LimitMax100",
"documentation":"<p>The maximum number of results to return.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>ListRuleNamesByTarget</a> operation.</p>"
},
"ListRuleNamesByTargetResponse":{
"type":"structure",
"members":{
"RuleNames":{
"shape":"RuleNameList",
"documentation":"<p>List of rules names that can invoke the given target.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>Indicates that there are additional results to retrieve.</p>"
}
},
"documentation":"<p>The result of the <a>ListRuleNamesByTarget</a> operation.</p>"
},
"ListRulesRequest":{
"type":"structure",
"members":{
"NamePrefix":{
"shape":"RuleName",
"documentation":"<p>The prefix matching the rule name.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
},
"Limit":{
"shape":"LimitMax100",
"documentation":"<p>The maximum number of results to return.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>ListRules</a> operation.</p>"
},
"ListRulesResponse":{
"type":"structure",
"members":{
"Rules":{
"shape":"RuleResponseList",
"documentation":"<p>List of rules matching the specified criteria.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>Indicates that there are additional results to retrieve.</p>"
}
},
"documentation":"<p>The result of the <a>ListRules</a> operation.</p>"
},
"ListTargetsByRuleRequest":{
"type":"structure",
"required":["Rule"],
"members":{
"Rule":{
"shape":"RuleName",
"documentation":"<p>The name of the rule whose targets you want to list.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
},
"Limit":{
"shape":"LimitMax100",
"documentation":"<p>The maximum number of results to return.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>ListTargetsByRule</a> operation.</p>"
},
"ListTargetsByRuleResponse":{
"type":"structure",
"members":{
"Targets":{
"shape":"TargetList",
"documentation":"<p>Lists the targets assigned to the rule.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>Indicates that there are additional results to retrieve.</p>"
}
},
"documentation":"<p>The result of the <a>ListTargetsByRule</a> operation.</p>"
},
"NextToken":{
"type":"string",
"min":1,
"max":2048
},
"PutEventsRequest":{
"type":"structure",
"required":["Entries"],
"members":{
"Entries":{
"shape":"PutEventsRequestEntryList",
"documentation":"<p>The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>PutEvents</a> operation.</p>"
},
"PutEventsRequestEntry":{
"type":"structure",
"members":{
"Time":{
"shape":"EventTime",
"documentation":"<p>Timestamp of event, per <a href=\"https://www.rfc-editor.org/rfc/rfc3339.txt\">RFC3339</a>. If no timestamp is provided, the timestamp of the <a>PutEvents</a> call will be used.</p>"
},
"Source":{
"shape":"String",
"documentation":"<p>The source of the event.</p>"
},
"Resources":{
"shape":"EventResourceList",
"documentation":"<p>AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.</p>"
},
"DetailType":{
"shape":"String",
"documentation":"<p>Free-form string used to decide what fields to expect in the event detail.</p>"
},
"Detail":{
"shape":"String",
"documentation":"<p>In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.</p>"
}
},
"documentation":"<p>Contains information about the event to be used in PutEvents.</p>"
},
"PutEventsRequestEntryList":{
"type":"list",
"member":{"shape":"PutEventsRequestEntry"},
"min":1,
"max":10
},
"PutEventsResponse":{
"type":"structure",
"members":{
"FailedEntryCount":{
"shape":"Integer",
"documentation":"<p>The number of failed entries.</p>"
},
"Entries":{
"shape":"PutEventsResultEntryList",
"documentation":"<p>A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.</p>"
}
},
"documentation":"<p>The result of the <a>PutEvents</a> operation.</p>"
},
"PutEventsResultEntry":{
"type":"structure",
"members":{
"EventId":{
"shape":"EventId",
"documentation":"<p>The ID of the event submitted to Amazon CloudWatch Events.</p>"
},
"ErrorCode":{
"shape":"ErrorCode",
"documentation":"<p>The error code representing why the event submission failed on this entry.</p>"
},
"ErrorMessage":{
"shape":"ErrorMessage",
"documentation":"<p>The error message explaining why the event submission failed on this entry.</p>"
}
},
"documentation":"<p>A PutEventsResult contains a list of PutEventsResultEntry.</p>"
},
"PutEventsResultEntryList":{
"type":"list",
"member":{"shape":"PutEventsResultEntry"}
},
"PutRuleRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The name of the rule that you are creating or updating.</p>"
},
"ScheduleExpression":{
"shape":"ScheduleExpression",
"documentation":"<p>The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".</p>"
},
"EventPattern":{
"shape":"EventPattern",
"documentation":"<p>The event pattern.</p>"
},
"State":{
"shape":"RuleState",
"documentation":"<p>Indicates whether the rule is enabled or disabled.</p>"
},
"Description":{
"shape":"RuleDescription",
"documentation":"<p>A description of the rule.</p>"
},
"RoleArn":{
"shape":"RoleArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>PutRule</a> operation.</p>"
},
"PutRuleResponse":{
"type":"structure",
"members":{
"RuleArn":{
"shape":"RuleArn",
"documentation":"<p>The Amazon Resource Name (ARN) that identifies the rule.</p>"
}
},
"documentation":"<p>The result of the <a>PutRule</a> operation.</p>"
},
"PutTargetsRequest":{
"type":"structure",
"required":[
"Rule",
"Targets"
],
"members":{
"Rule":{
"shape":"RuleName",
"documentation":"<p>The name of the rule you want to add targets to.</p>"
},
"Targets":{
"shape":"TargetList",
"documentation":"<p>List of targets you want to update or add to the rule.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>PutTargets</a> operation.</p>"
},
"PutTargetsResponse":{
"type":"structure",
"members":{
"FailedEntryCount":{
"shape":"Integer",
"documentation":"<p>The number of failed entries.</p>"
},
"FailedEntries":{
"shape":"PutTargetsResultEntryList",
"documentation":"<p>An array of failed target entries.</p>"
}
},
"documentation":"<p>The result of the <a>PutTargets</a> operation.</p>"
},
"PutTargetsResultEntry":{
"type":"structure",
"members":{
"TargetId":{
"shape":"TargetId",
"documentation":"<p>The ID of the target submitted to Amazon CloudWatch Events.</p>"
},
"ErrorCode":{
"shape":"ErrorCode",
"documentation":"<p>The error code representing why the target submission failed on this entry.</p>"
},
"ErrorMessage":{
"shape":"ErrorMessage",
"documentation":"<p>The error message explaining why the target submission failed on this entry.</p>"
}
},
"documentation":"<p>A PutTargetsResult contains a list of PutTargetsResultEntry.</p>"
},
"PutTargetsResultEntryList":{
"type":"list",
"member":{"shape":"PutTargetsResultEntry"}
},
"RemoveTargetsRequest":{
"type":"structure",
"required":[
"Rule",
"Ids"
],
"members":{
"Rule":{
"shape":"RuleName",
"documentation":"<p>The name of the rule you want to remove targets from.</p>"
},
"Ids":{
"shape":"TargetIdList",
"documentation":"<p>The list of target IDs to remove from the rule.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>RemoveTargets</a> operation.</p>"
},
"RemoveTargetsResponse":{
"type":"structure",
"members":{
"FailedEntryCount":{
"shape":"Integer",
"documentation":"<p>The number of failed entries.</p>"
},
"FailedEntries":{
"shape":"RemoveTargetsResultEntryList",
"documentation":"<p>An array of failed target entries.</p>"
}
},
"documentation":"<p>The result of the <a>RemoveTargets</a> operation.</p>"
},
"RemoveTargetsResultEntry":{
"type":"structure",
"members":{
"TargetId":{
"shape":"TargetId",
"documentation":"<p>The ID of the target requested to be removed by Amazon CloudWatch Events.</p>"
},
"ErrorCode":{
"shape":"ErrorCode",
"documentation":"<p>The error code representing why the target removal failed on this entry.</p>"
},
"ErrorMessage":{
"shape":"ErrorMessage",
"documentation":"<p>The error message explaining why the target removal failed on this entry.</p>"
}
},
"documentation":"<p>The ID of the target requested to be removed from the rule by Amazon CloudWatch Events.</p>"
},
"RemoveTargetsResultEntryList":{
"type":"list",
"member":{"shape":"RemoveTargetsResultEntry"}
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
},
"exception":true,
"documentation":"<p>The rule does not exist.</p>"
},
"RoleArn":{
"type":"string",
"min":1,
"max":1600
},
"Rule":{
"type":"structure",
"members":{
"Name":{
"shape":"RuleName",
"documentation":"<p>The rule's name.</p>"
},
"Arn":{
"shape":"RuleArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the rule.</p>"
},
"EventPattern":{
"shape":"EventPattern",
"documentation":"<p>The event pattern of the rule.</p>"
},
"State":{
"shape":"RuleState",
"documentation":"<p>The rule's state.</p>"
},
"Description":{
"shape":"RuleDescription",
"documentation":"<p>The description of the rule.</p>"
},
"ScheduleExpression":{
"shape":"ScheduleExpression",
"documentation":"<p>The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".</p>"
},
"RoleArn":{
"shape":"RoleArn",
"documentation":"<p>The Amazon Resource Name (ARN) associated with the role that is used for target invocation.</p>"
}
},
"documentation":"<p>Contains information about a rule in Amazon CloudWatch Events. A ListRulesResult contains a list of Rules.</p>"
},
"RuleArn":{
"type":"string",
"min":1,
"max":1600
},
"RuleDescription":{
"type":"string",
"max":512
},
"RuleName":{
"type":"string",
"min":1,
"max":64,
"pattern":"[\\.\\-_A-Za-z0-9]+"
},
"RuleNameList":{
"type":"list",
"member":{"shape":"RuleName"}
},
"RuleResponseList":{
"type":"list",
"member":{"shape":"Rule"}
},
"RuleState":{
"type":"string",
"enum":[
"ENABLED",
"DISABLED"
]
},
"ScheduleExpression":{
"type":"string",
"max":256
},
"String":{"type":"string"},
"Target":{
"type":"structure",
"required":[
"Id",
"Arn"
],
"members":{
"Id":{
"shape":"TargetId",
"documentation":"<p>The unique target assignment ID.</p>"
},
"Arn":{
"shape":"TargetArn",
"documentation":"<p>The Amazon Resource Name (ARN) associated of the target.</p>"
},
"Input":{
"shape":"TargetInput",
"documentation":"<p>Valid JSON text passed to the target. For more information about JSON text, see <a href=\"http://www.rfc-editor.org/rfc/rfc7159.txt\">The JavaScript Object Notation (JSON) Data Interchange Format</a>.</p>"
},
"InputPath":{
"shape":"TargetInputPath",
"documentation":"<p>The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. For more information about JSON paths, see <a href=\"http://goessner.net/articles/JsonPath/\">JSONPath</a>.</p>"
}
},
"documentation":"<p>Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.</p> <p><b>Input</b> and <b>InputPath</b> are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:</p> <ul> <li>Neither <b>Input</b> nor <b>InputPath</b> is specified, then the entire event is passed to the target in JSON form.</li> <li> <b>InputPath</b> is specified in the form of JSONPath (e.g. <b>$.detail</b>), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed). </li> <li> <b>Input</b> is specified in the form of a valid JSON, then the matched event is overridden with this constant.</li> </ul>"
},
"TargetArn":{
"type":"string",
"min":1,
"max":1600
},
"TargetId":{
"type":"string",
"min":1,
"max":64,
"pattern":"[\\.\\-_A-Za-z0-9]+"
},
"TargetIdList":{
"type":"list",
"member":{"shape":"TargetId"},
"min":1,
"max":100
},
"TargetInput":{
"type":"string",
"max":8192
},
"TargetInputPath":{
"type":"string",
"max":256
},
"TargetList":{
"type":"list",
"member":{"shape":"Target"}
},
"TestEventPatternRequest":{
"type":"structure",
"required":[
"EventPattern",
"Event"
],
"members":{
"EventPattern":{
"shape":"EventPattern",
"documentation":"<p>The event pattern you want to test.</p>"
},
"Event":{
"shape":"String",
"documentation":"<p>The event in the JSON format to test against the event pattern.</p>"
}
},
"documentation":"<p>Container for the parameters to the <a>TestEventPattern</a> operation.</p>"
},
"TestEventPatternResponse":{
"type":"structure",
"members":{
"Result":{
"shape":"Boolean",
"documentation":"<p>Indicates whether the event matches the event pattern.</p>"
}
},
"documentation":"<p>The result of the <a>TestEventPattern</a> operation.</p>"
}
},
"examples":{
}
}