1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2015-10-07",
5    "endpointPrefix":"events",
6    "jsonVersion":"1.1",
7    "protocol":"json",
8    "serviceFullName":"Amazon CloudWatch Events",
9    "serviceId":"CloudWatch Events",
10    "signatureVersion":"v4",
11    "targetPrefix":"AWSEvents",
12    "uid":"events-2015-10-07"
13  },
14  "operations":{
15    "ActivateEventSource":{
16      "name":"ActivateEventSource",
17      "http":{
18        "method":"POST",
19        "requestUri":"/"
20      },
21      "input":{"shape":"ActivateEventSourceRequest"},
22      "errors":[
23        {"shape":"ResourceNotFoundException"},
24        {"shape":"ConcurrentModificationException"},
25        {"shape":"InvalidStateException"},
26        {"shape":"InternalException"},
27        {"shape":"OperationDisabledException"}
28      ]
29    },
30    "CreateEventBus":{
31      "name":"CreateEventBus",
32      "http":{
33        "method":"POST",
34        "requestUri":"/"
35      },
36      "input":{"shape":"CreateEventBusRequest"},
37      "output":{"shape":"CreateEventBusResponse"},
38      "errors":[
39        {"shape":"ResourceAlreadyExistsException"},
40        {"shape":"ResourceNotFoundException"},
41        {"shape":"InvalidStateException"},
42        {"shape":"InternalException"},
43        {"shape":"ConcurrentModificationException"},
44        {"shape":"LimitExceededException"},
45        {"shape":"OperationDisabledException"}
46      ]
47    },
48    "CreatePartnerEventSource":{
49      "name":"CreatePartnerEventSource",
50      "http":{
51        "method":"POST",
52        "requestUri":"/"
53      },
54      "input":{"shape":"CreatePartnerEventSourceRequest"},
55      "output":{"shape":"CreatePartnerEventSourceResponse"},
56      "errors":[
57        {"shape":"ResourceAlreadyExistsException"},
58        {"shape":"InternalException"},
59        {"shape":"ConcurrentModificationException"},
60        {"shape":"LimitExceededException"},
61        {"shape":"OperationDisabledException"}
62      ]
63    },
64    "DeactivateEventSource":{
65      "name":"DeactivateEventSource",
66      "http":{
67        "method":"POST",
68        "requestUri":"/"
69      },
70      "input":{"shape":"DeactivateEventSourceRequest"},
71      "errors":[
72        {"shape":"ResourceNotFoundException"},
73        {"shape":"ConcurrentModificationException"},
74        {"shape":"InvalidStateException"},
75        {"shape":"InternalException"},
76        {"shape":"OperationDisabledException"}
77      ]
78    },
79    "DeleteEventBus":{
80      "name":"DeleteEventBus",
81      "http":{
82        "method":"POST",
83        "requestUri":"/"
84      },
85      "input":{"shape":"DeleteEventBusRequest"},
86      "errors":[
87        {"shape":"InternalException"},
88        {"shape":"ConcurrentModificationException"}
89      ]
90    },
91    "DeletePartnerEventSource":{
92      "name":"DeletePartnerEventSource",
93      "http":{
94        "method":"POST",
95        "requestUri":"/"
96      },
97      "input":{"shape":"DeletePartnerEventSourceRequest"},
98      "errors":[
99        {"shape":"InternalException"},
100        {"shape":"ConcurrentModificationException"},
101        {"shape":"OperationDisabledException"}
102      ]
103    },
104    "DeleteRule":{
105      "name":"DeleteRule",
106      "http":{
107        "method":"POST",
108        "requestUri":"/"
109      },
110      "input":{"shape":"DeleteRuleRequest"},
111      "errors":[
112        {"shape":"ConcurrentModificationException"},
113        {"shape":"ManagedRuleException"},
114        {"shape":"InternalException"},
115        {"shape":"ResourceNotFoundException"}
116      ]
117    },
118    "DescribeEventBus":{
119      "name":"DescribeEventBus",
120      "http":{
121        "method":"POST",
122        "requestUri":"/"
123      },
124      "input":{"shape":"DescribeEventBusRequest"},
125      "output":{"shape":"DescribeEventBusResponse"},
126      "errors":[
127        {"shape":"ResourceNotFoundException"},
128        {"shape":"InternalException"}
129      ]
130    },
131    "DescribeEventSource":{
132      "name":"DescribeEventSource",
133      "http":{
134        "method":"POST",
135        "requestUri":"/"
136      },
137      "input":{"shape":"DescribeEventSourceRequest"},
138      "output":{"shape":"DescribeEventSourceResponse"},
139      "errors":[
140        {"shape":"ResourceNotFoundException"},
141        {"shape":"InternalException"},
142        {"shape":"OperationDisabledException"}
143      ]
144    },
145    "DescribePartnerEventSource":{
146      "name":"DescribePartnerEventSource",
147      "http":{
148        "method":"POST",
149        "requestUri":"/"
150      },
151      "input":{"shape":"DescribePartnerEventSourceRequest"},
152      "output":{"shape":"DescribePartnerEventSourceResponse"},
153      "errors":[
154        {"shape":"ResourceNotFoundException"},
155        {"shape":"InternalException"},
156        {"shape":"OperationDisabledException"}
157      ]
158    },
159    "DescribeRule":{
160      "name":"DescribeRule",
161      "http":{
162        "method":"POST",
163        "requestUri":"/"
164      },
165      "input":{"shape":"DescribeRuleRequest"},
166      "output":{"shape":"DescribeRuleResponse"},
167      "errors":[
168        {"shape":"ResourceNotFoundException"},
169        {"shape":"InternalException"}
170      ]
171    },
172    "DisableRule":{
173      "name":"DisableRule",
174      "http":{
175        "method":"POST",
176        "requestUri":"/"
177      },
178      "input":{"shape":"DisableRuleRequest"},
179      "errors":[
180        {"shape":"ResourceNotFoundException"},
181        {"shape":"ConcurrentModificationException"},
182        {"shape":"ManagedRuleException"},
183        {"shape":"InternalException"}
184      ]
185    },
186    "EnableRule":{
187      "name":"EnableRule",
188      "http":{
189        "method":"POST",
190        "requestUri":"/"
191      },
192      "input":{"shape":"EnableRuleRequest"},
193      "errors":[
194        {"shape":"ResourceNotFoundException"},
195        {"shape":"ConcurrentModificationException"},
196        {"shape":"ManagedRuleException"},
197        {"shape":"InternalException"}
198      ]
199    },
200    "ListEventBuses":{
201      "name":"ListEventBuses",
202      "http":{
203        "method":"POST",
204        "requestUri":"/"
205      },
206      "input":{"shape":"ListEventBusesRequest"},
207      "output":{"shape":"ListEventBusesResponse"},
208      "errors":[
209        {"shape":"InternalException"}
210      ]
211    },
212    "ListEventSources":{
213      "name":"ListEventSources",
214      "http":{
215        "method":"POST",
216        "requestUri":"/"
217      },
218      "input":{"shape":"ListEventSourcesRequest"},
219      "output":{"shape":"ListEventSourcesResponse"},
220      "errors":[
221        {"shape":"InternalException"},
222        {"shape":"OperationDisabledException"}
223      ]
224    },
225    "ListPartnerEventSourceAccounts":{
226      "name":"ListPartnerEventSourceAccounts",
227      "http":{
228        "method":"POST",
229        "requestUri":"/"
230      },
231      "input":{"shape":"ListPartnerEventSourceAccountsRequest"},
232      "output":{"shape":"ListPartnerEventSourceAccountsResponse"},
233      "errors":[
234        {"shape":"ResourceNotFoundException"},
235        {"shape":"InternalException"},
236        {"shape":"OperationDisabledException"}
237      ]
238    },
239    "ListPartnerEventSources":{
240      "name":"ListPartnerEventSources",
241      "http":{
242        "method":"POST",
243        "requestUri":"/"
244      },
245      "input":{"shape":"ListPartnerEventSourcesRequest"},
246      "output":{"shape":"ListPartnerEventSourcesResponse"},
247      "errors":[
248        {"shape":"InternalException"},
249        {"shape":"OperationDisabledException"}
250      ]
251    },
252    "ListRuleNamesByTarget":{
253      "name":"ListRuleNamesByTarget",
254      "http":{
255        "method":"POST",
256        "requestUri":"/"
257      },
258      "input":{"shape":"ListRuleNamesByTargetRequest"},
259      "output":{"shape":"ListRuleNamesByTargetResponse"},
260      "errors":[
261        {"shape":"InternalException"},
262        {"shape":"ResourceNotFoundException"}
263      ]
264    },
265    "ListRules":{
266      "name":"ListRules",
267      "http":{
268        "method":"POST",
269        "requestUri":"/"
270      },
271      "input":{"shape":"ListRulesRequest"},
272      "output":{"shape":"ListRulesResponse"},
273      "errors":[
274        {"shape":"InternalException"},
275        {"shape":"ResourceNotFoundException"}
276      ]
277    },
278    "ListTagsForResource":{
279      "name":"ListTagsForResource",
280      "http":{
281        "method":"POST",
282        "requestUri":"/"
283      },
284      "input":{"shape":"ListTagsForResourceRequest"},
285      "output":{"shape":"ListTagsForResourceResponse"},
286      "errors":[
287        {"shape":"ResourceNotFoundException"},
288        {"shape":"InternalException"}
289      ]
290    },
291    "ListTargetsByRule":{
292      "name":"ListTargetsByRule",
293      "http":{
294        "method":"POST",
295        "requestUri":"/"
296      },
297      "input":{"shape":"ListTargetsByRuleRequest"},
298      "output":{"shape":"ListTargetsByRuleResponse"},
299      "errors":[
300        {"shape":"ResourceNotFoundException"},
301        {"shape":"InternalException"}
302      ]
303    },
304    "PutEvents":{
305      "name":"PutEvents",
306      "http":{
307        "method":"POST",
308        "requestUri":"/"
309      },
310      "input":{"shape":"PutEventsRequest"},
311      "output":{"shape":"PutEventsResponse"},
312      "errors":[
313        {"shape":"InternalException"}
314      ]
315    },
316    "PutPartnerEvents":{
317      "name":"PutPartnerEvents",
318      "http":{
319        "method":"POST",
320        "requestUri":"/"
321      },
322      "input":{"shape":"PutPartnerEventsRequest"},
323      "output":{"shape":"PutPartnerEventsResponse"},
324      "errors":[
325        {"shape":"InternalException"},
326        {"shape":"OperationDisabledException"}
327      ]
328    },
329    "PutPermission":{
330      "name":"PutPermission",
331      "http":{
332        "method":"POST",
333        "requestUri":"/"
334      },
335      "input":{"shape":"PutPermissionRequest"},
336      "errors":[
337        {"shape":"ResourceNotFoundException"},
338        {"shape":"PolicyLengthExceededException"},
339        {"shape":"InternalException"},
340        {"shape":"ConcurrentModificationException"}
341      ]
342    },
343    "PutRule":{
344      "name":"PutRule",
345      "http":{
346        "method":"POST",
347        "requestUri":"/"
348      },
349      "input":{"shape":"PutRuleRequest"},
350      "output":{"shape":"PutRuleResponse"},
351      "errors":[
352        {"shape":"InvalidEventPatternException"},
353        {"shape":"LimitExceededException"},
354        {"shape":"ConcurrentModificationException"},
355        {"shape":"ManagedRuleException"},
356        {"shape":"InternalException"},
357        {"shape":"ResourceNotFoundException"}
358      ]
359    },
360    "PutTargets":{
361      "name":"PutTargets",
362      "http":{
363        "method":"POST",
364        "requestUri":"/"
365      },
366      "input":{"shape":"PutTargetsRequest"},
367      "output":{"shape":"PutTargetsResponse"},
368      "errors":[
369        {"shape":"ResourceNotFoundException"},
370        {"shape":"ConcurrentModificationException"},
371        {"shape":"LimitExceededException"},
372        {"shape":"ManagedRuleException"},
373        {"shape":"InternalException"}
374      ]
375    },
376    "RemovePermission":{
377      "name":"RemovePermission",
378      "http":{
379        "method":"POST",
380        "requestUri":"/"
381      },
382      "input":{"shape":"RemovePermissionRequest"},
383      "errors":[
384        {"shape":"ResourceNotFoundException"},
385        {"shape":"InternalException"},
386        {"shape":"ConcurrentModificationException"}
387      ]
388    },
389    "RemoveTargets":{
390      "name":"RemoveTargets",
391      "http":{
392        "method":"POST",
393        "requestUri":"/"
394      },
395      "input":{"shape":"RemoveTargetsRequest"},
396      "output":{"shape":"RemoveTargetsResponse"},
397      "errors":[
398        {"shape":"ResourceNotFoundException"},
399        {"shape":"ConcurrentModificationException"},
400        {"shape":"ManagedRuleException"},
401        {"shape":"InternalException"}
402      ]
403    },
404    "TagResource":{
405      "name":"TagResource",
406      "http":{
407        "method":"POST",
408        "requestUri":"/"
409      },
410      "input":{"shape":"TagResourceRequest"},
411      "output":{"shape":"TagResourceResponse"},
412      "errors":[
413        {"shape":"ResourceNotFoundException"},
414        {"shape":"ConcurrentModificationException"},
415        {"shape":"InternalException"},
416        {"shape":"ManagedRuleException"}
417      ]
418    },
419    "TestEventPattern":{
420      "name":"TestEventPattern",
421      "http":{
422        "method":"POST",
423        "requestUri":"/"
424      },
425      "input":{"shape":"TestEventPatternRequest"},
426      "output":{"shape":"TestEventPatternResponse"},
427      "errors":[
428        {"shape":"InvalidEventPatternException"},
429        {"shape":"InternalException"}
430      ]
431    },
432    "UntagResource":{
433      "name":"UntagResource",
434      "http":{
435        "method":"POST",
436        "requestUri":"/"
437      },
438      "input":{"shape":"UntagResourceRequest"},
439      "output":{"shape":"UntagResourceResponse"},
440      "errors":[
441        {"shape":"ResourceNotFoundException"},
442        {"shape":"InternalException"},
443        {"shape":"ConcurrentModificationException"},
444        {"shape":"ManagedRuleException"}
445      ]
446    }
447  },
448  "shapes":{
449    "AccountId":{
450      "type":"string",
451      "max":12,
452      "min":12,
453      "pattern":"\\d{12}"
454    },
455    "Action":{
456      "type":"string",
457      "max":64,
458      "min":1,
459      "pattern":"events:[a-zA-Z]+"
460    },
461    "ActivateEventSourceRequest":{
462      "type":"structure",
463      "required":["Name"],
464      "members":{
465        "Name":{"shape":"EventSourceName"}
466      }
467    },
468    "Arn":{
469      "type":"string",
470      "max":1600,
471      "min":1
472    },
473    "AssignPublicIp":{
474      "type":"string",
475      "enum":[
476        "ENABLED",
477        "DISABLED"
478      ]
479    },
480    "AwsVpcConfiguration":{
481      "type":"structure",
482      "required":["Subnets"],
483      "members":{
484        "Subnets":{"shape":"StringList"},
485        "SecurityGroups":{"shape":"StringList"},
486        "AssignPublicIp":{"shape":"AssignPublicIp"}
487      }
488    },
489    "BatchArrayProperties":{
490      "type":"structure",
491      "members":{
492        "Size":{"shape":"Integer"}
493      }
494    },
495    "BatchParameters":{
496      "type":"structure",
497      "required":[
498        "JobDefinition",
499        "JobName"
500      ],
501      "members":{
502        "JobDefinition":{"shape":"String"},
503        "JobName":{"shape":"String"},
504        "ArrayProperties":{"shape":"BatchArrayProperties"},
505        "RetryStrategy":{"shape":"BatchRetryStrategy"}
506      }
507    },
508    "BatchRetryStrategy":{
509      "type":"structure",
510      "members":{
511        "Attempts":{"shape":"Integer"}
512      }
513    },
514    "Boolean":{"type":"boolean"},
515    "ConcurrentModificationException":{
516      "type":"structure",
517      "members":{
518      },
519      "exception":true
520    },
521    "Condition":{
522      "type":"structure",
523      "required":[
524        "Type",
525        "Key",
526        "Value"
527      ],
528      "members":{
529        "Type":{"shape":"String"},
530        "Key":{"shape":"String"},
531        "Value":{"shape":"String"}
532      }
533    },
534    "CreateEventBusRequest":{
535      "type":"structure",
536      "required":["Name"],
537      "members":{
538        "Name":{"shape":"EventBusName"},
539        "EventSourceName":{"shape":"EventSourceName"},
540        "Tags":{"shape":"TagList"}
541      }
542    },
543    "CreateEventBusResponse":{
544      "type":"structure",
545      "members":{
546        "EventBusArn":{"shape":"String"}
547      }
548    },
549    "CreatePartnerEventSourceRequest":{
550      "type":"structure",
551      "required":[
552        "Name",
553        "Account"
554      ],
555      "members":{
556        "Name":{"shape":"EventSourceName"},
557        "Account":{"shape":"AccountId"}
558      }
559    },
560    "CreatePartnerEventSourceResponse":{
561      "type":"structure",
562      "members":{
563        "EventSourceArn":{"shape":"String"}
564      }
565    },
566    "Database":{
567      "type":"string",
568      "max":64,
569      "min":1,
570      "pattern":"([a-zA-Z0-9]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)"
571    },
572    "DbUser":{
573      "type":"string",
574      "max":128,
575      "min":1,
576      "pattern":"([a-zA-Z0-9]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)"
577    },
578    "DeactivateEventSourceRequest":{
579      "type":"structure",
580      "required":["Name"],
581      "members":{
582        "Name":{"shape":"EventSourceName"}
583      }
584    },
585    "DeadLetterConfig":{
586      "type":"structure",
587      "members":{
588        "Arn":{"shape":"ResourceArn"}
589      }
590    },
591    "DeleteEventBusRequest":{
592      "type":"structure",
593      "required":["Name"],
594      "members":{
595        "Name":{"shape":"EventBusName"}
596      }
597    },
598    "DeletePartnerEventSourceRequest":{
599      "type":"structure",
600      "required":[
601        "Name",
602        "Account"
603      ],
604      "members":{
605        "Name":{"shape":"EventSourceName"},
606        "Account":{"shape":"AccountId"}
607      }
608    },
609    "DeleteRuleRequest":{
610      "type":"structure",
611      "required":["Name"],
612      "members":{
613        "Name":{"shape":"RuleName"},
614        "EventBusName":{"shape":"EventBusName"},
615        "Force":{"shape":"Boolean"}
616      }
617    },
618    "DescribeEventBusRequest":{
619      "type":"structure",
620      "members":{
621        "Name":{"shape":"EventBusName"}
622      }
623    },
624    "DescribeEventBusResponse":{
625      "type":"structure",
626      "members":{
627        "Name":{"shape":"String"},
628        "Arn":{"shape":"String"},
629        "Policy":{"shape":"String"}
630      }
631    },
632    "DescribeEventSourceRequest":{
633      "type":"structure",
634      "required":["Name"],
635      "members":{
636        "Name":{"shape":"EventSourceName"}
637      }
638    },
639    "DescribeEventSourceResponse":{
640      "type":"structure",
641      "members":{
642        "Arn":{"shape":"String"},
643        "CreatedBy":{"shape":"String"},
644        "CreationTime":{"shape":"Timestamp"},
645        "ExpirationTime":{"shape":"Timestamp"},
646        "Name":{"shape":"String"},
647        "State":{"shape":"EventSourceState"}
648      }
649    },
650    "DescribePartnerEventSourceRequest":{
651      "type":"structure",
652      "required":["Name"],
653      "members":{
654        "Name":{"shape":"EventSourceName"}
655      }
656    },
657    "DescribePartnerEventSourceResponse":{
658      "type":"structure",
659      "members":{
660        "Arn":{"shape":"String"},
661        "Name":{"shape":"String"}
662      }
663    },
664    "DescribeRuleRequest":{
665      "type":"structure",
666      "required":["Name"],
667      "members":{
668        "Name":{"shape":"RuleName"},
669        "EventBusName":{"shape":"EventBusName"}
670      }
671    },
672    "DescribeRuleResponse":{
673      "type":"structure",
674      "members":{
675        "Name":{"shape":"RuleName"},
676        "Arn":{"shape":"RuleArn"},
677        "EventPattern":{"shape":"EventPattern"},
678        "ScheduleExpression":{"shape":"ScheduleExpression"},
679        "State":{"shape":"RuleState"},
680        "Description":{"shape":"RuleDescription"},
681        "RoleArn":{"shape":"RoleArn"},
682        "ManagedBy":{"shape":"ManagedBy"},
683        "EventBusName":{"shape":"EventBusName"}
684      }
685    },
686    "DisableRuleRequest":{
687      "type":"structure",
688      "required":["Name"],
689      "members":{
690        "Name":{"shape":"RuleName"},
691        "EventBusName":{"shape":"EventBusName"}
692      }
693    },
694    "EcsParameters":{
695      "type":"structure",
696      "required":["TaskDefinitionArn"],
697      "members":{
698        "TaskDefinitionArn":{"shape":"Arn"},
699        "TaskCount":{"shape":"LimitMin1"},
700        "LaunchType":{"shape":"LaunchType"},
701        "NetworkConfiguration":{"shape":"NetworkConfiguration"},
702        "PlatformVersion":{"shape":"String"},
703        "Group":{"shape":"String"}
704      }
705    },
706    "EnableRuleRequest":{
707      "type":"structure",
708      "required":["Name"],
709      "members":{
710        "Name":{"shape":"RuleName"},
711        "EventBusName":{"shape":"EventBusName"}
712      }
713    },
714    "ErrorCode":{"type":"string"},
715    "ErrorMessage":{"type":"string"},
716    "EventBus":{
717      "type":"structure",
718      "members":{
719        "Name":{"shape":"String"},
720        "Arn":{"shape":"String"},
721        "Policy":{"shape":"String"}
722      }
723    },
724    "EventBusList":{
725      "type":"list",
726      "member":{"shape":"EventBus"}
727    },
728    "EventBusName":{
729      "type":"string",
730      "max":256,
731      "min":1,
732      "pattern":"[/\\.\\-_A-Za-z0-9]+"
733    },
734    "EventId":{"type":"string"},
735    "EventPattern":{"type":"string"},
736    "EventResource":{"type":"string"},
737    "EventResourceList":{
738      "type":"list",
739      "member":{"shape":"EventResource"}
740    },
741    "EventSource":{
742      "type":"structure",
743      "members":{
744        "Arn":{"shape":"String"},
745        "CreatedBy":{"shape":"String"},
746        "CreationTime":{"shape":"Timestamp"},
747        "ExpirationTime":{"shape":"Timestamp"},
748        "Name":{"shape":"String"},
749        "State":{"shape":"EventSourceState"}
750      }
751    },
752    "EventSourceList":{
753      "type":"list",
754      "member":{"shape":"EventSource"}
755    },
756    "EventSourceName":{
757      "type":"string",
758      "max":256,
759      "min":1,
760      "pattern":"aws\\.partner(/[\\.\\-_A-Za-z0-9]+){2,}"
761    },
762    "EventSourceNamePrefix":{
763      "type":"string",
764      "max":256,
765      "min":1,
766      "pattern":"[/\\.\\-_A-Za-z0-9]+"
767    },
768    "EventSourceState":{
769      "type":"string",
770      "enum":[
771        "PENDING",
772        "ACTIVE",
773        "DELETED"
774      ]
775    },
776    "EventTime":{"type":"timestamp"},
777    "HeaderKey":{
778      "type":"string",
779      "max":512,
780      "pattern":"^[!#$%&'*+-.^_`|~0-9a-zA-Z]+$"
781    },
782    "HeaderParametersMap":{
783      "type":"map",
784      "key":{"shape":"HeaderKey"},
785      "value":{"shape":"HeaderValue"}
786    },
787    "HeaderValue":{
788      "type":"string",
789      "max":512,
790      "pattern":"^[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*$"
791    },
792    "HttpParameters":{
793      "type":"structure",
794      "members":{
795        "PathParameterValues":{"shape":"PathParameterList"},
796        "HeaderParameters":{"shape":"HeaderParametersMap"},
797        "QueryStringParameters":{"shape":"QueryStringParametersMap"}
798      }
799    },
800    "InputTransformer":{
801      "type":"structure",
802      "required":["InputTemplate"],
803      "members":{
804        "InputPathsMap":{"shape":"TransformerPaths"},
805        "InputTemplate":{"shape":"TransformerInput"}
806      }
807    },
808    "InputTransformerPathKey":{
809      "type":"string",
810      "max":256,
811      "min":1,
812      "pattern":"[A-Za-z0-9\\_\\-]+"
813    },
814    "Integer":{"type":"integer"},
815    "InternalException":{
816      "type":"structure",
817      "members":{
818      },
819      "exception":true,
820      "fault":true
821    },
822    "InvalidEventPatternException":{
823      "type":"structure",
824      "members":{
825      },
826      "exception":true
827    },
828    "InvalidStateException":{
829      "type":"structure",
830      "members":{
831      },
832      "exception":true
833    },
834    "KinesisParameters":{
835      "type":"structure",
836      "required":["PartitionKeyPath"],
837      "members":{
838        "PartitionKeyPath":{"shape":"TargetPartitionKeyPath"}
839      }
840    },
841    "LaunchType":{
842      "type":"string",
843      "enum":[
844        "EC2",
845        "FARGATE"
846      ]
847    },
848    "LimitExceededException":{
849      "type":"structure",
850      "members":{
851      },
852      "exception":true
853    },
854    "LimitMax100":{
855      "type":"integer",
856      "max":100,
857      "min":1
858    },
859    "LimitMin1":{
860      "type":"integer",
861      "min":1
862    },
863    "ListEventBusesRequest":{
864      "type":"structure",
865      "members":{
866        "NamePrefix":{"shape":"EventBusName"},
867        "NextToken":{"shape":"NextToken"},
868        "Limit":{"shape":"LimitMax100"}
869      }
870    },
871    "ListEventBusesResponse":{
872      "type":"structure",
873      "members":{
874        "EventBuses":{"shape":"EventBusList"},
875        "NextToken":{"shape":"NextToken"}
876      }
877    },
878    "ListEventSourcesRequest":{
879      "type":"structure",
880      "members":{
881        "NamePrefix":{"shape":"EventSourceNamePrefix"},
882        "NextToken":{"shape":"NextToken"},
883        "Limit":{"shape":"LimitMax100"}
884      }
885    },
886    "ListEventSourcesResponse":{
887      "type":"structure",
888      "members":{
889        "EventSources":{"shape":"EventSourceList"},
890        "NextToken":{"shape":"NextToken"}
891      }
892    },
893    "ListPartnerEventSourceAccountsRequest":{
894      "type":"structure",
895      "required":["EventSourceName"],
896      "members":{
897        "EventSourceName":{"shape":"EventSourceName"},
898        "NextToken":{"shape":"NextToken"},
899        "Limit":{"shape":"LimitMax100"}
900      }
901    },
902    "ListPartnerEventSourceAccountsResponse":{
903      "type":"structure",
904      "members":{
905        "PartnerEventSourceAccounts":{"shape":"PartnerEventSourceAccountList"},
906        "NextToken":{"shape":"NextToken"}
907      }
908    },
909    "ListPartnerEventSourcesRequest":{
910      "type":"structure",
911      "required":["NamePrefix"],
912      "members":{
913        "NamePrefix":{"shape":"PartnerEventSourceNamePrefix"},
914        "NextToken":{"shape":"NextToken"},
915        "Limit":{"shape":"LimitMax100"}
916      }
917    },
918    "ListPartnerEventSourcesResponse":{
919      "type":"structure",
920      "members":{
921        "PartnerEventSources":{"shape":"PartnerEventSourceList"},
922        "NextToken":{"shape":"NextToken"}
923      }
924    },
925    "ListRuleNamesByTargetRequest":{
926      "type":"structure",
927      "required":["TargetArn"],
928      "members":{
929        "TargetArn":{"shape":"TargetArn"},
930        "EventBusName":{"shape":"EventBusName"},
931        "NextToken":{"shape":"NextToken"},
932        "Limit":{"shape":"LimitMax100"}
933      }
934    },
935    "ListRuleNamesByTargetResponse":{
936      "type":"structure",
937      "members":{
938        "RuleNames":{"shape":"RuleNameList"},
939        "NextToken":{"shape":"NextToken"}
940      }
941    },
942    "ListRulesRequest":{
943      "type":"structure",
944      "members":{
945        "NamePrefix":{"shape":"RuleName"},
946        "EventBusName":{"shape":"EventBusName"},
947        "NextToken":{"shape":"NextToken"},
948        "Limit":{"shape":"LimitMax100"}
949      }
950    },
951    "ListRulesResponse":{
952      "type":"structure",
953      "members":{
954        "Rules":{"shape":"RuleResponseList"},
955        "NextToken":{"shape":"NextToken"}
956      }
957    },
958    "ListTagsForResourceRequest":{
959      "type":"structure",
960      "required":["ResourceARN"],
961      "members":{
962        "ResourceARN":{"shape":"Arn"}
963      }
964    },
965    "ListTagsForResourceResponse":{
966      "type":"structure",
967      "members":{
968        "Tags":{"shape":"TagList"}
969      }
970    },
971    "ListTargetsByRuleRequest":{
972      "type":"structure",
973      "required":["Rule"],
974      "members":{
975        "Rule":{"shape":"RuleName"},
976        "EventBusName":{"shape":"EventBusName"},
977        "NextToken":{"shape":"NextToken"},
978        "Limit":{"shape":"LimitMax100"}
979      }
980    },
981    "ListTargetsByRuleResponse":{
982      "type":"structure",
983      "members":{
984        "Targets":{"shape":"TargetList"},
985        "NextToken":{"shape":"NextToken"}
986      }
987    },
988    "ManagedBy":{
989      "type":"string",
990      "max":128,
991      "min":1
992    },
993    "ManagedRuleException":{
994      "type":"structure",
995      "members":{
996      },
997      "exception":true
998    },
999    "MaximumEventAgeInSeconds":{
1000      "type":"integer",
1001      "max":86400,
1002      "min":60
1003    },
1004    "MaximumRetryAttempts":{
1005      "type":"integer",
1006      "max":185,
1007      "min":0
1008    },
1009    "MessageGroupId":{"type":"string"},
1010    "NetworkConfiguration":{
1011      "type":"structure",
1012      "members":{
1013        "awsvpcConfiguration":{"shape":"AwsVpcConfiguration"}
1014      }
1015    },
1016    "NextToken":{
1017      "type":"string",
1018      "max":2048,
1019      "min":1
1020    },
1021    "NonPartnerEventBusName":{
1022      "type":"string",
1023      "max":256,
1024      "min":1,
1025      "pattern":"[\\.\\-_A-Za-z0-9]+"
1026    },
1027    "OperationDisabledException":{
1028      "type":"structure",
1029      "members":{
1030      },
1031      "exception":true
1032    },
1033    "PartnerEventSource":{
1034      "type":"structure",
1035      "members":{
1036        "Arn":{"shape":"String"},
1037        "Name":{"shape":"String"}
1038      }
1039    },
1040    "PartnerEventSourceAccount":{
1041      "type":"structure",
1042      "members":{
1043        "Account":{"shape":"AccountId"},
1044        "CreationTime":{"shape":"Timestamp"},
1045        "ExpirationTime":{"shape":"Timestamp"},
1046        "State":{"shape":"EventSourceState"}
1047      }
1048    },
1049    "PartnerEventSourceAccountList":{
1050      "type":"list",
1051      "member":{"shape":"PartnerEventSourceAccount"}
1052    },
1053    "PartnerEventSourceList":{
1054      "type":"list",
1055      "member":{"shape":"PartnerEventSource"}
1056    },
1057    "PartnerEventSourceNamePrefix":{
1058      "type":"string",
1059      "max":256,
1060      "min":1,
1061      "pattern":"aws\\.partner/[\\.\\-_A-Za-z0-9]+/[/\\.\\-_A-Za-z0-9]*"
1062    },
1063    "PathParameter":{
1064      "type":"string",
1065      "pattern":"^(?!\\s*$).+"
1066    },
1067    "PathParameterList":{
1068      "type":"list",
1069      "member":{"shape":"PathParameter"}
1070    },
1071    "PolicyLengthExceededException":{
1072      "type":"structure",
1073      "members":{
1074      },
1075      "exception":true
1076    },
1077    "Principal":{
1078      "type":"string",
1079      "max":12,
1080      "min":1,
1081      "pattern":"(\\d{12}|\\*)"
1082    },
1083    "PutEventsRequest":{
1084      "type":"structure",
1085      "required":["Entries"],
1086      "members":{
1087        "Entries":{"shape":"PutEventsRequestEntryList"}
1088      }
1089    },
1090    "PutEventsRequestEntry":{
1091      "type":"structure",
1092      "members":{
1093        "Time":{"shape":"EventTime"},
1094        "Source":{"shape":"String"},
1095        "Resources":{"shape":"EventResourceList"},
1096        "DetailType":{"shape":"String"},
1097        "Detail":{"shape":"String"},
1098        "EventBusName":{"shape":"NonPartnerEventBusName"}
1099      }
1100    },
1101    "PutEventsRequestEntryList":{
1102      "type":"list",
1103      "member":{"shape":"PutEventsRequestEntry"},
1104      "max":10,
1105      "min":1
1106    },
1107    "PutEventsResponse":{
1108      "type":"structure",
1109      "members":{
1110        "FailedEntryCount":{"shape":"Integer"},
1111        "Entries":{"shape":"PutEventsResultEntryList"}
1112      }
1113    },
1114    "PutEventsResultEntry":{
1115      "type":"structure",
1116      "members":{
1117        "EventId":{"shape":"EventId"},
1118        "ErrorCode":{"shape":"ErrorCode"},
1119        "ErrorMessage":{"shape":"ErrorMessage"}
1120      }
1121    },
1122    "PutEventsResultEntryList":{
1123      "type":"list",
1124      "member":{"shape":"PutEventsResultEntry"}
1125    },
1126    "PutPartnerEventsRequest":{
1127      "type":"structure",
1128      "required":["Entries"],
1129      "members":{
1130        "Entries":{"shape":"PutPartnerEventsRequestEntryList"}
1131      }
1132    },
1133    "PutPartnerEventsRequestEntry":{
1134      "type":"structure",
1135      "members":{
1136        "Time":{"shape":"EventTime"},
1137        "Source":{"shape":"EventSourceName"},
1138        "Resources":{"shape":"EventResourceList"},
1139        "DetailType":{"shape":"String"},
1140        "Detail":{"shape":"String"}
1141      }
1142    },
1143    "PutPartnerEventsRequestEntryList":{
1144      "type":"list",
1145      "member":{"shape":"PutPartnerEventsRequestEntry"},
1146      "max":20,
1147      "min":1
1148    },
1149    "PutPartnerEventsResponse":{
1150      "type":"structure",
1151      "members":{
1152        "FailedEntryCount":{"shape":"Integer"},
1153        "Entries":{"shape":"PutPartnerEventsResultEntryList"}
1154      }
1155    },
1156    "PutPartnerEventsResultEntry":{
1157      "type":"structure",
1158      "members":{
1159        "EventId":{"shape":"EventId"},
1160        "ErrorCode":{"shape":"ErrorCode"},
1161        "ErrorMessage":{"shape":"ErrorMessage"}
1162      }
1163    },
1164    "PutPartnerEventsResultEntryList":{
1165      "type":"list",
1166      "member":{"shape":"PutPartnerEventsResultEntry"}
1167    },
1168    "PutPermissionRequest":{
1169      "type":"structure",
1170      "required":[
1171        "Action",
1172        "Principal",
1173        "StatementId"
1174      ],
1175      "members":{
1176        "EventBusName":{"shape":"NonPartnerEventBusName"},
1177        "Action":{"shape":"Action"},
1178        "Principal":{"shape":"Principal"},
1179        "StatementId":{"shape":"StatementId"},
1180        "Condition":{"shape":"Condition"}
1181      }
1182    },
1183    "PutRuleRequest":{
1184      "type":"structure",
1185      "required":["Name"],
1186      "members":{
1187        "Name":{"shape":"RuleName"},
1188        "ScheduleExpression":{"shape":"ScheduleExpression"},
1189        "EventPattern":{"shape":"EventPattern"},
1190        "State":{"shape":"RuleState"},
1191        "Description":{"shape":"RuleDescription"},
1192        "RoleArn":{"shape":"RoleArn"},
1193        "Tags":{"shape":"TagList"},
1194        "EventBusName":{"shape":"EventBusName"}
1195      }
1196    },
1197    "PutRuleResponse":{
1198      "type":"structure",
1199      "members":{
1200        "RuleArn":{"shape":"RuleArn"}
1201      }
1202    },
1203    "PutTargetsRequest":{
1204      "type":"structure",
1205      "required":[
1206        "Rule",
1207        "Targets"
1208      ],
1209      "members":{
1210        "Rule":{"shape":"RuleName"},
1211        "EventBusName":{"shape":"EventBusName"},
1212        "Targets":{"shape":"TargetList"}
1213      }
1214    },
1215    "PutTargetsResponse":{
1216      "type":"structure",
1217      "members":{
1218        "FailedEntryCount":{"shape":"Integer"},
1219        "FailedEntries":{"shape":"PutTargetsResultEntryList"}
1220      }
1221    },
1222    "PutTargetsResultEntry":{
1223      "type":"structure",
1224      "members":{
1225        "TargetId":{"shape":"TargetId"},
1226        "ErrorCode":{"shape":"ErrorCode"},
1227        "ErrorMessage":{"shape":"ErrorMessage"}
1228      }
1229    },
1230    "PutTargetsResultEntryList":{
1231      "type":"list",
1232      "member":{"shape":"PutTargetsResultEntry"}
1233    },
1234    "QueryStringKey":{
1235      "type":"string",
1236      "max":512,
1237      "pattern":"[^\\x00-\\x1F\\x7F]+"
1238    },
1239    "QueryStringParametersMap":{
1240      "type":"map",
1241      "key":{"shape":"QueryStringKey"},
1242      "value":{"shape":"QueryStringValue"}
1243    },
1244    "QueryStringValue":{
1245      "type":"string",
1246      "max":512,
1247      "pattern":"[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]+"
1248    },
1249    "RedshiftDataParameters":{
1250      "type":"structure",
1251      "required":[
1252        "Database",
1253        "Sql"
1254      ],
1255      "members":{
1256        "SecretManagerArn":{"shape":"RedshiftSecretManagerArn"},
1257        "Database":{"shape":"Database"},
1258        "DbUser":{"shape":"DbUser"},
1259        "Sql":{"shape":"Sql"},
1260        "StatementName":{"shape":"StatementName"},
1261        "WithEvent":{"shape":"Boolean"}
1262      }
1263    },
1264    "RedshiftSecretManagerArn":{
1265      "type":"string",
1266      "max":1600,
1267      "min":1,
1268      "pattern":"(^arn:aws([a-z]|\\-)*:secretsmanager:[a-z0-9-.]+:.*)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)"
1269    },
1270    "RemovePermissionRequest":{
1271      "type":"structure",
1272      "required":["StatementId"],
1273      "members":{
1274        "StatementId":{"shape":"StatementId"},
1275        "EventBusName":{"shape":"NonPartnerEventBusName"}
1276      }
1277    },
1278    "RemoveTargetsRequest":{
1279      "type":"structure",
1280      "required":[
1281        "Rule",
1282        "Ids"
1283      ],
1284      "members":{
1285        "Rule":{"shape":"RuleName"},
1286        "EventBusName":{"shape":"EventBusName"},
1287        "Ids":{"shape":"TargetIdList"},
1288        "Force":{"shape":"Boolean"}
1289      }
1290    },
1291    "RemoveTargetsResponse":{
1292      "type":"structure",
1293      "members":{
1294        "FailedEntryCount":{"shape":"Integer"},
1295        "FailedEntries":{"shape":"RemoveTargetsResultEntryList"}
1296      }
1297    },
1298    "RemoveTargetsResultEntry":{
1299      "type":"structure",
1300      "members":{
1301        "TargetId":{"shape":"TargetId"},
1302        "ErrorCode":{"shape":"ErrorCode"},
1303        "ErrorMessage":{"shape":"ErrorMessage"}
1304      }
1305    },
1306    "RemoveTargetsResultEntryList":{
1307      "type":"list",
1308      "member":{"shape":"RemoveTargetsResultEntry"}
1309    },
1310    "ResourceAlreadyExistsException":{
1311      "type":"structure",
1312      "members":{
1313      },
1314      "exception":true
1315    },
1316    "ResourceArn":{
1317      "type":"string",
1318      "max":1600,
1319      "min":1
1320    },
1321    "ResourceNotFoundException":{
1322      "type":"structure",
1323      "members":{
1324      },
1325      "exception":true
1326    },
1327    "RetryPolicy":{
1328      "type":"structure",
1329      "members":{
1330        "MaximumRetryAttempts":{"shape":"MaximumRetryAttempts"},
1331        "MaximumEventAgeInSeconds":{"shape":"MaximumEventAgeInSeconds"}
1332      }
1333    },
1334    "RoleArn":{
1335      "type":"string",
1336      "max":1600,
1337      "min":1
1338    },
1339    "Rule":{
1340      "type":"structure",
1341      "members":{
1342        "Name":{"shape":"RuleName"},
1343        "Arn":{"shape":"RuleArn"},
1344        "EventPattern":{"shape":"EventPattern"},
1345        "State":{"shape":"RuleState"},
1346        "Description":{"shape":"RuleDescription"},
1347        "ScheduleExpression":{"shape":"ScheduleExpression"},
1348        "RoleArn":{"shape":"RoleArn"},
1349        "ManagedBy":{"shape":"ManagedBy"},
1350        "EventBusName":{"shape":"EventBusName"}
1351      }
1352    },
1353    "RuleArn":{
1354      "type":"string",
1355      "max":1600,
1356      "min":1
1357    },
1358    "RuleDescription":{
1359      "type":"string",
1360      "max":512
1361    },
1362    "RuleName":{
1363      "type":"string",
1364      "max":64,
1365      "min":1,
1366      "pattern":"[\\.\\-_A-Za-z0-9]+"
1367    },
1368    "RuleNameList":{
1369      "type":"list",
1370      "member":{"shape":"RuleName"}
1371    },
1372    "RuleResponseList":{
1373      "type":"list",
1374      "member":{"shape":"Rule"}
1375    },
1376    "RuleState":{
1377      "type":"string",
1378      "enum":[
1379        "ENABLED",
1380        "DISABLED"
1381      ]
1382    },
1383    "RunCommandParameters":{
1384      "type":"structure",
1385      "required":["RunCommandTargets"],
1386      "members":{
1387        "RunCommandTargets":{"shape":"RunCommandTargets"}
1388      }
1389    },
1390    "RunCommandTarget":{
1391      "type":"structure",
1392      "required":[
1393        "Key",
1394        "Values"
1395      ],
1396      "members":{
1397        "Key":{"shape":"RunCommandTargetKey"},
1398        "Values":{"shape":"RunCommandTargetValues"}
1399      }
1400    },
1401    "RunCommandTargetKey":{
1402      "type":"string",
1403      "max":128,
1404      "min":1,
1405      "pattern":"^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$"
1406    },
1407    "RunCommandTargetValue":{
1408      "type":"string",
1409      "max":256,
1410      "min":1
1411    },
1412    "RunCommandTargetValues":{
1413      "type":"list",
1414      "member":{"shape":"RunCommandTargetValue"},
1415      "max":50,
1416      "min":1
1417    },
1418    "RunCommandTargets":{
1419      "type":"list",
1420      "member":{"shape":"RunCommandTarget"},
1421      "max":5,
1422      "min":1
1423    },
1424    "ScheduleExpression":{
1425      "type":"string",
1426      "max":256
1427    },
1428    "Sql":{
1429      "type":"string",
1430      "max":100000,
1431      "min":1
1432    },
1433    "SqsParameters":{
1434      "type":"structure",
1435      "members":{
1436        "MessageGroupId":{"shape":"MessageGroupId"}
1437      }
1438    },
1439    "StatementId":{
1440      "type":"string",
1441      "max":64,
1442      "min":1,
1443      "pattern":"[a-zA-Z0-9-_]+"
1444    },
1445    "StatementName":{
1446      "type":"string",
1447      "max":500,
1448      "min":1
1449    },
1450    "String":{"type":"string"},
1451    "StringList":{
1452      "type":"list",
1453      "member":{"shape":"String"}
1454    },
1455    "Tag":{
1456      "type":"structure",
1457      "required":[
1458        "Key",
1459        "Value"
1460      ],
1461      "members":{
1462        "Key":{"shape":"TagKey"},
1463        "Value":{"shape":"TagValue"}
1464      }
1465    },
1466    "TagKey":{
1467      "type":"string",
1468      "max":128,
1469      "min":1
1470    },
1471    "TagKeyList":{
1472      "type":"list",
1473      "member":{"shape":"TagKey"}
1474    },
1475    "TagList":{
1476      "type":"list",
1477      "member":{"shape":"Tag"}
1478    },
1479    "TagResourceRequest":{
1480      "type":"structure",
1481      "required":[
1482        "ResourceARN",
1483        "Tags"
1484      ],
1485      "members":{
1486        "ResourceARN":{"shape":"Arn"},
1487        "Tags":{"shape":"TagList"}
1488      }
1489    },
1490    "TagResourceResponse":{
1491      "type":"structure",
1492      "members":{
1493      }
1494    },
1495    "TagValue":{
1496      "type":"string",
1497      "max":256,
1498      "min":0
1499    },
1500    "Target":{
1501      "type":"structure",
1502      "required":[
1503        "Id",
1504        "Arn"
1505      ],
1506      "members":{
1507        "Id":{"shape":"TargetId"},
1508        "Arn":{"shape":"TargetArn"},
1509        "RoleArn":{"shape":"RoleArn"},
1510        "Input":{"shape":"TargetInput"},
1511        "InputPath":{"shape":"TargetInputPath"},
1512        "InputTransformer":{"shape":"InputTransformer"},
1513        "KinesisParameters":{"shape":"KinesisParameters"},
1514        "RunCommandParameters":{"shape":"RunCommandParameters"},
1515        "EcsParameters":{"shape":"EcsParameters"},
1516        "BatchParameters":{"shape":"BatchParameters"},
1517        "SqsParameters":{"shape":"SqsParameters"},
1518        "HttpParameters":{"shape":"HttpParameters"},
1519        "RedshiftDataParameters":{"shape":"RedshiftDataParameters"},
1520        "DeadLetterConfig":{"shape":"DeadLetterConfig"},
1521        "RetryPolicy":{"shape":"RetryPolicy"}
1522      }
1523    },
1524    "TargetArn":{
1525      "type":"string",
1526      "max":1600,
1527      "min":1
1528    },
1529    "TargetId":{
1530      "type":"string",
1531      "max":64,
1532      "min":1,
1533      "pattern":"[\\.\\-_A-Za-z0-9]+"
1534    },
1535    "TargetIdList":{
1536      "type":"list",
1537      "member":{"shape":"TargetId"},
1538      "max":100,
1539      "min":1
1540    },
1541    "TargetInput":{
1542      "type":"string",
1543      "max":8192
1544    },
1545    "TargetInputPath":{
1546      "type":"string",
1547      "max":256
1548    },
1549    "TargetList":{
1550      "type":"list",
1551      "member":{"shape":"Target"},
1552      "max":100,
1553      "min":1
1554    },
1555    "TargetPartitionKeyPath":{
1556      "type":"string",
1557      "max":256
1558    },
1559    "TestEventPatternRequest":{
1560      "type":"structure",
1561      "required":[
1562        "EventPattern",
1563        "Event"
1564      ],
1565      "members":{
1566        "EventPattern":{"shape":"EventPattern"},
1567        "Event":{"shape":"String"}
1568      }
1569    },
1570    "TestEventPatternResponse":{
1571      "type":"structure",
1572      "members":{
1573        "Result":{"shape":"Boolean"}
1574      }
1575    },
1576    "Timestamp":{"type":"timestamp"},
1577    "TransformerInput":{
1578      "type":"string",
1579      "max":8192,
1580      "min":1
1581    },
1582    "TransformerPaths":{
1583      "type":"map",
1584      "key":{"shape":"InputTransformerPathKey"},
1585      "value":{"shape":"TargetInputPath"},
1586      "max":10
1587    },
1588    "UntagResourceRequest":{
1589      "type":"structure",
1590      "required":[
1591        "ResourceARN",
1592        "TagKeys"
1593      ],
1594      "members":{
1595        "ResourceARN":{"shape":"Arn"},
1596        "TagKeys":{"shape":"TagKeyList"}
1597      }
1598    },
1599    "UntagResourceResponse":{
1600      "type":"structure",
1601      "members":{
1602      }
1603    }
1604  }
1605}
1606