| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.ConfirmTopicRuleDestination
Description
Confirms a topic rule destination. When you create a rule requiring a
destination, IoT sends a confirmation message to the endpoint or base
address you specify. The message includes a token which you pass back
when calling ConfirmTopicRuleDestination to confirm that you own or
have access to the endpoint.
Requires permission to access the ConfirmTopicRuleDestination action.
Synopsis
- data ConfirmTopicRuleDestination = ConfirmTopicRuleDestination' {}
- newConfirmTopicRuleDestination :: Text -> ConfirmTopicRuleDestination
- confirmTopicRuleDestination_confirmationToken :: Lens' ConfirmTopicRuleDestination Text
- data ConfirmTopicRuleDestinationResponse = ConfirmTopicRuleDestinationResponse' {
- httpStatus :: Int
- newConfirmTopicRuleDestinationResponse :: Int -> ConfirmTopicRuleDestinationResponse
- confirmTopicRuleDestinationResponse_httpStatus :: Lens' ConfirmTopicRuleDestinationResponse Int
Creating a Request
data ConfirmTopicRuleDestination Source #
See: newConfirmTopicRuleDestination smart constructor.
Constructors
| ConfirmTopicRuleDestination' | |
Fields
| |
Instances
newConfirmTopicRuleDestination Source #
Create a value of ConfirmTopicRuleDestination 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:confirmationToken:ConfirmTopicRuleDestination', confirmTopicRuleDestination_confirmationToken - The token used to confirm ownership or access to the topic rule
confirmation URL.
Request Lenses
confirmTopicRuleDestination_confirmationToken :: Lens' ConfirmTopicRuleDestination Text Source #
The token used to confirm ownership or access to the topic rule confirmation URL.
Destructuring the Response
data ConfirmTopicRuleDestinationResponse Source #
See: newConfirmTopicRuleDestinationResponse smart constructor.
Constructors
| ConfirmTopicRuleDestinationResponse' | |
Fields
| |
Instances
newConfirmTopicRuleDestinationResponse Source #
Arguments
| :: Int | |
| -> ConfirmTopicRuleDestinationResponse |
Create a value of ConfirmTopicRuleDestinationResponse 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:httpStatus:ConfirmTopicRuleDestinationResponse', confirmTopicRuleDestinationResponse_httpStatus - The response's http status code.
Response Lenses
confirmTopicRuleDestinationResponse_httpStatus :: Lens' ConfirmTopicRuleDestinationResponse Int Source #
The response's http status code.