amazonka-sns-2.0: Amazon Simple Notification Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromXML Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

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

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 #

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 #

NFData Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

rnf :: Topic -> () #

Eq Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

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

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

Hashable Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

hashWithSalt :: Int -> Topic -> Int #

hash :: Topic -> Int #

type Rep Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

type Rep Topic = D1 ('MetaData "Topic" "Amazonka.SNS.Types.Topic" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" '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.