libZSservicesZSamazonka-snsZSamazonka-sns
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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' 

Fields

Instances

Instances details
Eq DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Read DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Show DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Generic DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Associated Types

type Rep DeleteTopic :: Type -> Type #

NFData DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Methods

rnf :: DeleteTopic -> () #

Hashable DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

AWSRequest DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Associated Types

type AWSResponse DeleteTopic #

ToHeaders DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Methods

toHeaders :: DeleteTopic -> [Header] #

ToPath DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

ToQuery DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

type Rep DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

type Rep DeleteTopic = D1 ('MetaData "DeleteTopic" "Amazonka.SNS.DeleteTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteTopic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

newDeleteTopic Source #

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.

Constructors

DeleteTopicResponse' 

newDeleteTopicResponse :: DeleteTopicResponse Source #

Create a value of DeleteTopicResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.