amazonka-lookoutequipment-2.0: Amazon Lookout for Equipment 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.LookoutEquipment.ListLabels

Description

Provides a list of labels.

Synopsis

Creating a Request

data ListLabels Source #

See: newListLabels smart constructor.

Constructors

ListLabels' 

Fields

Instances

Instances details
ToJSON ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

ToHeaders ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Methods

toHeaders :: ListLabels -> [Header] #

ToPath ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

ToQuery ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

AWSRequest ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Associated Types

type AWSResponse ListLabels #

Generic ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Associated Types

type Rep ListLabels :: Type -> Type #

Read ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Show ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

NFData ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Methods

rnf :: ListLabels -> () #

Eq ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Hashable ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

type AWSResponse ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

type Rep ListLabels Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

type Rep ListLabels = D1 ('MetaData "ListLabels" "Amazonka.LookoutEquipment.ListLabels" "amazonka-lookoutequipment-2.0-FBtgEViQ46F6elHeNaa8oC" 'False) (C1 ('MetaCons "ListLabels'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "equipment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "faultCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "intervalEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "intervalStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "labelGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListLabels Source #

Arguments

:: Text

ListLabels

-> ListLabels 

Create a value of ListLabels 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:

ListLabels, listLabels_equipment - Lists the labels that pertain to a particular piece of equipment.

ListLabels, listLabels_faultCode - Returns labels with a particular fault code.

$sel:intervalEndTime:ListLabels', listLabels_intervalEndTime - Returns all labels with a start time earlier than the end time given.

$sel:intervalStartTime:ListLabels', listLabels_intervalStartTime - Returns all the labels with a end time equal to or later than the start time given.

$sel:maxResults:ListLabels', listLabels_maxResults - Specifies the maximum number of labels to list.

ListLabels, listLabels_nextToken - An opaque pagination token indicating where to continue the listing of label groups.

ListLabels, listLabels_labelGroupName - Retruns the name of the label group.

Request Lenses

listLabels_equipment :: Lens' ListLabels (Maybe Text) Source #

Lists the labels that pertain to a particular piece of equipment.

listLabels_faultCode :: Lens' ListLabels (Maybe Text) Source #

Returns labels with a particular fault code.

listLabels_intervalEndTime :: Lens' ListLabels (Maybe UTCTime) Source #

Returns all labels with a start time earlier than the end time given.

listLabels_intervalStartTime :: Lens' ListLabels (Maybe UTCTime) Source #

Returns all the labels with a end time equal to or later than the start time given.

listLabels_maxResults :: Lens' ListLabels (Maybe Natural) Source #

Specifies the maximum number of labels to list.

listLabels_nextToken :: Lens' ListLabels (Maybe Text) Source #

An opaque pagination token indicating where to continue the listing of label groups.

listLabels_labelGroupName :: Lens' ListLabels Text Source #

Retruns the name of the label group.

Destructuring the Response

data ListLabelsResponse Source #

See: newListLabelsResponse smart constructor.

Constructors

ListLabelsResponse' 

Fields

Instances

Instances details
Generic ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Associated Types

type Rep ListLabelsResponse :: Type -> Type #

Read ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Show ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

NFData ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

Methods

rnf :: ListLabelsResponse -> () #

Eq ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

type Rep ListLabelsResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.ListLabels

type Rep ListLabelsResponse = D1 ('MetaData "ListLabelsResponse" "Amazonka.LookoutEquipment.ListLabels" "amazonka-lookoutequipment-2.0-FBtgEViQ46F6elHeNaa8oC" 'False) (C1 ('MetaCons "ListLabelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "labelSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LabelSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLabelsResponse Source #

Create a value of ListLabelsResponse 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:labelSummaries:ListLabelsResponse', listLabelsResponse_labelSummaries - A summary of the items in the label group.

ListLabels, listLabelsResponse_nextToken - An opaque pagination token indicating where to continue the listing of datasets.

$sel:httpStatus:ListLabelsResponse', listLabelsResponse_httpStatus - The response's http status code.

Response Lenses

listLabelsResponse_labelSummaries :: Lens' ListLabelsResponse (Maybe [LabelSummary]) Source #

A summary of the items in the label group.

listLabelsResponse_nextToken :: Lens' ListLabelsResponse (Maybe Text) Source #

An opaque pagination token indicating where to continue the listing of datasets.