|
13 | 13 | "auth":["aws.auth#sigv4"]
|
14 | 14 | },
|
15 | 15 | "operations":{
|
| 16 | + "DeleteConnection":{ |
| 17 | + "name":"DeleteConnection", |
| 18 | + "http":{ |
| 19 | + "method":"DELETE", |
| 20 | + "requestUri":"/connections/{clientId}" |
| 21 | + }, |
| 22 | + "input":{"shape":"DeleteConnectionRequest"}, |
| 23 | + "errors":[ |
| 24 | + {"shape":"ForbiddenException"}, |
| 25 | + {"shape":"ResourceNotFoundException"}, |
| 26 | + {"shape":"InvalidRequestException"}, |
| 27 | + {"shape":"ThrottlingException"}, |
| 28 | + {"shape":"InternalFailureException"} |
| 29 | + ], |
| 30 | + "documentation":"<p>Disconnects a connected MQTT client from Amazon Web Services IoT Core. When you disconnect a client, Amazon Web Services IoT Core closes the client's network connection and optionally cleans the session state.</p>" |
| 31 | + }, |
16 | 32 | "DeleteThingShadow":{
|
17 | 33 | "name":"DeleteThingShadow",
|
18 | 34 | "http":{
|
|
50 | 66 | {"shape":"InternalFailureException"},
|
51 | 67 | {"shape":"MethodNotAllowedException"}
|
52 | 68 | ],
|
53 |
| - "documentation":"<p>Gets the details of a single retained message for the specified topic.</p> <p>This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_ListRetainedMessages.html\">ListRetainedMessages</a>.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions\">GetRetainedMessage</a> action.</p> <p>For more information about messaging costs, see <a href=\"http://aws.amazon.com/iot-core/pricing/#Messaging\">Amazon Web Services IoT Core pricing - Messaging</a>.</p>" |
| 69 | + "documentation":"<p>Gets the details of a single retained message for the specified topic.</p> <p>This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_ListRetainedMessages.html\">ListRetainedMessages</a>.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html\">GetRetainedMessage</a> action.</p> <p>For more information about messaging costs, see <a href=\"http://aws.amazon.com/iot-core/pricing/#Messaging\">Amazon Web Services IoT Core pricing - Messaging</a>.</p>" |
54 | 70 | },
|
55 | 71 | "GetThingShadow":{
|
56 | 72 | "name":"GetThingShadow",
|
|
107 | 123 | {"shape":"InternalFailureException"},
|
108 | 124 | {"shape":"MethodNotAllowedException"}
|
109 | 125 | ],
|
110 |
| - "documentation":"<p>Lists summary information about the retained messages stored for the account.</p> <p>This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs.</p> <p>To get the message payload of a retained message, call <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_GetRetainedMessage.html\">GetRetainedMessage</a> with the topic name of the retained message.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions\">ListRetainedMessages</a> action.</p> <p>For more information about messaging costs, see <a href=\"http://aws.amazon.com/iot-core/pricing/#Messaging\">Amazon Web Services IoT Core pricing - Messaging</a>.</p>" |
| 126 | + "documentation":"<p>Lists summary information about the retained messages stored for the account.</p> <p>This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs.</p> <p>To get the message payload of a retained message, call <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_GetRetainedMessage.html\">GetRetainedMessage</a> with the topic name of the retained message.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html\">ListRetainedMessages</a> action.</p> <p>For more information about messaging costs, see <a href=\"http://aws.amazon.com/iot-core/pricing/#Messaging\">Amazon Web Services IoT Core pricing - Messaging</a>.</p>" |
111 | 127 | },
|
112 | 128 | "Publish":{
|
113 | 129 | "name":"Publish",
|
|
148 | 164 | }
|
149 | 165 | },
|
150 | 166 | "shapes":{
|
| 167 | + "CleanSession":{"type":"boolean"}, |
| 168 | + "ClientId":{ |
| 169 | + "type":"string", |
| 170 | + "max":128, |
| 171 | + "min":1, |
| 172 | + "pattern":"^[^$].*" |
| 173 | + }, |
151 | 174 | "ConflictException":{
|
152 | 175 | "type":"structure",
|
153 | 176 | "members":{
|
|
162 | 185 | },
|
163 | 186 | "ContentType":{"type":"string"},
|
164 | 187 | "CorrelationData":{"type":"string"},
|
| 188 | + "DeleteConnectionRequest":{ |
| 189 | + "type":"structure", |
| 190 | + "required":["clientId"], |
| 191 | + "members":{ |
| 192 | + "clientId":{ |
| 193 | + "shape":"ClientId", |
| 194 | + "documentation":"<p>The unique identifier of the MQTT client to disconnect. The client ID can't start with a dollar sign ($).</p>", |
| 195 | + "location":"uri", |
| 196 | + "locationName":"clientId" |
| 197 | + }, |
| 198 | + "cleanSession":{ |
| 199 | + "shape":"CleanSession", |
| 200 | + "documentation":"<p>Specifies whether to remove the client's session state when disconnecting. Set to <code>TRUE</code> to delete all session information, including subscriptions and queued messages. Set to <code>FALSE</code> to preserve the session state. By default, this is set to <code>FALSE</code> (preserves the session state).</p>", |
| 201 | + "location":"querystring", |
| 202 | + "locationName":"cleanSession" |
| 203 | + }, |
| 204 | + "preventWillMessage":{ |
| 205 | + "shape":"PreventWillMessage", |
| 206 | + "documentation":"<p>Controls if Amazon Web Services IoT Core publishes the client's Last Will and Testament (LWT) message upon disconnection. Set to <code>TRUE</code> to prevent publishing the LWT message. Set to <code>FALSE</code> to allow publishing. By default, this is set to <code>FALSE</code> (allows publishing the LWT message).</p>", |
| 207 | + "location":"querystring", |
| 208 | + "locationName":"preventWillMessage" |
| 209 | + } |
| 210 | + } |
| 211 | + }, |
165 | 212 | "DeleteThingShadowRequest":{
|
166 | 213 | "type":"structure",
|
167 | 214 | "required":["thingName"],
|
|
193 | 240 | "documentation":"<p>The output from the DeleteThingShadow operation.</p>",
|
194 | 241 | "payload":"payload"
|
195 | 242 | },
|
| 243 | + "ForbiddenException":{ |
| 244 | + "type":"structure", |
| 245 | + "members":{ |
| 246 | + "message":{"shape":"errorMessage"} |
| 247 | + }, |
| 248 | + "documentation":"<p>The caller isn't authorized to make the request.</p>", |
| 249 | + "error":{"httpStatusCode":403}, |
| 250 | + "exception":true |
| 251 | + }, |
196 | 252 | "GetRetainedMessageRequest":{
|
197 | 253 | "type":"structure",
|
198 | 254 | "required":["topic"],
|
|
396 | 452 | ]
|
397 | 453 | },
|
398 | 454 | "PayloadSize":{"type":"long"},
|
| 455 | + "PreventWillMessage":{"type":"boolean"}, |
399 | 456 | "PublishRequest":{
|
400 | 457 | "type":"structure",
|
401 | 458 | "required":["topic"],
|
|
0 commit comments