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 |
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.
CreateTopicRuleDestination' | |
|
Instances
newCreateTopicRuleDestination Source #
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.
CreateTopicRuleDestinationResponse' | |
|
Instances
Eq CreateTopicRuleDestinationResponse Source # | |
Read CreateTopicRuleDestinationResponse Source # | |
Show CreateTopicRuleDestinationResponse Source # | |
Generic CreateTopicRuleDestinationResponse Source # | |
NFData CreateTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.CreateTopicRuleDestination rnf :: CreateTopicRuleDestinationResponse -> () # | |
type Rep CreateTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.CreateTopicRuleDestination type Rep CreateTopicRuleDestinationResponse = D1 ('MetaData "CreateTopicRuleDestinationResponse" "Amazonka.IoT.CreateTopicRuleDestination" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateTopicRuleDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicRuleDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TopicRuleDestination)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateTopicRuleDestinationResponse Source #
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.