Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data HttpAction Source #
Send data to an HTTPS endpoint.
See: newHttpAction
smart constructor.
HttpAction' | |
|
Instances
Create a value of HttpAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:confirmationUrl:HttpAction'
, httpAction_confirmationUrl
- The URL to which 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 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.
$sel:auth:HttpAction'
, httpAction_auth
- The authentication method to use when sending data to an HTTPS endpoint.
$sel:headers:HttpAction'
, httpAction_headers
- The HTTP headers to send with the message data.
$sel:url:HttpAction'
, httpAction_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.
httpAction_confirmationUrl :: Lens' HttpAction (Maybe Text) Source #
The URL to which 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 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.
httpAction_auth :: Lens' HttpAction (Maybe HttpAuthorization) Source #
The authentication method to use when sending data to an HTTPS endpoint.
httpAction_headers :: Lens' HttpAction (Maybe [HttpActionHeader]) Source #
The HTTP headers to send with the message data.
httpAction_url :: Lens' HttpAction Text Source #
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.