amazonka-codestar-notifications-2.0: Amazon CodeStar Notifications 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.CodeStarNotifications.Types.Target

Description

 
Synopsis

Documentation

data Target Source #

Information about the Chatbot topics or Chatbot clients associated with a notification rule.

See: newTarget smart constructor.

Constructors

Target' 

Fields

  • targetAddress :: Maybe (Sensitive Text)

    The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

  • targetType :: Maybe Text

    The target type. Can be an Chatbot topic or Chatbot client.

    • Chatbot topics are specified as SNS.
    • Chatbot clients are specified as AWSChatbotSlack.

Instances

Instances details
ToJSON 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 #

Show Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

NFData Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

rnf :: Target -> () #

Eq Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

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

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

Hashable Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

type Rep Target Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.CodeStarNotifications.Types.Target" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:targetAddress:Target', target_targetAddress - The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

$sel:targetType:Target', target_targetType - The target type. Can be an Chatbot topic or Chatbot client.

  • Chatbot topics are specified as SNS.
  • Chatbot clients are specified as AWSChatbotSlack.

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

The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

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

The target type. Can be an Chatbot topic or Chatbot client.

  • Chatbot topics are specified as SNS.
  • Chatbot clients are specified as AWSChatbotSlack.