[][src]Struct rusoto_iot::HttpAction

pub struct HttpAction {
    pub auth: Option<HttpAuthorization>,
    pub confirmation_url: Option<String>,
    pub headers: Option<Vec<HttpActionHeader>>,
    pub url: String,
}

Send data to an HTTPS endpoint.

Fields

auth: Option<HttpAuthorization>

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

confirmation_url: Option<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 substituion template before traffic is allowed to your endpoint URL.

headers: Option<Vec<HttpActionHeader>>

The HTTP headers to send with the message data.

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.

Trait Implementations

impl Clone for HttpAction[src]

impl Debug for HttpAction[src]

impl Default for HttpAction[src]

impl<'de> Deserialize<'de> for HttpAction[src]

impl PartialEq<HttpAction> for HttpAction[src]

impl Serialize for HttpAction[src]

impl StructuralPartialEq for HttpAction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.