/ cloudformation-templates / node_modules / aws-cdk / node_modules / aws-sdk / apis / lambda-2014-11-11.min.json
lambda-2014-11-11.min.json
  1  {
  2    "metadata": {
  3      "apiVersion": "2014-11-11",
  4      "endpointPrefix": "lambda",
  5      "serviceFullName": "AWS Lambda",
  6      "serviceId": "Lambda",
  7      "signatureVersion": "v4",
  8      "protocol": "rest-json"
  9    },
 10    "operations": {
 11      "AddEventSource": {
 12        "http": {
 13          "requestUri": "/2014-11-13/event-source-mappings/"
 14        },
 15        "input": {
 16          "type": "structure",
 17          "required": [
 18            "EventSource",
 19            "FunctionName",
 20            "Role"
 21          ],
 22          "members": {
 23            "EventSource": {},
 24            "FunctionName": {},
 25            "Role": {},
 26            "BatchSize": {
 27              "type": "integer"
 28            },
 29            "Parameters": {
 30              "shape": "S6"
 31            }
 32          }
 33        },
 34        "output": {
 35          "shape": "S7"
 36        }
 37      },
 38      "DeleteFunction": {
 39        "http": {
 40          "method": "DELETE",
 41          "requestUri": "/2014-11-13/functions/{FunctionName}",
 42          "responseCode": 204
 43        },
 44        "input": {
 45          "type": "structure",
 46          "required": [
 47            "FunctionName"
 48          ],
 49          "members": {
 50            "FunctionName": {
 51              "location": "uri",
 52              "locationName": "FunctionName"
 53            }
 54          }
 55        }
 56      },
 57      "GetEventSource": {
 58        "http": {
 59          "method": "GET",
 60          "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
 61          "responseCode": 200
 62        },
 63        "input": {
 64          "type": "structure",
 65          "required": [
 66            "UUID"
 67          ],
 68          "members": {
 69            "UUID": {
 70              "location": "uri",
 71              "locationName": "UUID"
 72            }
 73          }
 74        },
 75        "output": {
 76          "shape": "S7"
 77        }
 78      },
 79      "GetFunction": {
 80        "http": {
 81          "method": "GET",
 82          "requestUri": "/2014-11-13/functions/{FunctionName}",
 83          "responseCode": 200
 84        },
 85        "input": {
 86          "type": "structure",
 87          "required": [
 88            "FunctionName"
 89          ],
 90          "members": {
 91            "FunctionName": {
 92              "location": "uri",
 93              "locationName": "FunctionName"
 94            }
 95          }
 96        },
 97        "output": {
 98          "type": "structure",
 99          "members": {
100            "Configuration": {
101              "shape": "Se"
102            },
103            "Code": {
104              "type": "structure",
105              "members": {
106                "RepositoryType": {},
107                "Location": {}
108              }
109            }
110          }
111        }
112      },
113      "GetFunctionConfiguration": {
114        "http": {
115          "method": "GET",
116          "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
117          "responseCode": 200
118        },
119        "input": {
120          "type": "structure",
121          "required": [
122            "FunctionName"
123          ],
124          "members": {
125            "FunctionName": {
126              "location": "uri",
127              "locationName": "FunctionName"
128            }
129          }
130        },
131        "output": {
132          "shape": "Se"
133        }
134      },
135      "InvokeAsync": {
136        "http": {
137          "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/",
138          "responseCode": 202
139        },
140        "input": {
141          "type": "structure",
142          "required": [
143            "FunctionName",
144            "InvokeArgs"
145          ],
146          "members": {
147            "FunctionName": {
148              "location": "uri",
149              "locationName": "FunctionName"
150            },
151            "InvokeArgs": {
152              "shape": "Sq"
153            }
154          },
155          "payload": "InvokeArgs"
156        },
157        "output": {
158          "type": "structure",
159          "members": {
160            "Status": {
161              "location": "statusCode",
162              "type": "integer"
163            }
164          }
165        }
166      },
167      "ListEventSources": {
168        "http": {
169          "method": "GET",
170          "requestUri": "/2014-11-13/event-source-mappings/",
171          "responseCode": 200
172        },
173        "input": {
174          "type": "structure",
175          "members": {
176            "EventSourceArn": {
177              "location": "querystring",
178              "locationName": "EventSource"
179            },
180            "FunctionName": {
181              "location": "querystring",
182              "locationName": "FunctionName"
183            },
184            "Marker": {
185              "location": "querystring",
186              "locationName": "Marker"
187            },
188            "MaxItems": {
189              "location": "querystring",
190              "locationName": "MaxItems",
191              "type": "integer"
192            }
193          }
194        },
195        "output": {
196          "type": "structure",
197          "members": {
198            "NextMarker": {},
199            "EventSources": {
200              "type": "list",
201              "member": {
202                "shape": "S7"
203              }
204            }
205          }
206        }
207      },
208      "ListFunctions": {
209        "http": {
210          "method": "GET",
211          "requestUri": "/2014-11-13/functions/",
212          "responseCode": 200
213        },
214        "input": {
215          "type": "structure",
216          "members": {
217            "Marker": {
218              "location": "querystring",
219              "locationName": "Marker"
220            },
221            "MaxItems": {
222              "location": "querystring",
223              "locationName": "MaxItems",
224              "type": "integer"
225            }
226          }
227        },
228        "output": {
229          "type": "structure",
230          "members": {
231            "NextMarker": {},
232            "Functions": {
233              "type": "list",
234              "member": {
235                "shape": "Se"
236              }
237            }
238          }
239        }
240      },
241      "RemoveEventSource": {
242        "http": {
243          "method": "DELETE",
244          "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
245          "responseCode": 204
246        },
247        "input": {
248          "type": "structure",
249          "required": [
250            "UUID"
251          ],
252          "members": {
253            "UUID": {
254              "location": "uri",
255              "locationName": "UUID"
256            }
257          }
258        }
259      },
260      "UpdateFunctionConfiguration": {
261        "http": {
262          "method": "PUT",
263          "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
264          "responseCode": 200
265        },
266        "input": {
267          "type": "structure",
268          "required": [
269            "FunctionName"
270          ],
271          "members": {
272            "FunctionName": {
273              "location": "uri",
274              "locationName": "FunctionName"
275            },
276            "Role": {
277              "location": "querystring",
278              "locationName": "Role"
279            },
280            "Handler": {
281              "location": "querystring",
282              "locationName": "Handler"
283            },
284            "Description": {
285              "location": "querystring",
286              "locationName": "Description"
287            },
288            "Timeout": {
289              "location": "querystring",
290              "locationName": "Timeout",
291              "type": "integer"
292            },
293            "MemorySize": {
294              "location": "querystring",
295              "locationName": "MemorySize",
296              "type": "integer"
297            }
298          }
299        },
300        "output": {
301          "shape": "Se"
302        }
303      },
304      "UploadFunction": {
305        "http": {
306          "method": "PUT",
307          "requestUri": "/2014-11-13/functions/{FunctionName}",
308          "responseCode": 201
309        },
310        "input": {
311          "type": "structure",
312          "required": [
313            "FunctionName",
314            "FunctionZip",
315            "Runtime",
316            "Role",
317            "Handler",
318            "Mode"
319          ],
320          "members": {
321            "FunctionName": {
322              "location": "uri",
323              "locationName": "FunctionName"
324            },
325            "FunctionZip": {
326              "shape": "Sq"
327            },
328            "Runtime": {
329              "location": "querystring",
330              "locationName": "Runtime"
331            },
332            "Role": {
333              "location": "querystring",
334              "locationName": "Role"
335            },
336            "Handler": {
337              "location": "querystring",
338              "locationName": "Handler"
339            },
340            "Mode": {
341              "location": "querystring",
342              "locationName": "Mode"
343            },
344            "Description": {
345              "location": "querystring",
346              "locationName": "Description"
347            },
348            "Timeout": {
349              "location": "querystring",
350              "locationName": "Timeout",
351              "type": "integer"
352            },
353            "MemorySize": {
354              "location": "querystring",
355              "locationName": "MemorySize",
356              "type": "integer"
357            }
358          },
359          "payload": "FunctionZip"
360        },
361        "output": {
362          "shape": "Se"
363        }
364      }
365    },
366    "shapes": {
367      "S6": {
368        "type": "map",
369        "key": {},
370        "value": {}
371      },
372      "S7": {
373        "type": "structure",
374        "members": {
375          "UUID": {},
376          "BatchSize": {
377            "type": "integer"
378          },
379          "EventSource": {},
380          "FunctionName": {},
381          "Parameters": {
382            "shape": "S6"
383          },
384          "Role": {},
385          "LastModified": {
386            "type": "timestamp"
387          },
388          "IsActive": {
389            "type": "boolean"
390          },
391          "Status": {}
392        }
393      },
394      "Se": {
395        "type": "structure",
396        "members": {
397          "FunctionName": {},
398          "FunctionARN": {},
399          "ConfigurationId": {},
400          "Runtime": {},
401          "Role": {},
402          "Handler": {},
403          "Mode": {},
404          "CodeSize": {
405            "type": "long"
406          },
407          "Description": {},
408          "Timeout": {
409            "type": "integer"
410          },
411          "MemorySize": {
412            "type": "integer"
413          },
414          "LastModified": {
415            "type": "timestamp"
416          }
417        }
418      },
419      "Sq": {
420        "type": "blob",
421        "streaming": true
422      }
423    }
424  }