libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
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.IoTEvents.ListAlarmModels

Description

Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.

Synopsis

Creating a Request

data ListAlarmModels Source #

See: newListAlarmModels smart constructor.

Constructors

ListAlarmModels' 

Fields

Instances

Instances details
Eq ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Read ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Show ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Generic ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Associated Types

type Rep ListAlarmModels :: Type -> Type #

NFData ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Methods

rnf :: ListAlarmModels -> () #

Hashable ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

AWSRequest ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Associated Types

type AWSResponse ListAlarmModels #

ToHeaders ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

ToPath ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

ToQuery ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

type Rep ListAlarmModels Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

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

Defined in Amazonka.IoTEvents.ListAlarmModels

newListAlarmModels :: ListAlarmModels Source #

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

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

Request Lenses

listAlarmModels_nextToken :: Lens' ListAlarmModels (Maybe Text) Source #

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

listAlarmModels_maxResults :: Lens' ListAlarmModels (Maybe Natural) Source #

The maximum number of results to be returned per request.

Destructuring the Response

data ListAlarmModelsResponse Source #

See: newListAlarmModelsResponse smart constructor.

Constructors

ListAlarmModelsResponse' 

Fields

Instances

Instances details
Eq ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Read ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Show ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Generic ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Associated Types

type Rep ListAlarmModelsResponse :: Type -> Type #

NFData ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

Methods

rnf :: ListAlarmModelsResponse -> () #

type Rep ListAlarmModelsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModels

type Rep ListAlarmModelsResponse = D1 ('MetaData "ListAlarmModelsResponse" "Amazonka.IoTEvents.ListAlarmModels" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "ListAlarmModelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alarmModelSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AlarmModelSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAlarmModelsResponse Source #

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

$sel:alarmModelSummaries:ListAlarmModelsResponse', listAlarmModelsResponse_alarmModelSummaries - A list that summarizes each alarm model.

$sel:httpStatus:ListAlarmModelsResponse', listAlarmModelsResponse_httpStatus - The response's http status code.

Response Lenses

listAlarmModelsResponse_nextToken :: Lens' ListAlarmModelsResponse (Maybe Text) Source #

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