123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- {
- "metadata": {
- "apiVersion": "2014-11-11",
- "endpointPrefix": "lambda",
- "serviceFullName": "AWS Lambda",
- "serviceId": "Lambda",
- "signatureVersion": "v4",
- "protocol": "rest-json"
- },
- "operations": {
- "AddEventSource": {
- "http": {
- "requestUri": "/2014-11-13/event-source-mappings/"
- },
- "input": {
- "type": "structure",
- "required": [
- "EventSource",
- "FunctionName",
- "Role"
- ],
- "members": {
- "EventSource": {},
- "FunctionName": {},
- "Role": {},
- "BatchSize": {
- "type": "integer"
- },
- "Parameters": {
- "shape": "S6"
- }
- }
- },
- "output": {
- "shape": "S7"
- }
- },
- "DeleteFunction": {
- "http": {
- "method": "DELETE",
- "requestUri": "/2014-11-13/functions/{FunctionName}",
- "responseCode": 204
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- }
- }
- }
- },
- "GetEventSource": {
- "http": {
- "method": "GET",
- "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "UUID"
- ],
- "members": {
- "UUID": {
- "location": "uri",
- "locationName": "UUID"
- }
- }
- },
- "output": {
- "shape": "S7"
- }
- },
- "GetFunction": {
- "http": {
- "method": "GET",
- "requestUri": "/2014-11-13/functions/{FunctionName}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Configuration": {
- "shape": "Se"
- },
- "Code": {
- "type": "structure",
- "members": {
- "RepositoryType": {},
- "Location": {}
- }
- }
- }
- }
- },
- "GetFunctionConfiguration": {
- "http": {
- "method": "GET",
- "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- }
- }
- },
- "output": {
- "shape": "Se"
- }
- },
- "InvokeAsync": {
- "http": {
- "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/",
- "responseCode": 202
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName",
- "InvokeArgs"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- },
- "InvokeArgs": {
- "shape": "Sq"
- }
- },
- "payload": "InvokeArgs"
- },
- "output": {
- "type": "structure",
- "members": {
- "Status": {
- "location": "statusCode",
- "type": "integer"
- }
- }
- }
- },
- "ListEventSources": {
- "http": {
- "method": "GET",
- "requestUri": "/2014-11-13/event-source-mappings/",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "EventSourceArn": {
- "location": "querystring",
- "locationName": "EventSource"
- },
- "FunctionName": {
- "location": "querystring",
- "locationName": "FunctionName"
- },
- "Marker": {
- "location": "querystring",
- "locationName": "Marker"
- },
- "MaxItems": {
- "location": "querystring",
- "locationName": "MaxItems",
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "NextMarker": {},
- "EventSources": {
- "type": "list",
- "member": {
- "shape": "S7"
- }
- }
- }
- }
- },
- "ListFunctions": {
- "http": {
- "method": "GET",
- "requestUri": "/2014-11-13/functions/",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "Marker": {
- "location": "querystring",
- "locationName": "Marker"
- },
- "MaxItems": {
- "location": "querystring",
- "locationName": "MaxItems",
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "NextMarker": {},
- "Functions": {
- "type": "list",
- "member": {
- "shape": "Se"
- }
- }
- }
- }
- },
- "RemoveEventSource": {
- "http": {
- "method": "DELETE",
- "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
- "responseCode": 204
- },
- "input": {
- "type": "structure",
- "required": [
- "UUID"
- ],
- "members": {
- "UUID": {
- "location": "uri",
- "locationName": "UUID"
- }
- }
- }
- },
- "UpdateFunctionConfiguration": {
- "http": {
- "method": "PUT",
- "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- },
- "Role": {
- "location": "querystring",
- "locationName": "Role"
- },
- "Handler": {
- "location": "querystring",
- "locationName": "Handler"
- },
- "Description": {
- "location": "querystring",
- "locationName": "Description"
- },
- "Timeout": {
- "location": "querystring",
- "locationName": "Timeout",
- "type": "integer"
- },
- "MemorySize": {
- "location": "querystring",
- "locationName": "MemorySize",
- "type": "integer"
- }
- }
- },
- "output": {
- "shape": "Se"
- }
- },
- "UploadFunction": {
- "http": {
- "method": "PUT",
- "requestUri": "/2014-11-13/functions/{FunctionName}",
- "responseCode": 201
- },
- "input": {
- "type": "structure",
- "required": [
- "FunctionName",
- "FunctionZip",
- "Runtime",
- "Role",
- "Handler",
- "Mode"
- ],
- "members": {
- "FunctionName": {
- "location": "uri",
- "locationName": "FunctionName"
- },
- "FunctionZip": {
- "shape": "Sq"
- },
- "Runtime": {
- "location": "querystring",
- "locationName": "Runtime"
- },
- "Role": {
- "location": "querystring",
- "locationName": "Role"
- },
- "Handler": {
- "location": "querystring",
- "locationName": "Handler"
- },
- "Mode": {
- "location": "querystring",
- "locationName": "Mode"
- },
- "Description": {
- "location": "querystring",
- "locationName": "Description"
- },
- "Timeout": {
- "location": "querystring",
- "locationName": "Timeout",
- "type": "integer"
- },
- "MemorySize": {
- "location": "querystring",
- "locationName": "MemorySize",
- "type": "integer"
- }
- },
- "payload": "FunctionZip"
- },
- "output": {
- "shape": "Se"
- }
- }
- },
- "shapes": {
- "S6": {
- "type": "map",
- "key": {},
- "value": {}
- },
- "S7": {
- "type": "structure",
- "members": {
- "UUID": {},
- "BatchSize": {
- "type": "integer"
- },
- "EventSource": {},
- "FunctionName": {},
- "Parameters": {
- "shape": "S6"
- },
- "Role": {},
- "LastModified": {
- "type": "timestamp"
- },
- "IsActive": {
- "type": "boolean"
- },
- "Status": {}
- }
- },
- "Se": {
- "type": "structure",
- "members": {
- "FunctionName": {},
- "FunctionARN": {},
- "ConfigurationId": {},
- "Runtime": {},
- "Role": {},
- "Handler": {},
- "Mode": {},
- "CodeSize": {
- "type": "long"
- },
- "Description": {},
- "Timeout": {
- "type": "integer"
- },
- "MemorySize": {
- "type": "integer"
- },
- "LastModified": {
- "type": "timestamp"
- }
- }
- },
- "Sq": {
- "type": "blob",
- "streaming": true
- }
- }
- }
|