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

Description

Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.

Synopsis

Creating a Request

data ListAlarmModelVersions Source #

See: newListAlarmModelVersions smart constructor.

Constructors

ListAlarmModelVersions' 

Fields

Instances

Instances details
Eq ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Read ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Show ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Generic ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type Rep ListAlarmModelVersions :: Type -> Type #

NFData ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Methods

rnf :: ListAlarmModelVersions -> () #

Hashable ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

AWSRequest ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type AWSResponse ListAlarmModelVersions #

ToHeaders ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

ToPath ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

ToQuery ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

type Rep ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

type Rep ListAlarmModelVersions = D1 ('MetaData "ListAlarmModelVersions" "Amazonka.IoTEvents.ListAlarmModelVersions" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "ListAlarmModelVersions'" '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 ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

newListAlarmModelVersions Source #

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

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

$sel:alarmModelName:ListAlarmModelVersions', listAlarmModelVersions_alarmModelName - The name of the alarm model.

Request Lenses

listAlarmModelVersions_nextToken :: Lens' ListAlarmModelVersions (Maybe Text) Source #

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

listAlarmModelVersions_maxResults :: Lens' ListAlarmModelVersions (Maybe Natural) Source #

The maximum number of results to be returned per request.

Destructuring the Response

data ListAlarmModelVersionsResponse Source #

See: newListAlarmModelVersionsResponse smart constructor.

Constructors

ListAlarmModelVersionsResponse' 

Fields

Instances

Instances details
Eq ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Read ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Show ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Generic ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type Rep ListAlarmModelVersionsResponse :: Type -> Type #

NFData ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

type Rep ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

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

newListAlarmModelVersionsResponse Source #

Create a value of ListAlarmModelVersionsResponse 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:alarmModelVersionSummaries:ListAlarmModelVersionsResponse', listAlarmModelVersionsResponse_alarmModelVersionSummaries - A list that summarizes each alarm model version.

$sel:nextToken:ListAlarmModelVersions', listAlarmModelVersionsResponse_nextToken - The token that you can use to return the next set of results, or null if there are no more results.

$sel:httpStatus:ListAlarmModelVersionsResponse', listAlarmModelVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listAlarmModelVersionsResponse_nextToken :: Lens' ListAlarmModelVersionsResponse (Maybe Text) Source #

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