| 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.CreateTopicRuleDestination
Description
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
Synopsis
- data CreateTopicRuleDestination = CreateTopicRuleDestination' {}
- newCreateTopicRuleDestination :: TopicRuleDestinationConfiguration -> CreateTopicRuleDestination
- createTopicRuleDestination_destinationConfiguration :: Lens' CreateTopicRuleDestination TopicRuleDestinationConfiguration
- data CreateTopicRuleDestinationResponse = CreateTopicRuleDestinationResponse' {}
- newCreateTopicRuleDestinationResponse :: Int -> CreateTopicRuleDestinationResponse
- createTopicRuleDestinationResponse_topicRuleDestination :: Lens' CreateTopicRuleDestinationResponse (Maybe TopicRuleDestination)
- createTopicRuleDestinationResponse_httpStatus :: Lens' CreateTopicRuleDestinationResponse Int
Creating a Request
data CreateTopicRuleDestination Source #
See: newCreateTopicRuleDestination smart constructor.
Constructors
| CreateTopicRuleDestination' | |
Fields
| |
Instances
newCreateTopicRuleDestination Source #
Arguments
| :: TopicRuleDestinationConfiguration | |
| -> CreateTopicRuleDestination |
Create a value of CreateTopicRuleDestination 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:destinationConfiguration:CreateTopicRuleDestination', createTopicRuleDestination_destinationConfiguration - The topic rule destination configuration.
Request Lenses
createTopicRuleDestination_destinationConfiguration :: Lens' CreateTopicRuleDestination TopicRuleDestinationConfiguration Source #
The topic rule destination configuration.
Destructuring the Response
data CreateTopicRuleDestinationResponse Source #
See: newCreateTopicRuleDestinationResponse smart constructor.
Constructors
| CreateTopicRuleDestinationResponse' | |
Fields
| |
Instances
newCreateTopicRuleDestinationResponse Source #
Arguments
| :: Int | |
| -> CreateTopicRuleDestinationResponse |
Create a value of CreateTopicRuleDestinationResponse 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:topicRuleDestination:CreateTopicRuleDestinationResponse', createTopicRuleDestinationResponse_topicRuleDestination - The topic rule destination.
$sel:httpStatus:CreateTopicRuleDestinationResponse', createTopicRuleDestinationResponse_httpStatus - The response's http status code.
Response Lenses
createTopicRuleDestinationResponse_topicRuleDestination :: Lens' CreateTopicRuleDestinationResponse (Maybe TopicRuleDestination) Source #
The topic rule destination.
createTopicRuleDestinationResponse_httpStatus :: Lens' CreateTopicRuleDestinationResponse Int Source #
The response's http status code.