LookoutEquipment / Client / describe_label

describe_label#

LookoutEquipment.Client.describe_label(**kwargs)#

Returns the name of the label.

See also: AWS API Documentation

Request Syntax

response = client.describe_label(
    LabelGroupName='string',
    LabelId='string'
)
Parameters:
  • LabelGroupName (string) –

    [REQUIRED]

    Returns the name of the group containing the label.

  • LabelId (string) –

    [REQUIRED]

    Returns the ID of the label.

Return type:

dict

Returns:

Response Syntax

{
    'LabelGroupName': 'string',
    'LabelGroupArn': 'string',
    'LabelId': 'string',
    'StartTime': datetime(2015, 1, 1),
    'EndTime': datetime(2015, 1, 1),
    'Rating': 'ANOMALY'|'NO_ANOMALY'|'NEUTRAL',
    'FaultCode': 'string',
    'Notes': 'string',
    'Equipment': 'string',
    'CreatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • LabelGroupName (string) –

      The name of the requested label group.

    • LabelGroupArn (string) –

      The ARN of the requested label group.

    • LabelId (string) –

      The ID of the requested label.

    • StartTime (datetime) –

      The start time of the requested label.

    • EndTime (datetime) –

      The end time of the requested 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.

    • Notes (string) –

      Metadata providing additional information about 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.ValidationException

  • LookoutEquipment.Client.exceptions.ResourceNotFoundException

  • LookoutEquipment.Client.exceptions.ThrottlingException

  • LookoutEquipment.Client.exceptions.AccessDeniedException

  • LookoutEquipment.Client.exceptions.InternalServerException