AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the GetThingConnectivityData operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.IoT.Model.GetThingConnectivityDataResponse

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class GetThingConnectivityDataResponse : AmazonWebServiceResponse

The GetThingConnectivityDataResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CleanSession System.Nullable<System.Boolean>

Gets and sets the property CleanSession.

Indicates whether the client is using a clean session. Returns true for clean sessions.

Public Property ClientId System.String

Gets and sets the property ClientId.

The unique identifier of the MQTT client.

Public Property Connected System.Nullable<System.Boolean>

Gets and sets the property Connected.

A Boolean that indicates the connectivity status.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DisconnectReason Amazon.IoT.DisconnectReasonValue

Gets and sets the property DisconnectReason.

The reason that the client is disconnected.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property KeepAliveDuration System.Nullable<System.Int32>

Gets and sets the property KeepAliveDuration.

The keep-alive interval in seconds that the client specified when establishing the connection.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SessionExpiry System.Nullable<System.Int64>

Gets and sets the property SessionExpiry.

The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.

Public Property SourceIp System.String

Gets and sets the property SourceIp.

The IP address of the client that initiated the connection.

Public Property SourcePort System.Nullable<System.Int32>

Gets and sets the property SourcePort.

The client's source port.

Public Property TargetIp System.String

Gets and sets the property TargetIp.

The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.

Public Property TargetPort System.Nullable<System.Int32>

Gets and sets the property TargetPort.

The port number of the Amazon Web Services IoT Core endpoint that the client connected to.

Public Property ThingName System.String

Gets and sets the property ThingName.

The name of your IoT thing.

Public Property Timestamp System.Nullable<System.DateTime>

Gets and sets the property Timestamp.

The timestamp of when the device connected or disconnected.

Public Property VpcEndpointId System.String

Gets and sets the property VpcEndpointId.

The ID of the VPC endpoint. Present for clients connected to Amazon Web Services IoT Core via a VPC endpoint.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer