Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides a list of labels.
Synopsis
- data ListLabels = ListLabels' {}
- newListLabels :: Text -> ListLabels
- listLabels_equipment :: Lens' ListLabels (Maybe Text)
- listLabels_faultCode :: Lens' ListLabels (Maybe Text)
- listLabels_intervalEndTime :: Lens' ListLabels (Maybe UTCTime)
- listLabels_intervalStartTime :: Lens' ListLabels (Maybe UTCTime)
- listLabels_maxResults :: Lens' ListLabels (Maybe Natural)
- listLabels_nextToken :: Lens' ListLabels (Maybe Text)
- listLabels_labelGroupName :: Lens' ListLabels Text
- data ListLabelsResponse = ListLabelsResponse' {
- labelSummaries :: Maybe [LabelSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLabelsResponse :: Int -> ListLabelsResponse
- listLabelsResponse_labelSummaries :: Lens' ListLabelsResponse (Maybe [LabelSummary])
- listLabelsResponse_nextToken :: Lens' ListLabelsResponse (Maybe Text)
- listLabelsResponse_httpStatus :: Lens' ListLabelsResponse Int
Creating a Request
data ListLabels Source #
See: newListLabels
smart constructor.
ListLabels' | |
|
Instances
:: Text | |
-> 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.
ListLabelsResponse' | |
|
Instances
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.
listLabelsResponse_httpStatus :: Lens' ListLabelsResponse Int Source #
The response's http status code.