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 and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.
Synopsis
Creating a Request
data DeleteTopic Source #
See: newDeleteTopic
smart constructor.
Instances
Create a value of DeleteTopic
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:topicArn:DeleteTopic'
, deleteTopic_topicArn
- The ARN of the topic you want to delete.
Request Lenses
deleteTopic_topicArn :: Lens' DeleteTopic Text Source #
The ARN of the topic you want to delete.
Destructuring the Response
data DeleteTopicResponse Source #
See: newDeleteTopicResponse
smart constructor.
Instances
Eq DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic (==) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # (/=) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # | |
Read DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic | |
Show DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic showsPrec :: Int -> DeleteTopicResponse -> ShowS # show :: DeleteTopicResponse -> String # showList :: [DeleteTopicResponse] -> ShowS # | |
Generic DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic type Rep DeleteTopicResponse :: Type -> Type # from :: DeleteTopicResponse -> Rep DeleteTopicResponse x # to :: Rep DeleteTopicResponse x -> DeleteTopicResponse # | |
NFData DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic rnf :: DeleteTopicResponse -> () # | |
type Rep DeleteTopicResponse Source # | |
newDeleteTopicResponse :: DeleteTopicResponse Source #
Create a value of DeleteTopicResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.