libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaTailor.Types.Alert

Description

 
Synopsis

Documentation

data Alert Source #

Alert configuration parameters.

See: newAlert smart constructor.

Constructors

Alert' 

Fields

Instances

Instances details
Eq Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Methods

(==) :: Alert -> Alert -> Bool #

(/=) :: Alert -> Alert -> Bool #

Read Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Show Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Methods

showsPrec :: Int -> Alert -> ShowS #

show :: Alert -> String #

showList :: [Alert] -> ShowS #

Generic Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Associated Types

type Rep Alert :: Type -> Type #

Methods

from :: Alert -> Rep Alert x #

to :: Rep Alert x -> Alert #

NFData Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Methods

rnf :: Alert -> () #

Hashable Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

Methods

hashWithSalt :: Int -> Alert -> Int #

hash :: Alert -> Int #

FromJSON Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

type Rep Alert Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Alert

type Rep Alert = D1 ('MetaData "Alert" "Amazonka.MediaTailor.Types.Alert" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "Alert'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alertCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "relatedResourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "alertMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newAlert Source #

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:resourceArn:Alert', alert_resourceArn - The Amazon Resource Name (ARN) of the resource.

$sel:alertCode:Alert', alert_alertCode - The code for the alert. For example, NOT_PROCESSED.

$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:alertMessage:Alert', alert_alertMessage - If an alert is generated for a resource, an explanation of the reason for the alert.

alert_resourceArn :: Lens' Alert Text Source #

The Amazon Resource Name (ARN) of the resource.

alert_alertCode :: Lens' Alert Text Source #

The code for the alert. For example, NOT_PROCESSED.

alert_lastModifiedTime :: Lens' Alert UTCTime Source #

The timestamp when the alert was last modified.

alert_relatedResourceArns :: Lens' Alert [Text] Source #

The Amazon Resource Names (ARNs) related to this alert.

alert_alertMessage :: Lens' Alert Text Source #

If an alert is generated for a resource, an explanation of the reason for the alert.