| 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.SNS.DeleteTopic
Description
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.
Constructors
| DeleteTopic' | |
Instances
Arguments
| :: Text | |
| -> DeleteTopic |
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:
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.
Constructors
| DeleteTopicResponse' | |
Instances
| Generic DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic Associated Types type Rep DeleteTopicResponse :: Type -> Type # Methods from :: DeleteTopicResponse -> Rep DeleteTopicResponse x # to :: Rep DeleteTopicResponse x -> DeleteTopicResponse # | |
| Read DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic Methods readsPrec :: Int -> ReadS DeleteTopicResponse # readList :: ReadS [DeleteTopicResponse] # | |
| Show DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic Methods showsPrec :: Int -> DeleteTopicResponse -> ShowS # show :: DeleteTopicResponse -> String # showList :: [DeleteTopicResponse] -> ShowS # | |
| NFData DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic Methods rnf :: DeleteTopicResponse -> () # | |
| Eq DeleteTopicResponse Source # | |
Defined in Amazonka.SNS.DeleteTopic Methods (==) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # (/=) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # | |
| 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.