| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2015-05-28",
- "endpointPrefix":"data.iot",
- "protocol":"rest-json",
- "serviceFullName":"AWS IoT Data Plane",
- "signatureVersion":"v4",
- "signingName":"iotdata"
- },
- "operations":{
- "DeleteThingShadow":{
- "name":"DeleteThingShadow",
- "http":{
- "method":"DELETE",
- "requestUri":"/things/{thingName}/shadow"
- },
- "input":{"shape":"DeleteThingShadowRequest"},
- "output":{"shape":"DeleteThingShadowResponse"},
- "errors":[
- {"shape":"ResourceNotFoundException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ThrottlingException"},
- {"shape":"UnauthorizedException"},
- {"shape":"ServiceUnavailableException"},
- {"shape":"InternalFailureException"},
- {"shape":"MethodNotAllowedException"},
- {"shape":"UnsupportedDocumentEncodingException"}
- ]
- },
- "GetThingShadow":{
- "name":"GetThingShadow",
- "http":{
- "method":"GET",
- "requestUri":"/things/{thingName}/shadow"
- },
- "input":{"shape":"GetThingShadowRequest"},
- "output":{"shape":"GetThingShadowResponse"},
- "errors":[
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ThrottlingException"},
- {"shape":"UnauthorizedException"},
- {"shape":"ServiceUnavailableException"},
- {"shape":"InternalFailureException"},
- {"shape":"MethodNotAllowedException"},
- {"shape":"UnsupportedDocumentEncodingException"}
- ]
- },
- "Publish":{
- "name":"Publish",
- "http":{
- "method":"POST",
- "requestUri":"/topics/{topic}"
- },
- "input":{"shape":"PublishRequest"},
- "errors":[
- {"shape":"InternalFailureException"},
- {"shape":"InvalidRequestException"},
- {"shape":"UnauthorizedException"},
- {"shape":"MethodNotAllowedException"}
- ]
- },
- "UpdateThingShadow":{
- "name":"UpdateThingShadow",
- "http":{
- "method":"POST",
- "requestUri":"/things/{thingName}/shadow"
- },
- "input":{"shape":"UpdateThingShadowRequest"},
- "output":{"shape":"UpdateThingShadowResponse"},
- "errors":[
- {"shape":"ConflictException"},
- {"shape":"RequestEntityTooLargeException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ThrottlingException"},
- {"shape":"UnauthorizedException"},
- {"shape":"ServiceUnavailableException"},
- {"shape":"InternalFailureException"},
- {"shape":"MethodNotAllowedException"},
- {"shape":"UnsupportedDocumentEncodingException"}
- ]
- }
- },
- "shapes":{
- "ConflictException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "DeleteThingShadowRequest":{
- "type":"structure",
- "required":["thingName"],
- "members":{
- "thingName":{
- "shape":"ThingName",
- "location":"uri",
- "locationName":"thingName"
- }
- }
- },
- "DeleteThingShadowResponse":{
- "type":"structure",
- "required":["payload"],
- "members":{
- "payload":{"shape":"JsonDocument"}
- },
- "payload":"payload"
- },
- "ErrorMessage":{"type":"string"},
- "GetThingShadowRequest":{
- "type":"structure",
- "required":["thingName"],
- "members":{
- "thingName":{
- "shape":"ThingName",
- "location":"uri",
- "locationName":"thingName"
- }
- }
- },
- "GetThingShadowResponse":{
- "type":"structure",
- "members":{
- "payload":{"shape":"JsonDocument"}
- },
- "payload":"payload"
- },
- "InternalFailureException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":500},
- "exception":true,
- "fault":true
- },
- "InvalidRequestException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "JsonDocument":{"type":"blob"},
- "MethodNotAllowedException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":405},
- "exception":true
- },
- "Payload":{"type":"blob"},
- "PublishRequest":{
- "type":"structure",
- "required":["topic"],
- "members":{
- "topic":{
- "shape":"Topic",
- "location":"uri",
- "locationName":"topic"
- },
- "qos":{
- "shape":"Qos",
- "location":"querystring",
- "locationName":"qos"
- },
- "payload":{"shape":"Payload"}
- },
- "payload":"payload"
- },
- "Qos":{
- "type":"integer",
- "max":1,
- "min":0
- },
- "RequestEntityTooLargeException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":413},
- "exception":true
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":404},
- "exception":true
- },
- "ServiceUnavailableException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":503},
- "exception":true,
- "fault":true
- },
- "ThingName":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"[a-zA-Z0-9_-]+"
- },
- "ThrottlingException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":429},
- "exception":true
- },
- "Topic":{"type":"string"},
- "UnauthorizedException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":401},
- "exception":true
- },
- "UnsupportedDocumentEncodingException":{
- "type":"structure",
- "members":{
- "message":{"shape":"errorMessage"}
- },
- "error":{"httpStatusCode":415},
- "exception":true
- },
- "UpdateThingShadowRequest":{
- "type":"structure",
- "required":[
- "thingName",
- "payload"
- ],
- "members":{
- "thingName":{
- "shape":"ThingName",
- "location":"uri",
- "locationName":"thingName"
- },
- "payload":{"shape":"JsonDocument"}
- },
- "payload":"payload"
- },
- "UpdateThingShadowResponse":{
- "type":"structure",
- "members":{
- "payload":{"shape":"JsonDocument"}
- },
- "payload":"payload"
- },
- "errorMessage":{"type":"string"}
- }
- }
|