@@ -134,7 +134,9 @@ export class API extends ParentAPI {
134134 )
135135
136136 /**
137- * List hubs.
137+ * List hubs. List all Hubs in the specified zone. By default, returned Hubs
138+ * are ordered by creation date in ascending order, though this can be
139+ * modified via the `order_by` field.
138140 *
139141 * @param request - The request {@link ListHubsRequest}
140142 * @returns A Promise of ListHubsResponse
@@ -143,7 +145,8 @@ export class API extends ParentAPI {
143145 enrichForPagination ( 'hubs' , this . pageOfListHubs , request )
144146
145147 /**
146- * Create a hub.
148+ * Create a hub. Create a new Hub in the targeted region, specifying its
149+ * configuration including name and product plan.
147150 *
148151 * @param request - The request {@link CreateHubRequest}
149152 * @returns A Promise of Hub
@@ -165,7 +168,9 @@ export class API extends ParentAPI {
165168 )
166169
167170 /**
168- * Get a hub.
171+ * Get a hub. Retrieve information about an existing IoT Hub, specified by its
172+ * Hub ID. Its full details, including name, status and endpoint, are returned
173+ * in the response object.
169174 *
170175 * @param request - The request {@link GetHubRequest}
171176 * @returns A Promise of Hub
@@ -202,7 +207,8 @@ export class API extends ParentAPI {
202207 )
203208
204209 /**
205- * Update a hub.
210+ * Update a hub. Update the parameters of an existing IoT Hub, specified by
211+ * its Hub ID.
206212 *
207213 * @param request - The request {@link UpdateHubRequest}
208214 * @returns A Promise of Hub
@@ -224,7 +230,7 @@ export class API extends ParentAPI {
224230 )
225231
226232 /**
227- * Enable a hub.
233+ * Enable a hub. Enable an existing IoT Hub, specified by its Hub ID.
228234 *
229235 * @param request - The request {@link EnableHubRequest}
230236 * @returns A Promise of Hub
@@ -244,7 +250,7 @@ export class API extends ParentAPI {
244250 )
245251
246252 /**
247- * Disable a hub.
253+ * Disable a hub. Disable an existing IoT Hub, specified by its Hub ID.
248254 *
249255 * @param request - The request {@link DisableHubRequest}
250256 * @returns A Promise of Hub
@@ -264,7 +270,8 @@ export class API extends ParentAPI {
264270 )
265271
266272 /**
267- * Delete a hub.
273+ * Delete a hub. Delete an existing IoT Hub, specified by its Hub ID. Deleting
274+ * a Hub is permanent, and cannot be undone.
268275 *
269276 * @param request - The request {@link DeleteHubRequest}
270277 */
@@ -299,7 +306,8 @@ export class API extends ParentAPI {
299306 )
300307
301308 /**
302- * Set the certificate authority of a hub.
309+ * Set the certificate authority of a hub. Set a particular PEM-encoded
310+ * certificate, specified by the Hub ID.
303311 *
304312 * @param request - The request {@link SetHubCARequest}
305313 * @returns A Promise of Hub
@@ -321,7 +329,8 @@ export class API extends ParentAPI {
321329 )
322330
323331 /**
324- * Get the certificate authority of a hub.
332+ * Get the certificate authority of a hub. Get information for a particular
333+ * PEM-encoded certificate, specified by the Hub ID.
325334 *
326335 * @param request - The request {@link GetHubCARequest}
327336 * @returns A Promise of GetHubCAResponse
@@ -363,7 +372,9 @@ export class API extends ParentAPI {
363372 )
364373
365374 /**
366- * List devices.
375+ * List devices. List all devices in the specified region. By default,
376+ * returned devices are ordered by creation date in ascending order, though
377+ * this can be modified via the `order_by` field.
367378 *
368379 * @param request - The request {@link ListDevicesRequest}
369380 * @returns A Promise of ListDevicesResponse
@@ -372,7 +383,7 @@ export class API extends ParentAPI {
372383 enrichForPagination ( 'devices' , this . pageOfListDevices , request )
373384
374385 /**
375- * Add a device.
386+ * Add a device. Attach a device to a given Hub.
376387 *
377388 * @param request - The request {@link CreateDeviceRequest}
378389 * @returns A Promise of CreateDeviceResponse
@@ -394,7 +405,9 @@ export class API extends ParentAPI {
394405 )
395406
396407 /**
397- * Get a device.
408+ * Get a device. Retrieve information about an existing device, specified by
409+ * its device ID. Its full details, including name, status and ID, are
410+ * returned in the response object.
398411 *
399412 * @param request - The request {@link GetDeviceRequest}
400413 * @returns A Promise of Device
@@ -412,7 +425,8 @@ export class API extends ParentAPI {
412425 )
413426
414427 /**
415- * Update a device.
428+ * Update a device. Update the parameters of an existing device, specified by
429+ * its device ID.
416430 *
417431 * @param request - The request {@link UpdateDeviceRequest}
418432 * @returns A Promise of Device
@@ -434,7 +448,7 @@ export class API extends ParentAPI {
434448 )
435449
436450 /**
437- * Enable a device.
451+ * Enable a device. Enable a specific device, specified by its device ID.
438452 *
439453 * @param request - The request {@link EnableDeviceRequest}
440454 * @returns A Promise of Device
@@ -454,7 +468,7 @@ export class API extends ParentAPI {
454468 )
455469
456470 /**
457- * Disable a device.
471+ * Disable a device. Disable an existing device, specified by its device ID.
458472 *
459473 * @param request - The request {@link DisableDeviceRequest}
460474 * @returns A Promise of Device
@@ -474,7 +488,8 @@ export class API extends ParentAPI {
474488 )
475489
476490 /**
477- * Renew a device certificate.
491+ * Renew a device certificate. Renew the certificate of an existing device,
492+ * specified by its device ID.
478493 *
479494 * @param request - The request {@link RenewDeviceCertificateRequest}
480495 * @returns A Promise of RenewDeviceCertificateResponse
@@ -497,7 +512,8 @@ export class API extends ParentAPI {
497512 )
498513
499514 /**
500- * Set a custom certificate on a device.
515+ * Set a custom certificate on a device. Switch the existing certificate of a
516+ * given device with an EM-encoded custom certificate.
501517 *
502518 * @param request - The request {@link SetDeviceCertificateRequest}
503519 * @returns A Promise of SetDeviceCertificateResponse
@@ -522,7 +538,9 @@ export class API extends ParentAPI {
522538 )
523539
524540 /**
525- * Get a device's certificate.
541+ * Get a device's certificate. Get information for a particular PEM-encoded
542+ * certificate, specified by the device ID. The response returns full details
543+ * of the device, including its type of certificate.
526544 *
527545 * @param request - The request {@link GetDeviceCertificateRequest}
528546 * @returns A Promise of GetDeviceCertificateResponse
@@ -543,7 +561,8 @@ export class API extends ParentAPI {
543561 )
544562
545563 /**
546- * Remove a device.
564+ * Remove a device. Remove a specific device from the specific Hub it is
565+ * attached to.
547566 *
548567 * @param request - The request {@link DeleteDeviceRequest}
549568 */
@@ -599,7 +618,9 @@ export class API extends ParentAPI {
599618 )
600619
601620 /**
602- * List routes.
621+ * List routes. List all routes in the specified region. By default, returned
622+ * routes are ordered by creation date in ascending order, though this can be
623+ * modified via the `order_by` field.
603624 *
604625 * @param request - The request {@link ListRoutesRequest}
605626 * @returns A Promise of ListRoutesResponse
@@ -608,15 +629,15 @@ export class API extends ParentAPI {
608629 enrichForPagination ( 'routes' , this . pageOfListRoutes , request )
609630
610631 /**
611- * Create a route. Multiple route kinds can be created:
632+ * Create a route. Multiple kinds of routes can be created, such as :
612633 *
613- * - Database Route. Create a route that will record subscribed MQTT messages
634+ * - Database Route Create a route that will record subscribed MQTT messages
614635 * into your database. <b>You need to manage the database by yourself</b>.
615636 * - REST Route. Create a route that will call a REST API on received subscribed
616637 * MQTT messages.
617638 * - S3 Routes. Create a route that will put subscribed MQTT messages into an S3
618- * bucket. You need to create the bucket yourself and grant us write access.
619- * The grant can be done with s3cmd (`s3cmd setacl s3://<my-bucket>
639+ * bucket. You need to create the bucket yourself and grant write access.
640+ * Granting can be done with s3cmd (`s3cmd setacl s3://<my-bucket>
620641 * --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031`).
621642 *
622643 * @param request - The request {@link CreateRouteRequest}
@@ -639,7 +660,8 @@ export class API extends ParentAPI {
639660 )
640661
641662 /**
642- * Update a route.
663+ * Update a route. Update the parameters of an existing route, specified by
664+ * its route ID.
643665 *
644666 * @param request - The request {@link UpdateRouteRequest}
645667 * @returns A Promise of Route
@@ -661,7 +683,9 @@ export class API extends ParentAPI {
661683 )
662684
663685 /**
664- * Get a route.
686+ * Get a route. Get information for a particular route, specified by the route
687+ * ID. The response returns full details of the route, including its type, the
688+ * topic it subscribes to and its configuration.
665689 *
666690 * @param request - The request {@link GetRouteRequest}
667691 * @returns A Promise of Route
@@ -679,7 +703,8 @@ export class API extends ParentAPI {
679703 )
680704
681705 /**
682- * Delete a route.
706+ * Delete a route. Delete an existing route, specified by its route ID.
707+ * Deleting a route is permanent, and cannot be undone.
683708 *
684709 * @param request - The request {@link DeleteRouteRequest}
685710 */
0 commit comments