apigatewaymanagementapi-2018-11-29.min.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "metadata": {
  3. "apiVersion": "2018-11-29",
  4. "endpointPrefix": "execute-api",
  5. "signingName": "execute-api",
  6. "serviceFullName": "AmazonApiGatewayManagementApi",
  7. "serviceId": "ApiGatewayManagementApi",
  8. "protocol": "rest-json",
  9. "jsonVersion": "1.1",
  10. "uid": "apigatewaymanagementapi-2018-11-29",
  11. "signatureVersion": "v4"
  12. },
  13. "operations": {
  14. "DeleteConnection": {
  15. "http": {
  16. "method": "DELETE",
  17. "requestUri": "/@connections/{connectionId}",
  18. "responseCode": 204
  19. },
  20. "input": {
  21. "type": "structure",
  22. "members": {
  23. "ConnectionId": {
  24. "location": "uri",
  25. "locationName": "connectionId"
  26. }
  27. },
  28. "required": [
  29. "ConnectionId"
  30. ]
  31. }
  32. },
  33. "GetConnection": {
  34. "http": {
  35. "method": "GET",
  36. "requestUri": "/@connections/{connectionId}",
  37. "responseCode": 200
  38. },
  39. "input": {
  40. "type": "structure",
  41. "members": {
  42. "ConnectionId": {
  43. "location": "uri",
  44. "locationName": "connectionId"
  45. }
  46. },
  47. "required": [
  48. "ConnectionId"
  49. ]
  50. },
  51. "output": {
  52. "type": "structure",
  53. "members": {
  54. "ConnectedAt": {
  55. "shape": "S5",
  56. "locationName": "connectedAt"
  57. },
  58. "Identity": {
  59. "locationName": "identity",
  60. "type": "structure",
  61. "members": {
  62. "SourceIp": {
  63. "locationName": "sourceIp"
  64. },
  65. "UserAgent": {
  66. "locationName": "userAgent"
  67. }
  68. },
  69. "required": [
  70. "SourceIp",
  71. "UserAgent"
  72. ]
  73. },
  74. "LastActiveAt": {
  75. "shape": "S5",
  76. "locationName": "lastActiveAt"
  77. }
  78. }
  79. }
  80. },
  81. "PostToConnection": {
  82. "http": {
  83. "requestUri": "/@connections/{connectionId}",
  84. "responseCode": 200
  85. },
  86. "input": {
  87. "type": "structure",
  88. "members": {
  89. "Data": {
  90. "type": "blob"
  91. },
  92. "ConnectionId": {
  93. "location": "uri",
  94. "locationName": "connectionId"
  95. }
  96. },
  97. "required": [
  98. "ConnectionId",
  99. "Data"
  100. ],
  101. "payload": "Data"
  102. }
  103. }
  104. },
  105. "shapes": {
  106. "S5": {
  107. "type": "timestamp",
  108. "timestampFormat": "iso8601"
  109. }
  110. }
  111. }