libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.Alarm

Description

 
Synopsis

Documentation

data Alarm Source #

Information about an alarm.

See: newAlarm smart constructor.

Constructors

Alarm' 

Fields

  • name :: Maybe Text

    The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.

Instances

Instances details
Eq Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Methods

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

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

Read Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Show Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

NFData Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Methods

rnf :: Alarm -> () #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

ToJSON Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

FromJSON Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

type Rep Alarm Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Alarm

type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.CodeDeploy.Types.Alarm" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAlarm :: Alarm Source #

Create a value of Alarm 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:name:Alarm', alarm_name - The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.

alarm_name :: Lens' Alarm (Maybe Text) Source #

The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.