| 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.MediaTailor.Types.Alert
Description
Synopsis
- data Alert = Alert' {
- alertCode :: Text
- alertMessage :: Text
- lastModifiedTime :: POSIX
- relatedResourceArns :: [Text]
- resourceArn :: Text
- newAlert :: Text -> Text -> UTCTime -> Text -> Alert
- alert_alertCode :: Lens' Alert Text
- alert_alertMessage :: Lens' Alert Text
- alert_lastModifiedTime :: Lens' Alert UTCTime
- alert_relatedResourceArns :: Lens' Alert [Text]
- alert_resourceArn :: Lens' Alert Text
Documentation
Alert configuration parameters.
See: newAlert smart constructor.
Constructors
| Alert' | |
Fields
| |
Instances
Create a value of Alert 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:alertCode:Alert', alert_alertCode - The code for the alert. For example, NOT_PROCESSED.
$sel:alertMessage:Alert', alert_alertMessage - If an alert is generated for a resource, an explanation of the reason
for the alert.
$sel:lastModifiedTime:Alert', alert_lastModifiedTime - The timestamp when the alert was last modified.
$sel:relatedResourceArns:Alert', alert_relatedResourceArns - The Amazon Resource Names (ARNs) related to this alert.
$sel:resourceArn:Alert', alert_resourceArn - The Amazon Resource Name (ARN) of the resource.
alert_alertMessage :: Lens' Alert Text Source #
If an alert is generated for a resource, an explanation of the reason for the alert.
alert_lastModifiedTime :: Lens' Alert UTCTime Source #
The timestamp when the alert was last modified.