1{ 2 "version" : "2.0", 3 "service" : "<p>Stub description</p>", 4 "operations" : { 5 "ClaimDevicesByClaimCode" : "<p>Adds device(s) to your account (i.e., claim one or more devices) if and only if\n you received a claim code with the device(s).</p>", 6 "DescribeDevice" : "<p>Given a device ID, returns a DescribeDeviceResponse object describing\n the details of the device.</p>", 7 "FinalizeDeviceClaim" : "<p>Given a device ID, finalizes the claim request for the associated device.</p><note>\n <p>Claiming a device consists of initiating a claim, then publishing a device\n event, and finalizing the claim. For a device of type button, a\n device event can be published by simply clicking the device.</p>\n </note>", 8 "GetDeviceMethods" : "<p>Given a device ID, returns the invokable methods associated with the\n device.</p>", 9 "InitiateDeviceClaim" : "<p>Given a device ID, initiates a claim request for the associated device.</p><note>\n <p>Claiming a device consists of initiating a claim, then publishing a device\n event, and finalizing the claim. For a device of type button, a\n device event can be published by simply clicking the device.</p>\n </note>", 10 "InvokeDeviceMethod" : "<p>Given a device ID, issues a request to invoke a named device method (with possible\n parameters). See the \"Example POST\" code snippet below.</p>", 11 "ListDeviceEvents" : "<p>Using a device ID, returns a DeviceEventsResponse object containing\n an array of events for the device.</p>", 12 "ListDevices" : "<p>Lists the 1-Click compatible devices associated with your AWS account.</p>", 13 "UnclaimDevice" : "<p>Disassociates a device from your AWS account using its device ID.</p>", 14 "UpdateDeviceState" : "<p>Using a Boolean value (true or false), this operation\n enables or disables the device given a device ID.</p>" 15 }, 16 "shapes" : { 17 "Attributes" : { 18 "base" : null, 19 "refs" : { 20 "Device$Attributes" : "<p>The user specified attributes associated with the device for an event.</p>" 21 } 22 }, 23 "ClaimDevicesByClaimCodeResponse" : { 24 "base" : null, 25 "refs" : { } 26 }, 27 "DescribeDeviceResponse" : { 28 "base" : null, 29 "refs" : { } 30 }, 31 "Device" : { 32 "base" : null, 33 "refs" : { 34 "DeviceEvent$Device" : "<p>An object representing the device associated with the event.</p>" 35 } 36 }, 37 "DeviceAttributes" : { 38 "base" : "<p>\n DeviceAttributes is a string-to-string map specified by the user.</p>", 39 "refs" : { 40 "DeviceDescription$Attributes" : "<p>An array of zero or more elements of DeviceAttribute objects\n providing user specified device attributes.</p>" 41 } 42 }, 43 "DeviceClaimResponse" : { 44 "base" : null, 45 "refs" : { } 46 }, 47 "DeviceDescription" : { 48 "base" : null, 49 "refs" : { 50 "DescribeDeviceResponse$DeviceDescription" : "<p>Device details.</p>", 51 "__listOfDeviceDescription$member" : null 52 } 53 }, 54 "DeviceEvent" : { 55 "base" : null, 56 "refs" : { 57 "__listOfDeviceEvent$member" : null 58 } 59 }, 60 "DeviceEventsResponse" : { 61 "base" : null, 62 "refs" : { } 63 }, 64 "DeviceMethod" : { 65 "base" : null, 66 "refs" : { 67 "InvokeDeviceMethodRequest$DeviceMethod" : "<p>The device method to invoke.</p>", 68 "__listOfDeviceMethod$member" : null 69 } 70 }, 71 "Empty" : { 72 "base" : "<p>On success, an empty object is returned.</p>", 73 "refs" : { } 74 }, 75 "ForbiddenException" : { 76 "base" : null, 77 "refs" : { } 78 }, 79 "GetDeviceMethodsResponse" : { 80 "base" : null, 81 "refs" : { } 82 }, 83 "InternalFailureException" : { 84 "base" : null, 85 "refs" : { } 86 }, 87 "InvalidRequestException" : { 88 "base" : null, 89 "refs" : { } 90 }, 91 "InvokeDeviceMethodRequest" : { 92 "base" : null, 93 "refs" : { } 94 }, 95 "InvokeDeviceMethodResponse" : { 96 "base" : null, 97 "refs" : { } 98 }, 99 "ListDevicesResponse" : { 100 "base" : null, 101 "refs" : { } 102 }, 103 "PreconditionFailedException" : { 104 "base" : null, 105 "refs" : { } 106 }, 107 "RangeNotSatisfiableException" : { 108 "base" : null, 109 "refs" : { } 110 }, 111 "ResourceConflictException" : { 112 "base" : null, 113 "refs" : { } 114 }, 115 "ResourceNotFoundException" : { 116 "base" : null, 117 "refs" : { } 118 }, 119 "UpdateDeviceStateRequest" : { 120 "base" : null, 121 "refs" : { } 122 }, 123 "__boolean" : { 124 "base" : null, 125 "refs" : { 126 "DeviceDescription$Enabled" : "<p>A Boolean value indicating whether or not the device is enabled.</p>", 127 "UpdateDeviceStateRequest$Enabled" : "<p>If true, the device is enabled. If false, the device is\n disabled.</p>" 128 } 129 }, 130 "__doubleMin0Max100" : { 131 "base" : null, 132 "refs" : { 133 "DeviceDescription$RemainingLife" : "<p>A value between 0 and 1 inclusive, representing the fraction of life remaining for\n the device.</p>" 134 } 135 }, 136 "__integer" : { 137 "base" : null, 138 "refs" : { 139 "ClaimDevicesByClaimCodeResponse$Total" : "<p>The total number of devices associated with the claim code that has been processed\n in the claim request.</p>" 140 } 141 }, 142 "__listOfDeviceDescription" : { 143 "base" : null, 144 "refs" : { 145 "ListDevicesResponse$Devices" : "<p>A list of devices.</p>" 146 } 147 }, 148 "__listOfDeviceEvent" : { 149 "base" : null, 150 "refs" : { 151 "DeviceEventsResponse$Events" : "<p>An array of zero or more elements describing the event(s) associated with the\n device.</p>" 152 } 153 }, 154 "__listOfDeviceMethod" : { 155 "base" : null, 156 "refs" : { 157 "GetDeviceMethodsResponse$DeviceMethods" : "<p>List of available device APIs.</p>" 158 } 159 }, 160 "__string" : { 161 "base" : null, 162 "refs" : { 163 "Device$DeviceId" : "<p>The unique identifier of the device.</p>", 164 "Device$Type" : "<p>The device type, such as \"button\".</p>", 165 "DeviceAttributes$member" : null, 166 "DeviceClaimResponse$State" : "<p>The device's final claim state.</p>", 167 "DeviceDescription$DeviceId" : "<p>The unique identifier of the device.</p>", 168 "DeviceDescription$Type" : "<p>The type of the device, such as \"button\".</p>", 169 "DeviceEvent$StdEvent" : "<p>A serialized JSON object representing the device-type specific event.</p>", 170 "DeviceEventsResponse$NextToken" : "<p>The token to retrieve the next set of results.</p>", 171 "DeviceMethod$DeviceType" : "<p>The type of the device, such as \"button\".</p>", 172 "DeviceMethod$MethodName" : "<p>The name of the method applicable to the deviceType.</p>", 173 "ForbiddenException$Code" : "<p>403</p>", 174 "ForbiddenException$Message" : "<p>The 403 error message returned by the web server.</p>", 175 "InternalFailureException$Code" : "<p>500</p>", 176 "InternalFailureException$Message" : "<p>The 500 error message returned by the web server.</p>", 177 "InvalidRequestException$Code" : "<p>400</p>", 178 "InvalidRequestException$Message" : "<p>The 400 error message returned by the web server.</p>", 179 "InvokeDeviceMethodRequest$DeviceMethodParameters" : "<p>A JSON encoded string containing the device method request parameters.</p>", 180 "InvokeDeviceMethodResponse$DeviceMethodResponse" : "<p>A JSON encoded string containing the device method response.</p>", 181 "ListDevicesResponse$NextToken" : "<p>The token to retrieve the next set of results.</p>", 182 "PreconditionFailedException$Code" : "<p>412</p>", 183 "PreconditionFailedException$Message" : "<p>An error message explaining the error or its remedy.</p>", 184 "RangeNotSatisfiableException$Code" : "<p>416</p>", 185 "RangeNotSatisfiableException$Message" : "<p>The requested number of results specified by nextToken cannot be\n satisfied.</p>", 186 "ResourceConflictException$Code" : "<p>409</p>", 187 "ResourceConflictException$Message" : "<p>An error message explaining the error or its remedy.</p>", 188 "ResourceNotFoundException$Code" : "<p>404</p>", 189 "ResourceNotFoundException$Message" : "<p>The requested device could not be found.</p>" 190 } 191 }, 192 "__stringMin12Max40" : { 193 "base" : null, 194 "refs" : { 195 "ClaimDevicesByClaimCodeResponse$ClaimCode" : "<p>The claim code provided by the device manufacturer.</p>" 196 } 197 } 198 } 199}