|
2527 | 2527 | ],
|
2528 | 2528 | "documentation":"<p>Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type <code>String</code>, only the count statistic is returned.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">GetStatistics</a> action.</p>"
|
2529 | 2529 | },
|
| 2530 | + "GetThingConnectivityData":{ |
| 2531 | + "name":"GetThingConnectivityData", |
| 2532 | + "http":{ |
| 2533 | + "method":"POST", |
| 2534 | + "requestUri":"/things/{thingName}/connectivity-data" |
| 2535 | + }, |
| 2536 | + "input":{"shape":"GetThingConnectivityDataRequest"}, |
| 2537 | + "output":{"shape":"GetThingConnectivityDataResponse"}, |
| 2538 | + "errors":[ |
| 2539 | + {"shape":"InvalidRequestException"}, |
| 2540 | + {"shape":"ThrottlingException"}, |
| 2541 | + {"shape":"UnauthorizedException"}, |
| 2542 | + {"shape":"ServiceUnavailableException"}, |
| 2543 | + {"shape":"InternalFailureException"}, |
| 2544 | + {"shape":"ResourceNotFoundException"}, |
| 2545 | + {"shape":"IndexNotReadyException"} |
| 2546 | + ], |
| 2547 | + "documentation":"<p>Retrieves the live connectivity status per device.</p>" |
| 2548 | + }, |
2530 | 2549 | "GetTopicRule":{
|
2531 | 2550 | "name":"GetTopicRule",
|
2532 | 2551 | "http":{
|
|
2799 | 2818 | {"shape":"ThrottlingException"},
|
2800 | 2819 | {"shape":"InternalServerException"}
|
2801 | 2820 | ],
|
2802 |
| - "documentation":"<p>List all command executions.</p> <important> <p>You must provide only the <code>startedTimeFilter</code> or the <code>completedTimeFilter</code> information. If you provide both time filters, the API will generate an error. You can use this information to find command executions that started within a specific timeframe.</p> </important>" |
| 2821 | + "documentation":"<p>List all command executions.</p> <important> <ul> <li> <p>You must provide only the <code>startedTimeFilter</code> or the <code>completedTimeFilter</code> information. If you provide both time filters, the API will generate an error. You can use this information to retrieve a list of command executions within a specific timeframe.</p> </li> <li> <p>You must provide only the <code>commandArn</code> or the <code>thingArn</code> information depending on whether you want to list executions for a specific command or an IoT thing. If you provide both fields, the API will generate an error.</p> </li> </ul> <p>For more information about considerations for using this API, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-remote-command-execution-start-monitor.html#iot-remote-command-execution-list-cli\">List command executions in your account (CLI)</a>.</p> </important>" |
2803 | 2822 | },
|
2804 | 2823 | "ListCommands":{
|
2805 | 2824 | "name":"ListCommands",
|
|
7242 | 7261 | "max":128,
|
7243 | 7262 | "pattern":"[a-zA-Z0-9:.]+"
|
7244 | 7263 | },
|
| 7264 | + "ConnectivityApiThingName":{ |
| 7265 | + "type":"string", |
| 7266 | + "max":128, |
| 7267 | + "min":1, |
| 7268 | + "pattern":"[a-zA-Z0-9:_-]+", |
| 7269 | + "sensitive":true |
| 7270 | + }, |
7245 | 7271 | "ConnectivityTimestamp":{"type":"long"},
|
7246 | 7272 | "ConsecutiveDatapointsToAlarm":{
|
7247 | 7273 | "type":"integer",
|
|
7504 | 7530 | },
|
7505 | 7531 | "roleArn":{
|
7506 | 7532 | "shape":"RoleArn",
|
7507 |
| - "documentation":"<p>The IAM role that allows access to create the command.</p>" |
| 7533 | + "documentation":"<p>The IAM role that you must provide when using the <code>AWS-IoT-FleetWise</code> namespace. The role grants IoT Device Management the permission to access IoT FleetWise resources for generating the payload for the command. This field is not required when you use the <code>AWS-IoT</code> namespace.</p>" |
7508 | 7534 | },
|
7509 | 7535 | "tags":{
|
7510 | 7536 | "shape":"TagList",
|
|
11429 | 11455 | }
|
11430 | 11456 | },
|
11431 | 11457 | "DisconnectReason":{"type":"string"},
|
| 11458 | + "DisconnectReasonValue":{ |
| 11459 | + "type":"string", |
| 11460 | + "enum":[ |
| 11461 | + "AUTH_ERROR", |
| 11462 | + "CLIENT_INITIATED_DISCONNECT", |
| 11463 | + "CLIENT_ERROR", |
| 11464 | + "CONNECTION_LOST", |
| 11465 | + "DUPLICATE_CLIENTID", |
| 11466 | + "FORBIDDEN_ACCESS", |
| 11467 | + "MQTT_KEEP_ALIVE_TIMEOUT", |
| 11468 | + "SERVER_ERROR", |
| 11469 | + "SERVER_INITIATED_DISCONNECT", |
| 11470 | + "THROTTLED", |
| 11471 | + "WEBSOCKET_TTL_EXPIRATION", |
| 11472 | + "CUSTOMAUTH_TTL_EXPIRATION", |
| 11473 | + "UNKNOWN", |
| 11474 | + "NONE" |
| 11475 | + ] |
| 11476 | + }, |
11432 | 11477 | "DisplayName":{
|
11433 | 11478 | "type":"string",
|
11434 | 11479 | "max":64,
|
|
12192 | 12237 | },
|
12193 | 12238 | "timeToLive":{
|
12194 | 12239 | "shape":"DateType",
|
12195 |
| - "documentation":"<p>The time to live (TTL) parameter for the <code>GetCommandExecution</code> API.</p>" |
| 12240 | + "documentation":"<p>The time to live (TTL) parameter that indicates the duration for which executions will be retained in your account. The default value is six months.</p>" |
12196 | 12241 | }
|
12197 | 12242 | }
|
12198 | 12243 | },
|
|
12241 | 12286 | },
|
12242 | 12287 | "roleArn":{
|
12243 | 12288 | "shape":"RoleArn",
|
12244 |
| - "documentation":"<p>The IAM role that allows access to retrieve information about the command.</p>" |
| 12289 | + "documentation":"<p>The IAM role that you provided when creating the command with <code>AWS-IoT-FleetWise</code> as the namespace.</p>" |
12245 | 12290 | },
|
12246 | 12291 | "createdAt":{
|
12247 | 12292 | "shape":"DateType",
|
|
12697 | 12742 | }
|
12698 | 12743 | }
|
12699 | 12744 | },
|
| 12745 | + "GetThingConnectivityDataRequest":{ |
| 12746 | + "type":"structure", |
| 12747 | + "required":["thingName"], |
| 12748 | + "members":{ |
| 12749 | + "thingName":{ |
| 12750 | + "shape":"ConnectivityApiThingName", |
| 12751 | + "documentation":"<p>The name of your IoT thing.</p>", |
| 12752 | + "location":"uri", |
| 12753 | + "locationName":"thingName" |
| 12754 | + } |
| 12755 | + } |
| 12756 | + }, |
| 12757 | + "GetThingConnectivityDataResponse":{ |
| 12758 | + "type":"structure", |
| 12759 | + "members":{ |
| 12760 | + "thingName":{ |
| 12761 | + "shape":"ConnectivityApiThingName", |
| 12762 | + "documentation":"<p>The name of your IoT thing.</p>" |
| 12763 | + }, |
| 12764 | + "connected":{ |
| 12765 | + "shape":"Boolean", |
| 12766 | + "documentation":"<p>A Boolean that indicates the connectivity status.</p>" |
| 12767 | + }, |
| 12768 | + "timestamp":{ |
| 12769 | + "shape":"Timestamp", |
| 12770 | + "documentation":"<p>The timestamp of when the event occurred.</p>" |
| 12771 | + }, |
| 12772 | + "disconnectReason":{ |
| 12773 | + "shape":"DisconnectReasonValue", |
| 12774 | + "documentation":"<p>The reason why the client is disconnecting.</p>" |
| 12775 | + } |
| 12776 | + } |
| 12777 | + }, |
12700 | 12778 | "GetTopicRuleDestinationRequest":{
|
12701 | 12779 | "type":"structure",
|
12702 | 12780 | "required":["arn"],
|
|
0 commit comments