Skip to content

Commit b69ffde

Browse files
author
AWS
committed
AWS IoT Update: Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata.
1 parent c69cbc8 commit b69ffde

File tree

2 files changed

+88
-4
lines changed

2 files changed

+88
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT",
4+
"contributor": "",
5+
"description": "Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata."
6+
}

services/iot/src/main/resources/codegen-resources/service-2.json

Lines changed: 82 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,25 @@
25272527
],
25282528
"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>"
25292529
},
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+
},
25302549
"GetTopicRule":{
25312550
"name":"GetTopicRule",
25322551
"http":{
@@ -2799,7 +2818,7 @@
27992818
{"shape":"ThrottlingException"},
28002819
{"shape":"InternalServerException"}
28012820
],
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>"
28032822
},
28042823
"ListCommands":{
28052824
"name":"ListCommands",
@@ -7242,6 +7261,13 @@
72427261
"max":128,
72437262
"pattern":"[a-zA-Z0-9:.]+"
72447263
},
7264+
"ConnectivityApiThingName":{
7265+
"type":"string",
7266+
"max":128,
7267+
"min":1,
7268+
"pattern":"[a-zA-Z0-9:_-]+",
7269+
"sensitive":true
7270+
},
72457271
"ConnectivityTimestamp":{"type":"long"},
72467272
"ConsecutiveDatapointsToAlarm":{
72477273
"type":"integer",
@@ -7504,7 +7530,7 @@
75047530
},
75057531
"roleArn":{
75067532
"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>"
75087534
},
75097535
"tags":{
75107536
"shape":"TagList",
@@ -11429,6 +11455,25 @@
1142911455
}
1143011456
},
1143111457
"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+
},
1143211477
"DisplayName":{
1143311478
"type":"string",
1143411479
"max":64,
@@ -12192,7 +12237,7 @@
1219212237
},
1219312238
"timeToLive":{
1219412239
"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>"
1219612241
}
1219712242
}
1219812243
},
@@ -12241,7 +12286,7 @@
1224112286
},
1224212287
"roleArn":{
1224312288
"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>"
1224512290
},
1224612291
"createdAt":{
1224712292
"shape":"DateType",
@@ -12697,6 +12742,39 @@
1269712742
}
1269812743
}
1269912744
},
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+
},
1270012778
"GetTopicRuleDestinationRequest":{
1270112779
"type":"structure",
1270212780
"required":["arn"],

0 commit comments

Comments
 (0)