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