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.Types.Topic

Description

 
Synopsis

Documentation

data Topic Source #

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

See: newTopic smart constructor.

Constructors

Topic' 

Fields

Instances

Instances details
Eq Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #

Read Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Show Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Associated Types

type Rep Topic :: Type -> Type #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

NFData Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

rnf :: Topic -> () #

Hashable Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

hashWithSalt :: Int -> Topic -> Int #

hash :: Topic -> Int #

FromXML Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

parseXML :: [Node] -> Either String Topic #

type Rep Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

type Rep Topic = D1 ('MetaData "Topic" "Amazonka.SNS.Types.Topic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Topic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTopic :: Topic Source #

Create a value of Topic 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:Topic', topic_topicArn - The topic's ARN.

topic_topicArn :: Lens' Topic (Maybe Text) Source #

The topic's ARN.