AllEventsStored
v36

Found on the "Serverlesspresso" Amazon EventBridge bus.

No matched rules or targets found for event.

AllEventsStored Schema (json)
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "OrderJourney.AllEventsStored",
    "definitions": {
        "DrinkOrder": {
            "properties": {
                "drink": {
                    "type": "string"
                },
                "icon": {
                    "type": "string"
                },
                "modifiers": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                }
            },
            "required": [
                "icon",
                "modifiers",
                "drink"
            ],
            "type": "object"
        },
        "Order": {
            "properties": {
                "drinkOrder": {
                    "$ref": "#/definitions/DrinkOrder"
                },
                "orderNumber": {
                    "type": "number"
                },
                "orderState": {
                    "type": "string"
                },
                "userId": {
                    "type": "string"
                }
            },
            "required": [
                "drinkOrder",
                "orderNumber",
                "userId",
                "orderState"
            ],
            "type": "object"
        },
        "OrderJourney.AllEventsStored": {
            "properties": {
                "order": {
                    "$ref": "#/definitions/Order"
                },
                "orderId": {
                    "type": "string"
                }
            },
            "required": [
                "orderId",
                "order"
            ],
            "type": "object"
        }
    },
    "properties": {
        "account": {
            "type": "string"
        },
        "detail": {
            "$ref": "#/definitions/OrderJourney.AllEventsStored"
        },
        "detail-type": {
            "type": "string"
        },
        "id": {
            "type": "string"
        },
        "region": {
            "type": "string"
        },
        "resources": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "source": {
            "type": "string"
        },
        "time": {
            "format": "date-time",
            "type": "string"
        },
        "version": {
            "type": "string"
        }
    },
    "required": [
        "detail-type",
        "resources",
        "detail",
        "id",
        "source",
        "time",
        "region",
        "version",
        "account"
    ],
    "type": "object",
    "x-amazon-events-detail-type": "OrderJourney.AllEventsStored",
    "x-amazon-events-source": "awsserverlessda.serverlesspresso"
}

Examples

1{
2    "openapi": "3.0.0",
3    "info": {
4        "version": "1.0.0",
5        "title": "OrderJourney.AllEventsStored"
6    },
7    "paths": {},
8    "components": {
9        "schemas": {
10            "AWSEvent": {
11                "type": "object",
12                "required": [
13                    "detail-type",
14                    "resources",
15                    "detail",
16                    "id",
17                    "source",
18                    "time",
19                    "region",
20                    "version",
21                    "account"
22                ],
23                "x-amazon-events-detail-type": "OrderJourney.AllEventsStored",
24                "x-amazon-events-source": "awsserverlessda.serverlesspresso",
25                "properties": {
26                    "detail": {
27                        "$ref": "#/components/schemas/OrderJourney.AllEventsStored"
28                    },
29                    "account": {
30                        "type": "string"
31                    },
32                    "detail-type": {
33                        "type": "string"
34                    },
35                    "id": {
36                        "type": "string"
37                    },
38                    "region": {
39                        "type": "string"
40                    },
41                    "resources": {
42                        "type": "array",
43                        "items": {
44                            "type": "string"
45                        }
46                    },
47                    "source": {
48                        "type": "string"
49                    },
50                    "time": {
51                        "type": "string",
52                        "format": "date-time"
53                    },
54                    "version": {
55                        "type": "string"
56                    }
57                }
58            },
59            "OrderJourney.AllEventsStored": {
60                "type": "object",
61                "required": [
62                    "orderId",
63                    "order"
64                ],
65                "properties": {
66                    "order": {
67                        "$ref": "#/components/schemas/Order"
68                    },
69                    "orderId": {
70                        "type": "string"
71                    }
72                }
73            },
74            "Order": {
75                "type": "object",
76                "required": [
77                    "drinkOrder",
78                    "orderNumber",
79                    "userId",
80                    "orderState"
81                ],
82                "properties": {
83                    "drinkOrder": {
84                        "$ref": "#/components/schemas/DrinkOrder"
85                    },
86                    "orderNumber": {
87                        "type": "number"
88                    },
89                    "orderState": {
90                        "type": "string"
91                    },
92                    "userId": {
93                        "type": "string"
94                    }
95                }
96            },
97            "DrinkOrder": {
98                "type": "object",
99                "required": [
100                    "icon",
101                    "modifiers",
102                    "drink"
103                ],
104                "properties": {
105                    "drink": {
106                        "type": "string"
107                    },
108                    "icon": {
109                        "type": "string"
110                    },
111                    "modifiers": {
112                        "type": "array",
113                        "items": {
114                            "type": "string"
115                        }
116                    }
117                }
118            }
119        }
120    }
121}
Edit this pageLast updated on 2023/1/31