libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications
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.CodeStarNotifications.Types.Target

Description

 
Synopsis

Documentation

data Target Source #

Information about the SNS topics associated with a notification rule.

See: newTarget smart constructor.

Constructors

Target' 

Fields

Instances

Instances details
Eq Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

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

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

Show Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Generic Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Associated Types

type Rep Target :: Type -> Type #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

NFData Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

rnf :: Target -> () #

Hashable Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

type Rep Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.CodeStarNotifications.Types.Target" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))

newTarget :: Target Source #

Create a value of Target 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:targetType:Target', target_targetType - The target type. Can be an Amazon SNS topic.

$sel:targetAddress:Target', target_targetAddress - The Amazon Resource Name (ARN) of the SNS topic.

target_targetType :: Lens' Target (Maybe Text) Source #

The target type. Can be an Amazon SNS topic.

target_targetAddress :: Lens' Target (Maybe Text) Source #

The Amazon Resource Name (ARN) of the SNS topic.