The DeleteTopic
action 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.
@param deleteTopicRequest Container for the necessary parameters toexecute the DeleteTopic service method on AmazonSNS.
@throws NotFoundException
@throws AuthorizationErrorException
@throws InternalErrorException
@throws InvalidParameterException
@throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
@throws AmazonServiceException If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue.