| 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.DeleteTopicRuleDestination
Description
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.
Constructors
| DeleteTopicRuleDestination' | |
Instances
newDeleteTopicRuleDestination Source #
Arguments
| :: Text | |
| -> DeleteTopicRuleDestination |
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:
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.
Constructors
| DeleteTopicRuleDestinationResponse' | |
Fields
| |
Instances
newDeleteTopicRuleDestinationResponse Source #
Arguments
| :: Int | |
| -> DeleteTopicRuleDestinationResponse |
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.