HttpAction class

Send data to an HTTPS endpoint.

Constructors

HttpAction({required String url, HttpAuthorization? auth, String? confirmationUrl, List<HttpActionHeader>? headers})
HttpAction.fromJson(Map<String, dynamic> json)
factory

Properties

auth HttpAuthorization?
The authentication method to use when sending data to an HTTPS endpoint.
final
confirmationUrl String?
The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substitution template before traffic is allowed to your endpoint URL.
final
hashCode int
The hash code for this object.
no setterinherited
headers List<HttpActionHeader>?
The HTTP headers to send with the message data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The endpoint URL. If substitution templates are used in the URL, you must also specify a confirmationUrl. If this is a new destination, a new TopicRuleDestination is created if possible.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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