| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.AlertTarget
Description
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.
Constructors
| AlertTarget' | |
Fields
| |
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.