IoTDataPlane class

AWS IoT-Data enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. It implements a broker for applications and things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a persistent representation of your things and their state in the AWS cloud.

Constructors

IoTDataPlane({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
deleteThingShadow({required String thingName, String? shadowName}) Future<DeleteThingShadowResponse>
Deletes the shadow for the specified thing.
getThingShadow({required String thingName, String? shadowName}) Future<GetThingShadowResponse>
Gets the shadow for the specified thing.
listNamedShadowsForThing({required String thingName, String? nextToken, int? pageSize}) Future<ListNamedShadowsForThingResponse>
Lists the shadows for the specified thing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish({required String topic, Uint8List? payload, int? qos}) Future<void>
Publishes state information.
toString() String
A string representation of this object.
inherited
updateThingShadow({required Uint8List payload, required String thingName, String? shadowName}) Future<UpdateThingShadowResponse>
Updates the shadow for the specified thing.

Operators

operator ==(Object other) bool
The equality operator.
inherited