AWSIoTHttpAction

@interface AWSIoTHttpAction

Send data to an HTTPS endpoint.

Required parameters: [url]

  • The authentication method to use when sending data to an HTTPS endpoint.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) AWSIoTHttpAuthorization *_Nullable auth;

    Swift

    var auth: AWSIoTHttpAuthorization? { get set }
  • 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 substituion template before traffic is allowed to your endpoint URL.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable confirmationUrl;

    Swift

    var confirmationUrl: String? { get set }
  • The HTTP headers to send with the message data.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<AWSIoTHttpActionHeader *> *_Nullable headers;

    Swift

    var headers: [AWSIoTHttpActionHeader]? { get set }
  • url

    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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable url;

    Swift

    var url: String? { get set }