github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/apigatewaymanagementapi/2018-11-29/api-2.json (about) 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 "name" : "DeleteConnection", 16 "http" : { 17 "method" : "DELETE", 18 "requestUri" : "/@connections/{connectionId}", 19 "responseCode" : 204 20 }, 21 "input" : { 22 "shape" : "DeleteConnectionRequest" 23 }, 24 "errors" : [ { 25 "shape" : "GoneException" 26 }, { 27 "shape" : "LimitExceededException" 28 }, { 29 "shape" : "ForbiddenException" 30 } ] 31 }, 32 "GetConnection" : { 33 "name" : "GetConnection", 34 "http" : { 35 "method" : "GET", 36 "requestUri" : "/@connections/{connectionId}", 37 "responseCode" : 200 38 }, 39 "input" : { 40 "shape" : "GetConnectionRequest" 41 }, 42 "output" : { 43 "shape" : "GetConnectionResponse" 44 }, 45 "errors" : [ { 46 "shape" : "GoneException" 47 }, { 48 "shape" : "LimitExceededException" 49 }, { 50 "shape" : "ForbiddenException" 51 } ] 52 }, 53 "PostToConnection" : { 54 "name" : "PostToConnection", 55 "http" : { 56 "method" : "POST", 57 "requestUri" : "/@connections/{connectionId}", 58 "responseCode" : 200 59 }, 60 "input" : { 61 "shape" : "PostToConnectionRequest" 62 }, 63 "errors" : [ { 64 "shape" : "GoneException" 65 }, { 66 "shape" : "LimitExceededException" 67 }, { 68 "shape" : "PayloadTooLargeException" 69 }, { 70 "shape" : "ForbiddenException" 71 } ] 72 } 73 }, 74 "shapes" : { 75 "Data" : { 76 "type" : "blob", 77 "max" : 131072 78 }, 79 "DeleteConnectionRequest" : { 80 "type" : "structure", 81 "members" : { 82 "ConnectionId" : { 83 "shape" : "__string", 84 "location" : "uri", 85 "locationName" : "connectionId" 86 } 87 }, 88 "required" : [ "ConnectionId" ] 89 }, 90 "ForbiddenException" : { 91 "type" : "structure", 92 "members" : { }, 93 "exception" : true, 94 "error" : { 95 "httpStatusCode" : 403 96 } 97 }, 98 "GetConnectionRequest" : { 99 "type" : "structure", 100 "members" : { 101 "ConnectionId" : { 102 "shape" : "__string", 103 "location" : "uri", 104 "locationName" : "connectionId" 105 } 106 }, 107 "required" : [ "ConnectionId" ] 108 }, 109 "GetConnectionResponse" : { 110 "type" : "structure", 111 "members" : { 112 "ConnectedAt" : { 113 "shape" : "__timestampIso8601", 114 "locationName" : "connectedAt" 115 }, 116 "Identity" : { 117 "shape" : "Identity", 118 "locationName" : "identity" 119 }, 120 "LastActiveAt" : { 121 "shape" : "__timestampIso8601", 122 "locationName" : "lastActiveAt" 123 } 124 } 125 }, 126 "GoneException" : { 127 "type" : "structure", 128 "members" : { }, 129 "exception" : true, 130 "error" : { 131 "httpStatusCode" : 410 132 } 133 }, 134 "Identity" : { 135 "type" : "structure", 136 "members" : { 137 "SourceIp" : { 138 "shape" : "__string", 139 "locationName" : "sourceIp" 140 }, 141 "UserAgent" : { 142 "shape" : "__string", 143 "locationName" : "userAgent" 144 } 145 }, 146 "required" : [ "SourceIp", "UserAgent" ] 147 }, 148 "PayloadTooLargeException" : { 149 "type" : "structure", 150 "members" : { 151 "Message" : { 152 "shape" : "__string", 153 "locationName" : "message" 154 } 155 }, 156 "exception" : true, 157 "error" : { 158 "httpStatusCode" : 413 159 } 160 }, 161 "PostToConnectionRequest" : { 162 "type" : "structure", 163 "members" : { 164 "Data" : { 165 "shape" : "Data" 166 }, 167 "ConnectionId" : { 168 "shape" : "__string", 169 "location" : "uri", 170 "locationName" : "connectionId" 171 } 172 }, 173 "required" : [ "ConnectionId", "Data" ], 174 "payload" : "Data" 175 }, 176 "LimitExceededException" : { 177 "type" : "structure", 178 "members" : { }, 179 "exception" : true, 180 "error" : { 181 "httpStatusCode" : 429 182 } 183 }, 184 "__string" : { 185 "type" : "string" 186 }, 187 "__timestampIso8601" : { 188 "type" : "timestamp", 189 "timestampFormat" : "iso8601" 190 } 191 } 192 }