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 |
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
Synopsis
- data DeleteTopicRuleDestination = DeleteTopicRuleDestination' {}
- newDeleteTopicRuleDestination :: Text -> DeleteTopicRuleDestination
- deleteTopicRuleDestination_arn :: Lens' DeleteTopicRuleDestination Text
- data DeleteTopicRuleDestinationResponse = DeleteTopicRuleDestinationResponse' {
- httpStatus :: Int
- newDeleteTopicRuleDestinationResponse :: Int -> DeleteTopicRuleDestinationResponse
- deleteTopicRuleDestinationResponse_httpStatus :: Lens' DeleteTopicRuleDestinationResponse Int
Creating a Request
data DeleteTopicRuleDestination Source #
See: newDeleteTopicRuleDestination
smart constructor.
Instances
newDeleteTopicRuleDestination Source #
Create a value of DeleteTopicRuleDestination
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:arn:DeleteTopicRuleDestination'
, deleteTopicRuleDestination_arn
- The ARN of the topic rule destination to delete.
Request Lenses
deleteTopicRuleDestination_arn :: Lens' DeleteTopicRuleDestination Text Source #
The ARN of the topic rule destination to delete.
Destructuring the Response
data DeleteTopicRuleDestinationResponse Source #
See: newDeleteTopicRuleDestinationResponse
smart constructor.
DeleteTopicRuleDestinationResponse' | |
|
Instances
Eq DeleteTopicRuleDestinationResponse Source # | |
Read DeleteTopicRuleDestinationResponse Source # | |
Show DeleteTopicRuleDestinationResponse Source # | |
Generic DeleteTopicRuleDestinationResponse Source # | |
NFData DeleteTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.DeleteTopicRuleDestination rnf :: DeleteTopicRuleDestinationResponse -> () # | |
type Rep DeleteTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.DeleteTopicRuleDestination type Rep DeleteTopicRuleDestinationResponse = D1 ('MetaData "DeleteTopicRuleDestinationResponse" "Amazonka.IoT.DeleteTopicRuleDestination" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteTopicRuleDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteTopicRuleDestinationResponse Source #
Create a value of DeleteTopicRuleDestinationResponse
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:DeleteTopicRuleDestinationResponse'
, deleteTopicRuleDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTopicRuleDestinationResponse_httpStatus :: Lens' DeleteTopicRuleDestinationResponse Int Source #
The response's http status code.