173 lines
3.5 KiB
JSON
173 lines
3.5 KiB
JSON
{
|
|
"metadata": {
|
|
"apiVersion": "2015-03-09",
|
|
"endpointPrefix": "log",
|
|
"jsonVersion": "1.1",
|
|
"serviceFullName": "Jibo Log",
|
|
"signatureVersion": "v4",
|
|
"targetPrefix": "Log_20150309",
|
|
"protocol": "json"
|
|
},
|
|
"operations": {
|
|
"PutEvents": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"events"
|
|
],
|
|
"members": {
|
|
"trackingId": {},
|
|
"deviceId": {},
|
|
"events": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"created"
|
|
],
|
|
"members": {
|
|
"created": {
|
|
"type": "long"
|
|
},
|
|
"payload": {
|
|
"type": "object"
|
|
},
|
|
"message": {},
|
|
"level": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {}
|
|
},
|
|
"PutEventsAsync": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"kind",
|
|
"serial"
|
|
],
|
|
"members": {
|
|
"kind": {},
|
|
"serial": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"contentEncoding",
|
|
"uploadUrl"
|
|
],
|
|
"members": {
|
|
"contentEncoding": {},
|
|
"uploadUrl": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NewKinesisCredentials": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"credentials",
|
|
"region",
|
|
"streamName"
|
|
],
|
|
"members": {
|
|
"credentials": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AccessKeyId",
|
|
"Expiration",
|
|
"SecretAccessKey",
|
|
"SessionToken"
|
|
],
|
|
"members": {
|
|
"AccessKeyId": {
|
|
"type": "string"
|
|
},
|
|
"Expiration": {
|
|
"type": "string"
|
|
},
|
|
"SecretAccessKey": {
|
|
"type": "string"
|
|
},
|
|
"SessionToken": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"region": {
|
|
"type": "string"
|
|
},
|
|
"streamName": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PutBinary": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"trackingId": {
|
|
"location": "header",
|
|
"locationName": "x-tracking-id"
|
|
},
|
|
"body": {
|
|
"type": "blob",
|
|
"streaming": true
|
|
}
|
|
},
|
|
"payload": "body"
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"url"
|
|
],
|
|
"members": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PutBinaryAsync": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"trackingId": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"url",
|
|
"uploadUrl"
|
|
],
|
|
"members": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"uploadUrl": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {}
|
|
} |