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.
Container for the parameters to the DeleteConnection operation. 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.
Namespace: Amazon.IotData.Model
Assembly: AWSSDK.IotData.dll
Version: 3.x.y.z
public class DeleteConnectionRequest : AmazonIotDataRequest IAmazonWebServiceRequest
The DeleteConnectionRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DeleteConnectionRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
CleanSession | System.Boolean |
Gets and sets the property CleanSession.
Specifies whether to remove the client's session state when disconnecting. Set to
|
![]() |
ClientId | System.String |
Gets and sets the property ClientId. The unique identifier of the MQTT client to disconnect. The client ID can't start with a dollar sign ($). |
![]() |
PreventWillMessage | System.Boolean |
Gets and sets the property PreventWillMessage.
Controls if Amazon Web Services IoT Core publishes the client's Last Will and Testament
(LWT) message upon disconnection. Set to |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5