libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.DescribeAlarm

Description

Retrieves information about an alarm.

Synopsis

Creating a Request

data DescribeAlarm Source #

See: newDescribeAlarm smart constructor.

Constructors

DescribeAlarm' 

Fields

Instances

Instances details
Eq DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Read DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Show DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Generic DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Associated Types

type Rep DescribeAlarm :: Type -> Type #

NFData DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Methods

rnf :: DescribeAlarm -> () #

Hashable DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

AWSRequest DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Associated Types

type AWSResponse DescribeAlarm #

ToHeaders DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

ToPath DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

ToQuery DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

type Rep DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

type Rep DescribeAlarm = D1 ('MetaData "DescribeAlarm" "Amazonka.IoTEventsData.DescribeAlarm" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "DescribeAlarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

newDescribeAlarm Source #

Create a value of DescribeAlarm 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:keyValue:DescribeAlarm', describeAlarm_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:alarmModelName:DescribeAlarm', describeAlarm_alarmModelName - The name of the alarm model.

Request Lenses

describeAlarm_keyValue :: Lens' DescribeAlarm (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

Destructuring the Response

data DescribeAlarmResponse Source #

See: newDescribeAlarmResponse smart constructor.

Constructors

DescribeAlarmResponse' 

Fields

Instances

Instances details
Eq DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Read DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Show DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Generic DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Associated Types

type Rep DescribeAlarmResponse :: Type -> Type #

NFData DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

Methods

rnf :: DescribeAlarmResponse -> () #

type Rep DescribeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.DescribeAlarm

type Rep DescribeAlarmResponse = D1 ('MetaData "DescribeAlarmResponse" "Amazonka.IoTEventsData.DescribeAlarm" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "DescribeAlarmResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Alarm)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAlarmResponse Source #

Create a value of DescribeAlarmResponse 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:alarm:DescribeAlarmResponse', describeAlarmResponse_alarm - Contains information about an alarm.

$sel:httpStatus:DescribeAlarmResponse', describeAlarmResponse_httpStatus - The response's http status code.

Response Lenses

describeAlarmResponse_alarm :: Lens' DescribeAlarmResponse (Maybe Alarm) Source #

Contains information about an alarm.