HttpAction

public struct HttpAction : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The authentication method to use when sending data to an HTTPS endpoint.

    Declaration

    Swift

    public let auth: HttpAuthorization?
  • 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.

    Declaration

    Swift

    public let confirmationUrl: String?
  • The HTTP headers to send with the message data.

    Declaration

    Swift

    public let headers: [HttpActionHeader]?
  • 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

    Swift

    public let url: String
  • Undocumented

    Declaration

    Swift

    public init(auth: HttpAuthorization? = nil, confirmationUrl: String? = nil, headers: [HttpActionHeader]? = nil, url: String)
  • Declaration

    Swift

    public func validate(name: String) throws