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 |
Synopsis
- data AlertTarget = AlertTarget' {
- alertTargetArn :: Text
- roleArn :: Text
- newAlertTarget :: Text -> Text -> AlertTarget
- alertTarget_alertTargetArn :: Lens' AlertTarget Text
- alertTarget_roleArn :: Lens' AlertTarget Text
Documentation
data AlertTarget Source #
A structure containing the alert target ARN and the role ARN.
See: newAlertTarget
smart constructor.
AlertTarget' | |
|
Instances
Create a value of AlertTarget
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:alertTargetArn:AlertTarget'
, alertTarget_alertTargetArn
- The Amazon Resource Name (ARN) of the notification target to which
alerts are sent.
$sel:roleArn:AlertTarget'
, alertTarget_roleArn
- The ARN of the role that grants permission to send alerts to the
notification target.
alertTarget_alertTargetArn :: Lens' AlertTarget Text Source #
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
alertTarget_roleArn :: Lens' AlertTarget Text Source #
The ARN of the role that grants permission to send alerts to the notification target.