US 12,086,141 B1
Coordination of services using PartiQL queries
Yatin Patil, Redmond, WA (US); and Marc Bowes, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Dec. 10, 2021, as Appl. No. 17/643,790.
Int. Cl. G06F 16/2455 (2019.01); G06F 16/25 (2019.01)
CPC G06F 16/24553 (2019.01) [G06F 16/258 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A service coordination system comprising:
one or more compute instances providing a plurality of computer network-accessible services in accordance with respective application programming interfaces (APIs); and
a recipe execution system configured to store a plurality of recipes, wherein the recipe execution system is configured to:
obtain, from an electronic data store, a recipe from the plurality of recipes in response to a request from a user device, wherein:
the recipe includes a plurality of operations that, when executed, provide fora complex function to be performed by the plurality of computer network-accessible services,
a first operation of the plurality of operations corresponds to a first computer network-accessible service of the plurality of computer network-accessible services, and
a second operation of the plurality of operations corresponds to a second computer network-accessible service of the plurality of computer network-accessible services;
execute the first operation, wherein executing the first operation transmits a first call to a first API of the first computer network-accessible service of the plurality of computer network-accessible services;
receive a first response to the first call from the first API of the first computer network-accessible service, the first response including first data in a first data format;
determine a PartiQL query for connecting the first operation of the plurality of operations to the second operation of the plurality of operations;
execute the second operation based on a result generated from execution of the PartiQL query on the first response, wherein executing the second operation transmits second call to a second API of the second computer network-accessible service of the plurality of computer network-accessible services;
receive a second response to the second call from the second API of the second computer network-accessible service; and
after all operations of the plurality of operations are executed, transmit a response to the request to the user device.