amazonka-iotevents-2.0: Amazon IoT Events SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type AWSResponse ListAlarmModelVersions #

Generic ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type Rep ListAlarmModelVersions :: Type -> Type #

Read ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Show ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

NFData ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Methods

rnf :: ListAlarmModelVersions -> () #

Eq ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Hashable ListAlarmModelVersions Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

type AWSResponse 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" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" 'False) (C1 ('MetaCons "ListAlarmModelVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListAlarmModelVersions', listAlarmModelVersions_maxResults - The maximum number of results to be returned per request.

ListAlarmModelVersions, listAlarmModelVersions_nextToken - The token that you can use to return the next set of results.

ListAlarmModelVersions, listAlarmModelVersions_alarmModelName - The name of the alarm model.

Request Lenses

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

The maximum number of results to be returned per request.

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

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

Destructuring the Response

data ListAlarmModelVersionsResponse Source #

See: newListAlarmModelVersionsResponse smart constructor.

Constructors

ListAlarmModelVersionsResponse' 

Fields

Instances

Instances details
Generic ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Associated Types

type Rep ListAlarmModelVersionsResponse :: Type -> Type #

Read ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Show ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

NFData ListAlarmModelVersionsResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.ListAlarmModelVersions

Eq 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" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" '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.

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.