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.ListAlarms

Description

Lists one or more alarms. The operation returns only the metadata associated with each alarm.

Synopsis

Creating a Request

data ListAlarms Source #

See: newListAlarms smart constructor.

Constructors

ListAlarms' 

Fields

Instances

Instances details
Eq ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Read ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Show ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Generic ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Associated Types

type Rep ListAlarms :: Type -> Type #

NFData ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Methods

rnf :: ListAlarms -> () #

Hashable ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

AWSRequest ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Associated Types

type AWSResponse ListAlarms #

ToHeaders ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Methods

toHeaders :: ListAlarms -> [Header] #

ToPath ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

ToQuery ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

type Rep ListAlarms Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

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

Defined in Amazonka.IoTEventsData.ListAlarms

newListAlarms Source #

Create a value of ListAlarms 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:nextToken:ListAlarms', listAlarms_nextToken - The token that you can use to return the next set of results.

$sel:maxResults:ListAlarms', listAlarms_maxResults - The maximum number of results to be returned per request.

$sel:alarmModelName:ListAlarms', listAlarms_alarmModelName - The name of the alarm model.

Request Lenses

listAlarms_nextToken :: Lens' ListAlarms (Maybe Text) Source #

The token that you can use to return the next set of results.

listAlarms_maxResults :: Lens' ListAlarms (Maybe Natural) Source #

The maximum number of results to be returned per request.

listAlarms_alarmModelName :: Lens' ListAlarms Text Source #

The name of the alarm model.

Destructuring the Response

data ListAlarmsResponse Source #

See: newListAlarmsResponse smart constructor.

Constructors

ListAlarmsResponse' 

Fields

Instances

Instances details
Eq ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Read ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Show ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Generic ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Associated Types

type Rep ListAlarmsResponse :: Type -> Type #

NFData ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

Methods

rnf :: ListAlarmsResponse -> () #

type Rep ListAlarmsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListAlarms

type Rep ListAlarmsResponse = D1 ('MetaData "ListAlarmsResponse" "Amazonka.IoTEventsData.ListAlarms" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "ListAlarmsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alarmSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AlarmSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAlarmsResponse Source #

Create a value of ListAlarmsResponse 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:nextToken:ListAlarms', listAlarmsResponse_nextToken - The token that you can use to return the next set of results, or null if there are no more results.

$sel:alarmSummaries:ListAlarmsResponse', listAlarmsResponse_alarmSummaries - A list that summarizes each alarm.

$sel:httpStatus:ListAlarmsResponse', listAlarmsResponse_httpStatus - The response's http status code.

Response Lenses

listAlarmsResponse_nextToken :: Lens' ListAlarmsResponse (Maybe Text) Source #

The token that you can use to return the next set of results, or null if there are no more results.