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.

Container for the parameters to the ListSubscriptions operation. Returns a list of all subscriptions for MQTT clients with active sessions, including offline clients with persistent sessions.

Requires permission to access the ListSubscriptions action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IotData.AmazonIotDataRequest
      Amazon.IotData.Model.ListSubscriptionsRequest

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

Syntax

C#
public class ListSubscriptionsRequest : AmazonIotDataRequest
         IAmazonWebServiceRequest

The ListSubscriptionsRequest type exposes the following members

Constructors

NameDescription
Public Method ListSubscriptionsRequest()

Properties

NameTypeDescription
Public Property ClientId System.String

Gets and sets the property ClientId.

The unique identifier of the MQTT client to list subscriptions for. The client ID can't start with a dollar sign ($).

MQTT client IDs must be URL encoded (percent-encoded) when they contain characters that are not valid in HTTP requests, such as spaces, forward slashes (/), and UTF-8 characters.

Public Property MaxResults System.Nullable<System.Int32>

Gets and sets the property MaxResults.

The maximum number of subscriptions to return in a single request. By default, this is set to 20.

Public Property NextToken System.String

Gets and sets the property NextToken.

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

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