list_labels(**kwargs)¶Provides a list of labels.
See also: AWS API Documentation
Request Syntax
response = client.list_labels(
    LabelGroupName='string',
    IntervalStartTime=datetime(2015, 1, 1),
    IntervalEndTime=datetime(2015, 1, 1),
    FaultCode='string',
    Equipment='string',
    NextToken='string',
    MaxResults=123
)
[REQUIRED]
Retruns the name of the label group.
dict
Response Syntax
{
    'NextToken': 'string',
    'LabelSummaries': [
        {
            'LabelGroupName': 'string',
            'LabelId': 'string',
            'LabelGroupArn': 'string',
            'StartTime': datetime(2015, 1, 1),
            'EndTime': datetime(2015, 1, 1),
            'Rating': 'ANOMALY'|'NO_ANOMALY'|'NEUTRAL',
            'FaultCode': 'string',
            'Equipment': 'string',
            'CreatedAt': datetime(2015, 1, 1)
        },
    ]
}
Response Structure
(dict) --
NextToken (string) --
An opaque pagination token indicating where to continue the listing of datasets.
LabelSummaries (list) --
A summary of the items in the label group.
(dict) --
Information about the label.
LabelGroupName (string) --
The name of the label group.
LabelId (string) --
The ID of the label.
LabelGroupArn (string) --
The ARN of the label group.
StartTime (datetime) --
The timestamp indicating the start of the label.
EndTime (datetime) --
The timestamp indicating the end of the label.
Rating (string) --
Indicates whether a labeled event represents an anomaly.
FaultCode (string) --
Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
Equipment (string) --
Indicates that a label pertains to a particular piece of equipment.
CreatedAt (datetime) --
The time at which the label was created.
Exceptions
LookoutEquipment.Client.exceptions.ValidationExceptionLookoutEquipment.Client.exceptions.ThrottlingExceptionLookoutEquipment.Client.exceptions.AccessDeniedExceptionLookoutEquipment.Client.exceptions.InternalServerException