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.TargetSummary

Description

 
Synopsis

Documentation

data TargetSummary Source #

Information about the targets specified for a notification rule.

See: newTargetSummary smart constructor.

Constructors

TargetSummary' 

Fields

Instances

Instances details
FromJSON TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

Generic TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

Associated Types

type Rep TargetSummary :: Type -> Type #

Show TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

NFData TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

Methods

rnf :: TargetSummary -> () #

Eq TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

Hashable TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

type Rep TargetSummary Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.TargetSummary

type Rep TargetSummary = D1 ('MetaData "TargetSummary" "Amazonka.CodeStarNotifications.Types.TargetSummary" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "TargetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "targetStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetStatus)) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTargetSummary :: TargetSummary Source #

Create a value of TargetSummary 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:TargetSummary', targetSummary_targetAddress - The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

$sel:targetStatus:TargetSummary', targetSummary_targetStatus - The status of the target.

$sel:targetType:TargetSummary', targetSummary_targetType - The type of the target (for example, SNS).

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

targetSummary_targetAddress :: Lens' TargetSummary (Maybe Text) Source #

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

targetSummary_targetType :: Lens' TargetSummary (Maybe Text) Source #

The type of the target (for example, SNS).

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