python-boto3/tests/unit/data/todo/2015-04-01/resources-1.json
2015-11-27 16:25:33 -06:00

73 lines
1.5 KiB
JSON

{
"service": {
"actions": {
"CreateToDo": {
"request": { "operation": "CreateToDo" },
"resource": {
"type": "ToDo",
"identifiers": [
{ "target": "Id", "source": "response", "path": "Id" }
]
}
}
},
"has": {
"ToDo": {
"resource": {
"type": "ToDo",
"identifiers": [
{ "target": "Id", "source": "input" }
]
}
}
},
"hasMany": {
"ToDos": {
"request": { "operation": "DescribeToDos" },
"resource": {
"type": "ToDo",
"identifiers": [
{ "target": "Id", "source": "response", "path": "ToDoList[].Id" }
]
}
}
}
},
"resources": {
"ToDo": {
"identifiers": [
{ "name": "Id" }
],
"shape": "ToDoItem",
"actions": {
"Delete": {
"request": {
"operation": "DeleteToDo",
"params": [
{ "target": "Id", "source": "identifier", "name": "Id" }
]
}
}
},
"waiters": {
"Ready": {
"waiterName": "ToDoReady",
"params": [
{ "target": "Id", "source": "identifier", "name": "Id" }
]
}
},
"has": {
"MySelf": {
"resource": {
"type": "ToDo",
"identifiers": [
{ "target": "Id", "source": "data", "path": "Id" }
]
}
}
}
}
}
}