| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CodeStarNotifications.Types.Target
Description
Documentation
Information about the SNS topics associated with a notification rule.
See: newTarget smart constructor.
Constructors
| Target' | |
Fields
| |
Instances
| Eq Target Source # | |
| Show Target Source # | |
| Generic Target Source # | |
| NFData Target Source # | |
Defined in Amazonka.CodeStarNotifications.Types.Target | |
| Hashable Target Source # | |
Defined in Amazonka.CodeStarNotifications.Types.Target | |
| ToJSON Target Source # | |
Defined in Amazonka.CodeStarNotifications.Types.Target | |
| type Rep Target Source # | |
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))))) | |
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.